Denizen Script Object Types


Object Types are the fundamental types of data passed around in a Denizen script, often seen as the return type of a tag.
Learn about how objects work in The Beginner's Guide.


Showing 1 out of 65 object types...
NameColorTag
Prefix[email protected]
Base TypeElementTag
Identity FormatThe identity format for colors is <red>,<green>,<blue> or the name of a color.
For example, '[email protected],64,128' or '[email protected]'.
DescriptionA ColorTag represents an RGB color code.

Note that a ColorTag is NOT a base dye color (used by wool, etc). That is handled by a separate naming system.

Constructing a ColorTag also accepts 'random' to pick a random RGB color, or hex code like '#FF00FF', or valid minecraft chat color codes (hex or historical codes).

A list of accepted color names can be found at Tag:server.color_names.

Red/green/blue values are each from 0 to 255.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ColorTag.java#L21