Name | <&[<custom_color_name>]> |
Returns | ElementTag |
Description | Returns a custom color value based on the common base color names defined in the Denizen config file.
If the color name is unrecognized, returns the value of color named 'default'. Default color names are 'base', 'emphasis', 'warning', 'error'. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/CustomColorTagBase.java#L42 |
Name | <&0> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Black. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L341 |
Name | <&1> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Blue. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L348 |
Name | <&2> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Green. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L355 |
Name | <&3> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Cyan. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L362 |
Name | <&4> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Red. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L369 |
Name | <&5> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Magenta. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L376 |
Name | <&6> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Gold. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L383 |
Name | <&7> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Light Gray. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L390 |
Name | <&8> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Gray. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L397 |
Name | <&9> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Light Blue. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L404 |
Name | <&a> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Light Green. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L411 |
Name | <&at> |
Returns | ElementTag |
Description | Returns a at symbol: @ |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L19 |
Name | <&b> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Cyan. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L418 |
Name | <&bs> |
Returns | ElementTag |
Description | Returns a backslash symbol: \ |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L148 |
Name | <&c> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Light Red. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L425 |
Name | <&chr[<character>]> |
Returns | ElementTag |
Description | Returns the Unicode character specified. e.g. <&chr[2665]> returns a heart. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L156 |
Name | <&click[<click_command>]> |
Returns | ElementTag |
Description | Returns a special chat code that makes the following text execute the input command line value when clicked.
To execute a command "/" should be used at the start. Otherwise, it will display as chat. This tag must be followed by an <&end_click> tag. For example: - narrate "You can <&click[wow]>click here<&end_click> to say wow!" For example: - narrate "You can <&click[/help]>click here<&end_click> for help!" Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L66 |
Name | <&click[<click_command>].type[<type>]> |
Returns | ElementTag |
Description | Returns a special chat code that makes the following text execute the input command when clicked.
This tag must be followed by an <&end_click> tag. Available command types: OPEN_URL, OPEN_FILE, RUN_COMMAND, SUGGEST_COMMAND, COPY_TO_CLIPBOARD, or CHANGE_PAGE. For example: - narrate "You can <&click[https://denizenscript.com].type[OPEN_URL]>click here<&end_click> to learn about Denizen!" Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L83 |
Name | <&co> |
Returns | ElementTag |
Description | Returns a colon symbol: : |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L84 |
Name | <&color[<color>]> |
Returns | ElementTag |
Description | Returns a chat code that makes the following text be the specified color.
Color can be a color name, color code, hex, or ColorTag... that is: "&color[gold]", "&color[6]", and "&color[#AABB00]" are all valid. The ColorTag input option can be used for dynamic color effects, such as automatic rainbows. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L243 |
Name | <&d> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Magenta. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L432 |
Name | <&dq> |
Returns | ElementTag |
Description | Returns a double-quote symbol: " |
Generated Example |
|
Synonyms (Search Aid) | "e |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L75 |
Name | <&e> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Yellow. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L439 |
Name | <&end_click> |
Returns | ElementTag |
Description | Returns a special chat code that ends a '&click' tag.
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L118 |
Name | <&end_hover> |
Returns | ElementTag |
Description | Returns a special chat code that ends a '&hover' tag.
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L129 |
Name | <&end_insertion> |
Returns | ElementTag |
Description | Returns a special chat code that ends an '&insertion' tag.
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L140 |
Name | <&f> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters White. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L446 |
Name | <&font[<font>]> |
Returns | ElementTag |
Description | Returns a chat code that makes the following text display with the specified font.
The default font is "minecraft:default". Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L312 |
Name | <&gradient[from=<color>;to=<color>;(style={RGB}/HSB)]> |
Returns | ElementTag |
Description | Returns a chat code that makes the following text be the specified color.
Input works equivalently to ElementTag.color_gradient, return to that tag for more documentation detail and input examples. The gradient runs from whatever text is after this gradient, until the next color tag (0-9, a-f, 'r' reset, or an RGB code. Does not get stop at formatting codes, they will be included in the gradient). Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L287 |
Name | <>> |
Returns | ElementTag |
Description | Returns a greater than symbol: > |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L140 |
Name | <&hover[<hover_text>]> |
Returns | ElementTag |
Description | Returns a special chat code that makes the following text display the input hover text when the mouse is left over it.
This tag must be followed by an <&end_hover> tag. For example: - narrate "There is a <&hover[you found it!]>secret<&end_hover> in this message!" Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L32 |
Name | <&hover[<hover_text>].type[<type>]> |
Returns | ElementTag |
Description | Returns a special chat code that makes the following text display the input hover text when the mouse is left over it.
This tag must be followed by an <&end_hover> tag. Available hover types: SHOW_TEXT, SHOW_ACHIEVEMENT, SHOW_ITEM, or SHOW_ENTITY. For example: - narrate "There is a <&hover[you found it!].type[SHOW_TEXT]>secret<&end_hover> in this message!" Note: for "SHOW_ITEM", replace the text with a valid ItemTag. For "SHOW_ENTITY", replace the text with a valid spawned EntityTag (requires F3+H to see entities). Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L47 |
Name | <&insertion[<message>]> |
Returns | ElementTag |
Description | Returns a special chat code that makes the following text insert the input message to chat when shift-clicked.
This tag must be followed by an <&end_insertion> tag. For example: - narrate "You can <&insertion[wow]>click here<&end_insertion> to add 'wow' to your chat!" Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L101 |
Name | <&k> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters obfuscated. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L453 |
Name | <&keybind[<key>]> |
Returns | ElementTag |
Description | Returns a special chat code that displays a keybind.
For example: - narrate "Press your <&keybind[key.jump]> key!" Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L151 |
Name | <&l> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters bold. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L460 |
Name | <&lb> |
Returns | ElementTag |
Description | Returns a left-bracket symbol: [ |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L100 |
Name | <&lc> |
Returns | ElementTag |
Description | Returns a left-brace symbol: { |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L116 |
Name | <<> |
Returns | ElementTag |
Description | Returns a less than symbol: < |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L132 |
Name | <&m> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters have a strike-through. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L467 |
Name | <&n> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters have an underline. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L474 |
Name | < > |
Returns | ElementTag |
Description | Returns a non-breaking space symbol. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L67 |
Name | <&nl> |
Returns | ElementTag |
Description | Returns a newline symbol. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L35 |
Name | <&ns> |
Returns | ElementTag |
Description | Returns a number sign / hash / pound symbol: # |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L124 |
Name | <&o> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters italicized. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L481 |
Name | <&optimize> |
Returns | ElementTag |
Description | Returns a chat code that tells the formatted text parser to try to produce mininalist JSON text.
This is useful in particular for very long text or where text is being sent rapidly/repeatedly. It is not needed in most normal messages. It will produce incompatibility issues if used in items or other locations where raw JSON matching is required. Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L327 |
Name | <&pc> |
Returns | ElementTag |
Description | Returns a percent symbol: % |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L27 |
Name | <&r> |
Returns | ElementTag |
Description | Returns the ChatColor that resets the following characters to normal. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L488 |
Name | <&rb> |
Returns | ElementTag |
Description | Returns a right-bracket symbol: ] |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L92 |
Name | <&rc> |
Returns | ElementTag |
Description | Returns a right-brace symbol: } |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L108 |
Name | <&score[<name>|<objective>(|<value>)]> |
Returns | ElementTag |
Description | Returns a special chat code that displays a scoreboard entry. Input is an escaped list of:
Name of the relevant entity, name of the objective, then optionally a value (if unspecified, will use current scoreboard value). Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L220 |
Name | <&selector[<key>]> |
Returns | ElementTag |
Description | Returns a special chat code that displays a vanilla selector.
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L167 |
Name | <&sp> |
Returns | ElementTag |
Description | Returns a space symbol. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L59 |
Name | <&sq> |
Returns | ElementTag |
Description | Returns a single-quote symbol: ' |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L51 |
Name | <&ss> |
Returns | ElementTag |
Description | Returns an internal coloring symbol: § |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L43 |
Name | <&translate[<key>]> |
Returns | ElementTag |
Description | Returns a special chat code that displays an autotranslated message.
For example: - narrate "Reward: <&translate[item.minecraft.diamond_sword]>" Be warned that language keys change between Minecraft versions. Note that this is a magic Denizen tool - refer to Denizen Text Formatting. You can use ElementTag.strip_color to convert the translated output to plain text (pre-translated). |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L182 |
Name | <&translate[<key>].with[<text>|...]> |
Returns | ElementTag |
Description | Returns a special chat code that displays an autotranslated message.
Optionally, specify a list of escaped text values representing input data for the translatable message. Be aware that missing 'with' values will cause exceptions in your console. For example: - narrate "<&translate[commands.give.success.single].with[32|<&translate[item.minecraft.diamond_sword].escaped>|<player.name.escaped>]>" Be warned that language keys change between Minecraft versions. Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L198 |
Name | <aqua> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Cyan. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L572 |
Name | <binary[<binary>]> |
Returns | BinaryTag |
Description | Returns a BinaryTag constructed from the input binary data in hexadecimal format.
Refer to BinaryTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/ObjectFetcher.java#L72 |
Name | <biome[<biome>]> |
Returns | BiomeTag |
Description | Returns a biome object constructed from the input value.
Refer to BiomeTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L121 |
Name | <black> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Black. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L495 |
Name | <blue> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Light Blue. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L558 |
Name | <bold> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters bold. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L614 |
Name | <chunk[<chunk>]> |
Returns | ChunkTag |
Description | Returns a chunk object constructed from the input value.
Refer to ChunkTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L130 |
Name | <color[<color>]> |
Returns | ColorTag |
Description | Returns a color object constructed from the input value.
Refer to ColorTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/ObjectFetcher.java#L81 |
Name | <cuboid[<cuboid>]> |
Returns | CuboidTag |
Description | Returns a cuboid object constructed from the input value.
Refer to CuboidTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L139 |
Name | <custom_object[<custom-object>]> |
Returns | CustomObjectTag |
Description | Returns a custom object constructed from the input value.
Refer to CustomObjectTag. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/ObjectFetcher.java#L90 |
Name | <dark_aqua> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Cyan. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L516 |
Name | <dark_blue> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Blue. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L502 |
Name | <dark_gray> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Gray. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L551 |
Name | <dark_green> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Green. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L509 |
Name | <dark_purple> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Magenta. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L530 |
Name | <dark_red> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Dark Red. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L523 |
Name | <definition[<name>]> |
Returns | ObjectTag |
Description | Returns a definition from the current queue.
The object will be returned as the most-valid type based on the input. In most usages, the tag name is left blank, like "<[defhere]>". You can use "." in a definition name to read a submapped key if the root definition is a MapTag. |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/DefinitionTagBase.java#L14 |
Name | <duration[<duration>]> |
Returns | DurationTag |
Description | Returns a duration object constructed from the input value.
Refer to DurationTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/ObjectFetcher.java#L99 |
Name | <element[<element>]> |
Returns | ElementTag |
Description | Returns an element constructed from the input value.
Refer to ElementTag. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/ObjectFetcher.java#L108 |
Name | <ellipsoid[<ellipsoid>]> |
Returns | EllipsoidTag |
Description | Returns an ellipsoid object constructed from the input value.
Refer to EllipsoidTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L148 |
Name | <empty> |
Returns | ElementTag |
Description | Returns an empty element. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L11 |
Name | <enchantment[<enchantment>]> |
Returns | EnchantmentTag |
Description | Returns an enchantment object constructed from the input value.
Refer to EnchantmentTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L157 |
Name | <entity[<entity>]> |
Returns | EntityTag |
Description | Returns an entity object constructed from the input value.
Refer to EntityTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L166 |
Name | <gold> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Gold. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L537 |
Name | <gray> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Light Gray. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L544 |
Name | <green> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Light Green. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L565 |
Name | <inventory[<inventory>]> |
Returns | InventoryTag |
Description | Returns an inventory object constructed from the input value.
Refer to InventoryTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L228 |
Name | <italic> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters italicized. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L635 |
Name | <item[<item>]> |
Returns | ItemTag |
Description | Returns an item object constructed from the input value.
Refer to ItemTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L238 |
Name | <light_purple> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Magenta. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L586 |
Name | <list[(<list>)]> |
Returns | ListTag |
Description | Returns a list object constructed from the input value.
Give no input to create an empty list. Refer to ListTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/ListTagBase.java#L10 |
Name | <list_single[<object>]> |
Returns | ListTag |
Description | Returns a ListTag object with exactly 1 entry: whatever the input value is (even if that input is a list).
This is primarily useful for creating lists-within-lists. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/ListSingleTagBase.java#L11 |
Name | <location[<location>]> |
Returns | LocationTag |
Description | Returns a location object constructed from the input value.
Refer to LocationTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L248 |
Name | <magic> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters obfuscated. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L607 |
Name | <map[(<map>)]> |
Returns | MapTag |
Description | Returns a map object constructed from the input value.
Give no input to create an empty map. Refer to MapTag. For example: <map[a=1;b=2;c=3]> |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/MapTagBase.java#L10 |
Name | <material[<material>]> |
Returns | MaterialTag |
Description | Returns a material object constructed from the input value.
Refer to MaterialTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L257 |
Name | <n> |
Returns | ElementTag |
Description | Returns a newline symbol. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/CoreTextTagBases.java#L164 |
Name | <npc[(<npc>)]> |
Returns | NPCTag |
Description | Returns an npc object constructed from the input value.
Refer to NPCTag. If no input value is specified, returns the linked NPC. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/NPCTagBase.java#L45 |
Name | <p> |
Returns | ElementTag |
Description | Returns a paragraph, for use in books. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L24 |
Name | <player[(<player>)]> |
Returns | PlayerTag |
Description | Returns a player object constructed from the input value.
Refer to PlayerTag. If no input value is specified, returns the linked player. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/PlayerTagBase.java#L20 |
Name | <plugin[<plugin>]> |
Returns | PluginTag |
Description | Returns a plugin object constructed from the input value.
Refer to PluginTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L330 |
Name | <polygon[<polygon>]> |
Returns | PolygonTag |
Description | Returns a polygon object constructed from the input value.
Refer to PolygonTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L339 |
Name | <proc[<procedure_script_name>]> |
Returns | ObjectTag |
Description | Returns the 'determine' result of a procedure script. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/ProcedureScriptTagBase.java#L29 |
Name | <quaternion[<quaternion>]> |
Returns | QuaternionTag |
Description | Returns a QuaternionTag object constructed from the input value.
Refer to QuaternionTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/ObjectFetcher.java#L156 |
Name | <queue[(<queue>)]> |
Returns | QueueTag |
Description | Returns a queue object constructed from the input value.
Refer to QueueTag. If no input is given, returns the current queue. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/QueueTagBase.java#L18 |
Name | <red> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Light Red. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L579 |
Name | <reflected[<reflected-tag>]> |
Returns | JavaReflectedObjectTag |
Description | Returns a JavaReflectedObjectTag constructed from the input reference ID lookup.
Refer to JavaReflectedObjectTag. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/ObjectFetcher.java#L119 |
Name | <reset> |
Returns | ElementTag |
Description | Returns the ChatColor that resets the following characters to normal. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L642 |
Name | <script[(<script>)]> |
Returns | ScriptTag |
Description | Returns a script object constructed from the input value.
If no input is given, will return the current script that the tag is within. Refer to ScriptTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/ScriptTagBase.java#L10 |
Name | <secret[<secret>]> |
Returns | SecretTag |
Description | Returns a SecretTag object constructed from the input value.
Refer to SecretTag. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/ObjectFetcher.java#L171 |
Name | <static[<tagged-value>]> |
Returns | ObjectTag |
Description | Forces the tag inside to static-parse.
That is, any value, no matter how dynamic, will parse only exactly once at reload time. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/tags/core/StaticTagBase.java#L10 |
Name | <strikethrough> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters have a strike-through. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L621 |
Name | <time[<time>]> |
Returns | TimeTag |
Description | Returns a time object constructed from the input value.
Refer to TimeTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/ObjectFetcher.java#L182 |
Name | <trade[<trade>]> |
Returns | TradeTag |
Description | Returns a trade object constructed from the input value.
Refer to TradeTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L348 |
Name | <underline> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters have an underline. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L628 |
Name | <white> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters White. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L600 |
Name | <world[<world>]> |
Returns | WorldTag |
Description | Returns a world object constructed from the input value.
Refer to WorldTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/utilities/CommonRegistries.java#L358 |
Name | <yellow> |
Returns | ElementTag |
Description | Returns the ChatColor that makes the following characters Yellow. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/tags/core/TextTagBase.java#L593 |
Name | <bigdoor[<door>]> |
Returns | BigDoorsDoorTag |
Description | Returns a BigDoorsDoorTag object constructed from the input value.
Refer to BigDoorsDoorTag. |
Requires | Depenizen, Big Doors |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/BigDoorsBridge.java#L32 |
Name | <discord[<bot-id>]> |
Returns | DiscordBotTag |
Description | Returns the Discord bot for the given bot ID. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L116 |
Name | <discord_bots> |
Returns | ListTag(DiscordBotTag) |
Description | Returns a list of all Discord bots currently loaded in dDiscordBot. |
Generated Example |
|
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L101 |
Name | <discord_button[(<button>)]> |
Returns | DiscordButtonTag |
Description | Returns a blank DiscordButtonTag instance, to be filled with data via the with.as tag.
Or, if given an input, returns a Discord Button object constructed from the input value. Refer to DiscordButtonTag. |
Generated Example |
|
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L131 |
Name | <discord_channel[<channel>]> |
Returns | DiscordChannelTag |
Description | Returns a Discord Channel object constructed from the input value.
Refer to DiscordChannelTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L147 |
Name | <discord_command[<command>]> |
Returns | DiscordCommandTag |
Description | Returns a Discord Command object constructed from the input value.
Refer to DiscordCommandTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L163 |
Name | <discord_embed[(<embed>)]> |
Returns | DiscordEmbedTag |
Description | Returns a blank DiscordEmbedTag instance, to be filled with data via the with.as tag.
Or, if given an input, returns a Discord Embed object constructed from the input value. Refer to DiscordEmbedTag. |
Generated Example |
|
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L179 |
Name | <discord_group[<group>]> |
Returns | DiscordGroupTag |
Description | Returns a Discord Group object constructed from the input value.
Refer to DiscordGroupTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L195 |
Name | <discord_interaction[<interaction>]> |
Returns | DiscordInteractionTag |
Description | Returns a Discord Interaction object constructed from the input value.
Refer to DiscordInteractionTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L211 |
Name | <discord_message[<message>]> |
Returns | DiscordMessageTag |
Description | Returns a Discord Message object constructed from the input value.
Refer to DiscordMessageTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L227 |
Name | <discord_reaction[<reaction>]> |
Returns | DiscordReactionTag |
Description | Returns a Discord Reaction object constructed from the input value.
Refer to DiscordReactionTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L243 |
Name | <discord_role[<role>]> |
Returns | DiscordRoleTag |
Description | Returns a Discord Role object constructed from the input value.
Refer to DiscordRoleTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L259 |
Name | <discord_selection[(<menu>)]> |
Returns | DiscordSelectionTag |
Description | Returns a blank DiscordSelectionTag instance, to be filled with data via the with.as tag.
Or, if given an input, returns a Discord Selection object constructed from the input value. Refer to DiscordSelectionTag. |
Generated Example |
|
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L275 |
Name | <discord_text_input[(<button>)]> |
Returns | DiscordTextInputTag |
Description | Returns a blank DiscordTextInputTag instance, to be filled with data via the with.as tag.
Or, if given an input, returns a Discord TextInput object constructed from the input value. Refer to DiscordTextInputTag. |
Generated Example |
|
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L291 |
Name | <discord_user[<user>]> |
Returns | DiscordUserTag |
Description | Returns a Discord User object constructed from the input value.
Refer to DiscordUserTag. |
Requires | dDiscordBot |
Source | https://github.com/DenizenScript/dDiscordBot/blob/master/src/main/java/com/denizenscript/ddiscordbot/DenizenDiscordBot.java#L307 |
Name | <faction[<name>]> |
Returns | FactionTag |
Description | Returns the faction for the input name. |
Requires | Depenizen, Factions |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/FactionsBridge.java#L49 |
Name | <jobs> |
Returns | ListTag(JobsJobTag) |
Description | Returns the list of all jobs on the server. |
Generated Example |
|
Requires | Depenizen, Jobs |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/JobsBridge.java#L37 |
Name | <jobs_job[<name>]> |
Returns | JobsJobTag |
Description | Returns the job tag with the given name. |
Requires | Depenizen, Jobs |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/JobsBridge.java#L52 |
Name | <luckperms_group[<name>]> |
Returns | LuckPermsGroupTag |
Description | Returns the luckperms group tag with the given name. |
Requires | Depenizen, LuckPerms |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/LuckPermsBridge.java#L73 |
Name | <mobarena[<name>]> |
Returns | MobArenaArenaTag |
Description | Returns the mob arena for the input name. |
Requires | Depenizen, MobArena |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/MobArenaBridge.java#L47 |
Name | <mythic_item[<name>]> |
Returns | ItemTag |
Description | Returns an ItemTag of the named mythic item. |
Requires | Depenizen, MythicMobs |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/MythicMobsBridge.java#L94 |
Name | <mythicmob[<name>]> |
Returns | MythicMobsMobTag |
Description | Returns a MythicMobsMobTag based on the name input.
Refer to MythicMobsMobTag. |
Requires | Depenizen, MythicMobs |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/MythicMobsBridge.java#L116 |
Name | <mythicspawner[<name>]> |
Returns | MythicSpawnerTag |
Description | Returns a MythicSpawnerTag based on the name input.
Refer to MythicSpawnerTag. |
Requires | Depenizen, MythicMobs |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/MythicMobsBridge.java#L132 |
Name | <nation[<name>]> |
Returns | NationTag |
Description | Returns the nation by the input name. |
Requires | Depenizen, Towny |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/TownyBridge.java#L142 |
Name | <party[<party>]> |
Returns | PartyTag |
Description | Returns a party object constructed from the input value.
Refer to PartyTag. |
Requires | Depenizen, mcMMO |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/McMMOBridge.java#L48 |
Name | <placeholder[<name>]> |
Returns | ElementTag |
Description | Returns the value of the placeholder.
For example, <placeholder[server_name]> Note that you do not need to include the "%" marks on the placeholder. The queue's linked player, if any, will be linked to the placeholder as well for any player-specific placeholder usage. Note: this should generally only be used for reading values from other plugins not already supported by Depenizen. This should not be used for cases where a Denizen tag already exists, or should exist. |
Requires | Depenizen, PlaceholderAPI |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/PlaceholderAPIBridge.java#L53 |
Name | <pvparena[<name>]> |
Returns | PVPArenaArenaTag |
Description | Returns the PVPArena by the input name. |
Requires | Depenizen, PVPArena |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/PVPArenaBridge.java#L43 |
Name | <region[<region>]> |
Returns | WorldGuardRegionTag |
Description | Returns a WorldGuard region object constructed from the input value.
Refer to WorldGuardRegionTag. |
Requires | Depenizen, WorldGuard |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/WorldGuardBridge.java#L37 |
Name | <residence[<name>]> |
Returns | ResidenceTag |
Description | Returns a residence object constructed from the input value.
Refer to ResidenceTag. |
Requires | Depenizen, Residence |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/ResidenceBridge.java#L16 |
Name | <town[<name>]> |
Returns | TownTag |
Description | Returns the town by the input name. |
Requires | Depenizen, Towny |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/bridges/TownyBridge.java#L114 |
Name | <AreaObject.blocks[(<matcher>)]> |
Returns | ListTag(LocationTag) |
Description | Returns each block location within the area.
Optionally, specify a material matcher to only return locations with that block type. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L224 |
Name | <AreaObject.blocks_flagged[<flag_name>]> |
Returns | ListTag(LocationTag) |
Description | Gets a list of all block locations with a specified flag within the area.
Searches the internal flag lists, rather than through all possible blocks. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L275 |
Name | <AreaObject.bounding_box> |
Returns | CuboidTag |
Description | Returns a cuboid approximately representing the maximal bounding box of the area (anything this cuboid does not contain, is also not contained by the area, but not vice versa).
For single-member CuboidTags, this tag returns a copy of the cuboid. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L93 |
Name | <AreaObject.contains[<location>]> |
Returns | ElementTag(Boolean) |
Description | Returns a boolean indicating whether the specified location is inside this area. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L208 |
Name | <AreaObject.entities[(<matcher>)]> |
Returns | ListTag(EntityTag) |
Description | Gets a list of all entities currently within the area, with an optional search parameter for the entity. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L163 |
Name | <AreaObject.is_within[<cuboid>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this area is fully inside another cuboid. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L303 |
Name | <AreaObject.living_entities> |
Returns | ListTag(EntityTag) |
Description | Gets a list of all living entities currently within the area.
This includes Players, mobs, NPCs, etc., but excludes dropped items, experience orbs, etc. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L187 |
Name | <AreaObject.npcs> |
Returns | ListTag(NPCTag) |
Description | Gets a list of all NPCs currently within the area. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L140 |
Name | <AreaObject.players> |
Returns | ListTag(PlayerTag) |
Description | Gets a list of all players currently within the area. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L120 |
Name | <AreaObject.shell> |
Returns | ListTag(LocationTag) |
Description | Returns each block location on the 3D outer shell of the area.
This tag is useful for displaying particles or blocks to mark the boundary of the area. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L289 |
Name | <AreaObject.spawnable_blocks[(<matcher>)]> |
Returns | ListTag(LocationTag) |
Description | Returns each LocationTag within the area that is safe for players or similar entities to spawn in.
Optionally, specify a material matcher to only return locations with that block type. Uses the same spawnable check as LocationTag.is_spawnable |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L249 |
Name | <AreaObject.with_world[<world>]> |
Returns | AreaObject |
Description | Returns a copy of the area, with the specified world. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L345 |
Name | <AreaObject.world> |
Returns | WorldTag |
Description | Returns the area's world. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/AreaContainmentObject.java#L108 |
Name | <BinaryTag.decode_integer> |
Returns | ElementTag(Number) |
Description | Returns the integer number represented by this binary data.
Data must be 1, 2, 4, or 8 bytes long. Uses big-endian twos-complement format. See also ElementTag.integer_to_binary |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L233 |
Name | <BinaryTag.gzip_compress> |
Returns | BinaryTag |
Description | Returns the binary data, compressed via gzip.
See also BinaryTag.gzip_decompress |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L265 |
Name | <BinaryTag.gzip_decompress> |
Returns | BinaryTag |
Description | Returns the binary data, compressed via gzip.
See also BinaryTag.gzip_compress |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L282 |
Name | <BinaryTag.hash[<format>]> |
Returns | BinaryTag |
Description | Returns the raw binary hash of the binary data, using the given hashing algorithm.
Algorithm can be "MD5", "SHA-1", "SHA-256", or any other algorithm supported by your Java runtime environment per https://docs.oracle.com/javase/8/docs/api/java/security/MessageDigest.html. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L333 |
Name | <BinaryTag.hmac[type=<type>;key=<secret>]> |
Returns | BinaryTag |
Description | Returns the raw binary HMAC ("hash-based message authentication code") of the binary data, using the given HMAC algorithm and key.
Type can be "HmacMD5", "HmacSHA1", "HmacSHA256", or any other algorithm supported by your Java runtime environment per https://docs.oracle.com/javase/8/docs/api/javax/crypto/Mac.html. Key can be a SecretTag, BinaryTag, or ElementTag. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L355 |
Name | <BinaryTag.length> |
Returns | ElementTag(Number) |
Description | Returns the number of bytes in this BinaryTag. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L155 |
Name | <BinaryTag.text_decode[<encoding>]> |
Returns | ElementTag |
Description | Returns the raw text represented by this binary data, decoding using the specified encoding method.
Input can be for example "utf-8" or "iso-8859-1". See also ElementTag.text_encode |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L212 |
Name | <BinaryTag.to_base64> |
Returns | ElementTag |
Description | Returns a base64 encoding of the binary data.
See also ElementTag.base64_to_binary |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L181 |
Name | <BinaryTag.to_hex> |
Returns | ElementTag |
Description | Returns a flat hexadecimal encoding of the binary data. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L168 |
Name | <BinaryTag.utf8_decode> |
Returns | ElementTag |
Description | Returns the raw text represented by this binary data, decoding using the standard UTF-8 encoding.
See also ElementTag.utf8_encode |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L198 |
Name | <BinaryTag.zlib_compress> |
Returns | BinaryTag |
Description | Returns the binary data, compressed via zlib.
See also BinaryTag.zlib_decompress |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L299 |
Name | <BinaryTag.zlib_decompress> |
Returns | BinaryTag |
Description | Returns the binary data, compressed via zlib.
See also BinaryTag.zlib_compress |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L316 |
Name | <BinaryTag.nbt_to_map> |
Returns | MapTag |
Description | Converts raw NBT binary data to a MapTag.
This under some circumstances might not return a map, depending on the underlying data. Refer to Raw NBT Encoding |
Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitBinaryTagExtensions.java#L16 |
Name | <BiomeTag.base_temperature> |
Returns | ElementTag(Decimal) |
Mechanism | BiomeTag.base_temperature |
Description | Returns the base temperature of this biome, which is used for per-location temperature calculations (see BiomeTag.temperature_at). |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L220 |
Name | <BiomeTag.downfall_at[<location>]> |
Returns | ElementTag |
Description | Returns this biome's downfall type at a location (for when a world has weather).
This can be RAIN, SNOW, or NONE. Generally LocationTag.downfall_type should be preferred, other than some special cases. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L312 |
Name | <BiomeTag.downfall_type> |
Returns | ElementTag |
Mechanism | BiomeTag.downfall_type |
Description | Deprecated in favor of BiomeTag.downfall_at on 1.19+, as downfall is block-specific now.
Returns this biome's downfall type for when a world has weather. This can be RAIN, SNOW, or NONE. |
Example |
|
Deprecated | Minecraft changed the way biome downfall works, use BiomeTag.downfall_at on 1.19+. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L173 |
Name | <BiomeTag.fog_color> |
Returns | ColorTag |
Mechanism | BiomeTag.fog_color |
Description | Returns the biome's fog color, which is visible when outside water (see also BiomeTag.water_fog_color). |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L344 |
Name | <BiomeTag.foliage_color> |
Returns | ColorTag |
Mechanism | BiomeTag.foliage_color |
Description | Returns the approximate foliage color of this biome. Foliage includes leaves and vines.
The "swamp", "mangrove_swamp", "badlands", "wooded_badlands", and "eroded_badlands" biomes are the only biomes with hard-coded foliage colors. Biomes with no set foliage color already will have their foliage colors based on temperature and humidity of the biome. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L281 |
Name | <BiomeTag.has_downfall> |
Returns | ElementTag(Boolean) |
Mechanism | BiomeTag.has_downfall |
Description | Returns whether the biome has downfall (rain/snow). |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L327 |
Name | <BiomeTag.humidity> |
Returns | ElementTag(Decimal) |
Mechanism | BiomeTag.humidity |
Description | Returns the humidity of this biome. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L206 |
Name | <BiomeTag.name> |
Returns | ElementTag |
Description | Returns this biome's name. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L193 |
Name | <BiomeTag.spawnable_entities[(<type>)]> |
Returns | ListTag |
Description | Returns all entities that spawn naturally in this biome.
Optionally specify a type as: AMBIENT, CREATURES, MONSTERS, WATER, or ALL. (By default, will be "ALL"). |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L234 |
Name | <BiomeTag.temperature_at[<location>]> |
Returns | ElementTag(Decimal) |
Description | Returns the temperature of a specific location in this biome.
If this is less than 0.15, snow will form on the ground when weather occurs in the world and a layer of ice will form over water. Generally LocationTag.temperature should be preferred, other than some special cases. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L296 |
Name | <BiomeTag.water_fog_color> |
Returns | ColorTag |
Mechanism | BiomeTag.water_fog_color |
Description | Returns the biome's water fog color, which is visible when underwater (see also BiomeTag.fog_color). |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/BiomeTag.java#L358 |
Name | <ChunkTag.add[<#>,<#>]> |
Returns | ChunkTag |
Description | Returns the chunk with the specified coordinates added to it. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L263 |
Name | <ChunkTag.average_height> |
Returns | ElementTag(Decimal) |
Description | Returns the average height of the blocks in the chunk. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L603 |
Name | <ChunkTag.blocks_flagged[<flag_name>]> |
Returns | ListTag(LocationTag) |
Description | Gets a list of all block locations with a specified flag within the CuboidTag.
Searches the internal flag lists, rather than through all possible blocks. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L688 |
Name | <ChunkTag.cuboid> |
Returns | CuboidTag |
Description | Returns a cuboid of this chunk. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L434 |
Name | <ChunkTag.entities[(<entity>|...)]> |
Returns | ListTag(EntityTag) |
Description | Returns a list of entities in the chunk.
Optionally specify entity types to filter down to. |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L481 |
Name | <ChunkTag.force_loaded> |
Returns | ElementTag(Boolean) |
Mechanism | ChunkTag.force_loaded |
Description | Returns whether the chunk is forced to stay loaded at all times. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L348 |
Name | <ChunkTag.height_map> |
Returns | ListTag |
Description | Returns a list of the height of each block in the chunk. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L581 |
Name | <ChunkTag.inhabited_time> |
Returns | DurationTag |
Mechanism | ChunkTag.inhabited_time |
Description | Returns the total time the chunk has been inhabited for.
This is a primary deciding factor in the "local difficulty" setting. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L730 |
Name | <ChunkTag.is_flat[(<#>)]> |
Returns | ElementTag(Boolean) |
Description | Scans the heights of the blocks to check variance between them.
If no number is supplied, is_flat will return true if all the blocks are less than 2 blocks apart in height. Specifying a number will modify the number criteria for determining if it is flat. |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L625 |
Name | <ChunkTag.is_generated> |
Returns | ElementTag(Boolean) |
Description | Returns true if the chunk has already been generated. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L315 |
Name | <ChunkTag.is_loaded> |
Returns | ElementTag(Boolean) |
Description | Returns true if the chunk is currently loaded into memory. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L332 |
Name | <ChunkTag.living_entities> |
Returns | ListTag(EntityTag) |
Description | Returns a list of living entities in the chunk.
This includes Players, mobs, NPCs, etc., but excludes dropped items, experience orbs, etc. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L526 |
Name | <ChunkTag.players> |
Returns | ListTag(PlayerTag) |
Description | Returns a list of players in the chunk. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L557 |
Name | <ChunkTag.plugin_tickets> |
Returns | ListTag(PluginTag) |
Mechanism | ChunkTag.clear_plugin_tickets |
Description | Returns a list of plugins that are keeping this chunk loaded.
This is related to the chunkload command. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L368 |
Name | <ChunkTag.spawn_slimes> |
Returns | ElementTag(Boolean) |
Description | Returns whether the chunk is a specially located 'slime spawner' chunk. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L711 |
Name | <ChunkTag.sub[<#>,<#>]> |
Returns | ChunkTag |
Description | Returns the chunk with the specified coordinates subtracted from it. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L289 |
Name | <ChunkTag.surface_blocks> |
Returns | ListTag(LocationTag) |
Description | Returns a list of the highest non-air surface blocks in the chunk. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L663 |
Name | <ChunkTag.tile_entities> |
Returns | ListTag(LocationTag) |
Description | Returns a list of tile entity locations in the chunk. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L454 |
Name | <ChunkTag.world> |
Returns | WorldTag |
Description | Returns the world associated with the chunk. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L420 |
Name | <ChunkTag.x> |
Returns | ElementTag(Number) |
Description | Returns the x coordinate of the chunk. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L392 |
Name | <ChunkTag.z> |
Returns | ElementTag(Number) |
Description | Returns the z coordinate of the chunk. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ChunkTag.java#L406 |
Name | <ColorTag.alpha> |
Returns | ElementTag(Number) |
Description | Returns the alpha value of this color (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L344 |
Name | <ColorTag.argb_integer> |
Returns | ElementTag(Number) |
Description | Returns the Alpha, Red, Green, and Blue values of this ColorTag as an integer number, equivalent to an integer reparse of ColorTag.hex.
Highest order bits are alpha, then red, then green, then lowest is blue. This is a rare special case encoding usually avoided by most systems, but may be necessary for some obscure tools. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L293 |
Name | <ColorTag.blue> |
Returns | ElementTag(Number) |
Description | Returns the blue value of this color (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L331 |
Name | <ColorTag.brightness> |
Returns | ElementTag(Number) |
Description | Returns the brightness value of this color (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L409 |
Name | <ColorTag.green> |
Returns | ElementTag(Number) |
Description | Returns the green value of this color (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L318 |
Name | <ColorTag.hex> |
Returns | ElementTag |
Description | Returns a hex code formatting of this color. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L263 |
Name | <ColorTag.hsv> |
Returns | ElementTag |
Description | Returns the HSV value of this color. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L422 |
Name | <ColorTag.hue> |
Returns | ElementTag(Number) |
Description | Returns the hue value of this color (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L383 |
Name | <ColorTag.mix[<color>]> |
Returns | ColorTag |
Description | Returns the color that results if you mix this color with another. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L549 |
Name | <ColorTag.name> |
Returns | ElementTag |
Description | Returns the name of this color (or red,green,blue if none). |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L533 |
Name | <ColorTag.red> |
Returns | ElementTag(Number) |
Description | Returns the red value of this color (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L305 |
Name | <ColorTag.rgb> |
Returns | ElementTag |
Description | Returns the RGB value of this color. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L357 |
Name | <ColorTag.rgb_integer> |
Returns | ElementTag(Number) |
Description | Returns the Red, Green, and Blue values of this ColorTag as an integer number, equivalent to an integer reparse of ColorTag.hex.
Highest order bits are red, then green, then lowest is blue. This is a rare special case encoding usually avoided by most systems, but may be necessary for some obscure tools. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L281 |
Name | <ColorTag.rgba> |
Returns | ElementTag |
Description | Returns the RGBA value of this color. |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L370 |
Name | <ColorTag.saturation> |
Returns | ElementTag(Number) |
Description | Returns the saturation value of this color (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L396 |
Name | <ColorTag.to_particle_offset> |
Returns | LocationTag |
Description | Returns the color as a particle offset, for use with playeffect. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitColorExtensions.java#L29 |
Name | <ColorTag.with_alpha[<alpha>]> |
Returns | ColorTag |
Description | Returns a copy of this color object with a different alpha value (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L475 |
Name | <ColorTag.with_blue[<blue>]> |
Returns | ColorTag |
Description | Returns a copy of this color object with a different blue value (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L462 |
Name | <ColorTag.with_brightness[<brightness>]> |
Returns | ColorTag |
Description | Returns a copy of this color object with a different brightness value (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L518 |
Name | <ColorTag.with_green[<green>]> |
Returns | ColorTag |
Description | Returns a copy of this color object with a different green value (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L449 |
Name | <ColorTag.with_hue[<hue>]> |
Returns | ColorTag |
Description | Returns a copy of this color object with a different hue value (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L488 |
Name | <ColorTag.with_red[<red>]> |
Returns | ColorTag |
Description | Returns a copy of this color object with a different red value (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L436 |
Name | <ColorTag.with_saturation[<saturation>]> |
Returns | ColorTag |
Description | Returns a copy of this color object with a different saturation value (0 to 255). |
Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ColorTag.java#L503 |
Name | <CuboidTag.add_member[<cuboid>|...]> |
Returns | CuboidTag |
Mechanism | CuboidTag.add_member |
Description | Returns a modified copy of this cuboid, with the input cuboid(s) added at the end. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L920 |
Name | <CuboidTag.add_member[<cuboid>|...].at[<index>]> |
Returns | CuboidTag |
Mechanism | CuboidTag.add_member |
Description | Returns a modified copy of this cuboid, with the input cuboid(s) added at the specified index. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L940 |
Name | <CuboidTag.center> |
Returns | LocationTag |
Description | Returns the location of the exact center of the cuboid.
Not valid for multi-member CuboidTags. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1011 |
Name | <CuboidTag.chunks> |
Returns | ListTag(ChunkTag) |
Description | Gets a list of all chunks entirely within the CuboidTag (ignoring the Y axis). |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1492 |
Name | <CuboidTag.corners> |
Returns | ListTag(LocationTag) |
Description | Returns all 8 corners of the cuboid.
The 4 low corners, then the 4 high corners. In order X-Z-, X+Z-, X-Z+, X+Z+ If the object is a multi-member cuboid, returns corners for all members in sequence. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1142 |
Name | <CuboidTag.expand[<location>]> |
Returns | CuboidTag |
Description | Expands the cuboid by the given amount, and returns the changed cuboid.
This will decrease the min coordinates by the given vector location, and increase the max coordinates by it. Supplying a negative input will therefore contract the cuboid. Note that you can also specify a single number to expand all coordinates by the same amount (equivalent to specifying a location that is that value on X, Y, and Z). Not valid for multi-member CuboidTags. |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1342 |
Name | <CuboidTag.expand_one_side[<location>]> |
Returns | CuboidTag |
Description | Expands the cuboid by the given amount in just one direction, and returns the changed cuboid.
If a coordinate is positive, it will expand the high value. If it is negative, it will expand the low value. Note that you can also specify a single number to expand all coordinates by the same amount (equivalent to specifying a location that is that value on X, Y, and Z). Inverted by CuboidTag.shrink_one_side Not valid for multi-member CuboidTags. |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1377 |
Name | <CuboidTag.get[<index>]> |
Returns | CuboidTag |
Description | Returns a cuboid representing the one component of this cuboid (for cuboids that contain multiple sub-cuboids). |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L856 |
Name | <CuboidTag.include[<location>/<cuboid>]> |
Returns | CuboidTag |
Description | Expands the first member of the CuboidTag to contain the given location (or entire cuboid), and returns the expanded cuboid. |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1191 |
Name | <CuboidTag.include_x[<number>]> |
Returns | CuboidTag |
Description | Expands the first member of the CuboidTag to contain the given X value, and returns the expanded cuboid. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1219 |
Name | <CuboidTag.include_y[<number>]> |
Returns | CuboidTag |
Description | Expands the first member of the CuboidTag to contain the given Y value, and returns the expanded cuboid. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1244 |
Name | <CuboidTag.include_z[<number>]> |
Returns | CuboidTag |
Description | Expands the first member of the CuboidTag to contain the given Z value, and returns the expanded cuboid. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1269 |
Name | <CuboidTag.intersection[<cuboid>]> |
Returns | CuboidTag |
Description | Returns the intersection of two intersecting cuboids - in other words, returns a cuboid of just the overlap between the two cuboids.
Returns null if the cuboids do not intersect. |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L806 |
Name | <CuboidTag.intersects[<cuboid>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this cuboid and another intersect. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L782 |
Name | <CuboidTag.list_members> |
Returns | ListTag(CuboidTag) |
Description | Returns a list of all sub-cuboids in this CuboidTag (for cuboids that contain multiple sub-cuboids). |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L837 |
Name | <CuboidTag.max> |
Returns | LocationTag |
Description | Returns the highest-numbered (maximum) corner location.
Not valid for multi-member CuboidTags. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1090 |
Name | <CuboidTag.members_size> |
Returns | ElementTag(Number) |
Description | Returns the number of cuboids defined in the CuboidTag. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L738 |
Name | <CuboidTag.min> |
Returns | LocationTag |
Description | Returns the lowest-numbered (minimum) corner location.
Not valid for multi-member CuboidTags. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1116 |
Name | <CuboidTag.note_name> |
Returns | ElementTag |
Description | Gets the name of a noted CuboidTag. If the cuboid isn't noted, this is null. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1556 |
Name | <CuboidTag.outline> |
Returns | ListTag(LocationTag) |
Description | Returns each block location on the outline of the CuboidTag. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L752 |
Name | <CuboidTag.outline_2d[<#.#>]> |
Returns | ListTag(LocationTag) |
Description | Returns a list of block locations along the 2D outline of this CuboidTag, at the specified Y level.
# Plays the "flame" effect at the 2D outline of the cuboid on the player's Y level. - playeffect effect:flame at:<cuboid[my_cuboid].outline_2d[<player.location.y>]> offset:0.0 |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L765 |
Name | <CuboidTag.partial_chunks> |
Returns | ListTag(ChunkTag) |
Description | Gets a list of all chunks partially or entirely within the CuboidTag. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1531 |
Name | <CuboidTag.random> |
Returns | LocationTag |
Description | Returns a random block location within the cuboid.
(Note: random selection will not be fairly weighted for multi-member cuboids). |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L717 |
Name | <CuboidTag.remove_member[<#>]> |
Returns | CuboidTag |
Mechanism | CuboidTag.remove_member |
Description | Returns a modified copy of this cuboid, with member at the input index removed. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L980 |
Name | <CuboidTag.set[<cuboid>].at[<index>]> |
Returns | CuboidTag |
Mechanism | CuboidTag.set_member |
Description | Returns a modified copy of this cuboid, with the specific sub-cuboid index changed to hold the input cuboid. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L883 |
Name | <CuboidTag.shift[<vector>]> |
Returns | CuboidTag |
Description | Returns a copy of this cuboid, with all members shifted by the given vector LocationTag.
For example, a cuboid from 5,5,5 to 10,10,10, shifted 100,0,100, would return a cuboid from 105,5,105 to 110,10,110. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1169 |
Name | <CuboidTag.shrink_one_side[<location>]> |
Returns | CuboidTag |
Description | Shrinks the cuboid by the given amount in just one direction, and returns the changed cuboid.
If a coordinate is positive, it will shrink the high value. If it is negative, it will shrink the low value. Note that you can also specify a single number to expand all coordinates by the same amount (equivalent to specifying a location that is that value on X, Y, and Z). Inverted by CuboidTag.expand_one_side Not valid for multi-member CuboidTags. If you shrink past the limits of the cuboid's size, the cuboid will flip and start expanding the opposite direction. |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1434 |
Name | <CuboidTag.size> |
Returns | LocationTag |
Description | Returns the size of the cuboid.
Effectively equivalent to: (max - min) + (1,1,1) Not valid for multi-member CuboidTags. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1060 |
Name | <CuboidTag.volume> |
Returns | ElementTag(Number) |
Description | Returns the volume of the cuboid.
Effectively equivalent to: (size.x * size.y * size.z). Not valid for multi-member CuboidTags. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1043 |
Name | <CuboidTag.with_max[<location>]> |
Returns | CuboidTag |
Description | Changes the cuboid to have the given maximum location, and returns the changed cuboid.
If values in the new max are lower than the existing min, the output min will contain the new max values, and the output max will contain the old min values. Note that this is equivalent to constructing a cuboid with the input value and the original cuboids min value. Not valid for multi-member CuboidTags. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1318 |
Name | <CuboidTag.with_min[<location>]> |
Returns | CuboidTag |
Description | Changes the cuboid to have the given minimum location, and returns the changed cuboid.
If values in the new min are higher than the existing max, the output max will contain the new min values, and the output min will contain the old max values. Note that this is equivalent to constructing a cuboid with the input value and the original cuboids max value. Not valid for multi-member CuboidTags. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1294 |
Name | <CuboidTag.has_region> |
Returns | ElementTag(Boolean) |
Description | Returns whether the cuboid contains any region. |
Generated Example |
|
Requires | Depenizen, WorldGuard |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardCuboidProperties.java#L90 |
Name | <CuboidTag.has_town> |
Returns | ElementTag(Boolean) |
Description | Returns whether the cuboid contains any town at all. |
Generated Example |
|
Requires | Depenizen, Towny |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyCuboidProperties.java#L64 |
Name | <CuboidTag.list_towns> |
Returns | ListTag(TownTag) |
Description | Returns all the towns within the cuboid. |
Generated Example |
|
Requires | Depenizen, Towny |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/towny/TownyCuboidProperties.java#L80 |
Name | <CuboidTag.regions> |
Returns | ListTag(WorldGuardRegionTag) |
Description | Returns a list of regions that are in this cuboid. |
Generated Example |
|
Requires | Depenizen, WorldGuard |
Source | https://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/properties/worldguard/WorldGuardCuboidProperties.java#L101 |
Name | <DurationTag.add[<duration>]> |
Returns | DurationTag |
Description | Returns this duration plus another. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L416 |
Name | <DurationTag.formatted> |
Returns | ElementTag |
Description | Returns the value of the duration in an easily readable format like 2h 30m,
where minutes are only shown if there is less than a day left and seconds are only shown if there are less than 10 minutes left. Will show seconds, minutes, hours, days, and/or years. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L483 |
Name | <DurationTag.formatted_words> |
Returns | ElementTag |
Description | Returns the value of the duration in an easily readable format like "2 hours 30 minutes",
where minutes are only shown if there is less than a day left and seconds are only shown if there are less than 10 minutes left. Will show seconds, minutes, hours, days, and/or years. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L495 |
Name | <DurationTag.in_days> |
Returns | ElementTag(Decimal) |
Description | Returns the number of days in the duration. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L346 |
Name | <DurationTag.in_hours> |
Returns | ElementTag(Decimal) |
Description | Returns the number of hours in the duration. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L356 |
Name | <DurationTag.in_milliseconds> |
Returns | ElementTag(Decimal) |
Description | Returns the number of milliseconds in the duration. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L386 |
Name | <DurationTag.in_minutes> |
Returns | ElementTag(Decimal) |
Description | Returns the number of minutes in the duration. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L366 |
Name | <DurationTag.in_seconds> |
Returns | ElementTag(Decimal) |
Description | Returns the number of seconds in the duration. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L376 |
Name | <DurationTag.in_ticks> |
Returns | ElementTag(Number) |
Description | Returns the number of ticks in the duration. (20t/second) |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L396 |
Name | <DurationTag.in_weeks> |
Returns | ElementTag(Decimal) |
Description | Returns the number of weeks in the duration. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L336 |
Name | <DurationTag.in_years> |
Returns | ElementTag(Decimal) |
Description | Returns the number of years in the duration. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L326 |
Name | <DurationTag.sub[<duration>]> |
Returns | DurationTag |
Description | Returns this duration minus another. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L406 |
Name | <DurationTag.is_less_than[<duration>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this duration is less than the input duration.
Equivalent to if comparison: < |
Generated Example |
|
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L438 |
Name | <DurationTag.is_less_than_or_equal_to[<duration>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this duration is less than or equal to the input duration.
Equivalent to if comparison: <= |
Generated Example |
|
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L462 |
Name | <DurationTag.is_more_than[<duration>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this duration is greater than the input duration.
Equivalent to if comparison: > |
Generated Example |
|
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L426 |
Name | <DurationTag.is_more_than_or_equal_to[<duration>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this duration is greater than or equal to the input duration.
Equivalent to if comparison: >= |
Generated Example |
|
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/DurationTag.java#L450 |
Name | <ElementTag.parse_yaml> |
Returns | MapTag |
Description | Parses the input YAML or JSON text into a MapTag. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2488 |
Name | <ElementTag.equals[<element>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element is equal to another element.
Equivalent to if comparison: == You should never ever use this tag inside any 'if', 'while', etc. command. |
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L441 |
Name | <ElementTag.is_boolean> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element is a boolean ('true' or 'false'). |
Generated Example |
|
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L506 |
Name | <ElementTag.is_decimal> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element is a valid decimal number (the decimal point is optional). |
Generated Example |
|
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L537 |
Name | <ElementTag.is_even> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element is an even-valued decimal number. Returns 'false' for non-numbers. |
Generated Example |
|
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L568 |
Name | <ElementTag.is_integer> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element is an integer number (a number without a decimal point), within the limits of a Java "long" (64-bit signed integer). |
Generated Example |
|
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L517 |
Name | <ElementTag.is_less_than[<number>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this decimal number is less than the input decimal number.
Equivalent to if comparison: < You should never ever use this tag inside any 'if', 'while', etc. command. |
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L467 |
Name | <ElementTag.is_less_than_or_equal_to[<number>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this decimal number is less than or equal to the input decimal number.
Equivalent to if comparison: <= You should never ever use this tag inside any 'if', 'while', etc. command. |
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L493 |
Name | <ElementTag.is_more_than[<number>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this decimal number is greater than the input decimal number.
Equivalent to if comparison: > You should never ever use this tag inside any 'if', 'while', etc. command. |
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L454 |
Name | <ElementTag.is_more_than_or_equal_to[<number>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this decimal number is greater than or equal to the input decimal number.
Equivalent to if comparison: >= You should never ever use this tag inside any 'if', 'while', etc. command. |
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L480 |
Name | <ElementTag.is_odd> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element is an odd-valued decimal number. Returns 'false' for non-numbers. |
Generated Example |
|
Group | comparison |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L556 |
Name | <ElementTag.as_biome> |
Returns | BiomeTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[biome] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L44 |
Name | <ElementTag.as_boolean> |
Returns | ElementTag(Boolean) |
Description | Returns the element as true/false.
'true', 't', or '1' become 'true', anything else becomes 'false'. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L592 |
Name | <ElementTag.as_chunk> |
Returns | ChunkTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[chunk] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L57 |
Name | <ElementTag.as_color> |
Returns | ColorTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[color] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L70 |
Name | <ElementTag.as_cuboid> |
Returns | CuboidTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[cuboid] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L83 |
Name | <ElementTag.as_custom> |
Returns | CustomObjectTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[custom] |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L699 |
Name | <ElementTag.as_decimal> |
Returns | ElementTag(Decimal) |
Description | Returns the element as a decimal number, or shows an error.
Essentially an error-check-in-a-tag. Produces no functional output change in most cases. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L607 |
Name | <ElementTag.as_duration> |
Returns | DurationTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[duration] |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L741 |
Name | <ElementTag.as_element> |
Returns | ElementTag |
Description | Returns the element as itself.
For use in special cases, generally not very useful. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L580 |
Name | <ElementTag.as_ellipsoid> |
Returns | EllipsoidTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[ellipsoid] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L96 |
Name | <ElementTag.as_enchantment> |
Returns | EnchantmentTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[enchantment] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L109 |
Name | <ElementTag.as_entity> |
Returns | EntityTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[entity] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L122 |
Name | <ElementTag.as_inventory> |
Returns | InventoryTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[inventory] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L135 |
Name | <ElementTag.as_item> |
Returns | ItemTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[item] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L148 |
Name | <ElementTag.as_list> |
Returns | ListTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[list] |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L671 |
Name | <ElementTag.as_location> |
Returns | LocationTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[location] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L161 |
Name | <ElementTag.as_map> |
Returns | MapTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[map] |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L685 |
Name | <ElementTag.as_material> |
Returns | MaterialTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[material] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L174 |
Name | <ElementTag.as_money> |
Returns | ElementTag(Decimal) |
Description | Returns the element as a number with two decimal places. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L650 |
Name | <ElementTag.as_npc> |
Returns | NPCTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[npc] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L187 |
Name | <ElementTag.as_player> |
Returns | PlayerTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[player] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L200 |
Name | <ElementTag.as_plugin> |
Returns | PluginTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[plugin] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L213 |
Name | <ElementTag.as_polygon> |
Returns | PolygonTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[polygon] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L226 |
Name | <ElementTag.as_queue> |
Returns | QueueTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[queue] |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L727 |
Name | <ElementTag.as_script> |
Returns | ScriptTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[script] |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L713 |
Name | <ElementTag.as_trade> |
Returns | TradeTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[trade] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L239 |
Name | <ElementTag.as_world> |
Returns | WorldTag |
Description | Deprecated in favor of ObjectTag.as |
Generated Example |
|
Group | conversion |
Deprecated | use as[world] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L252 |
Name | <ElementTag.base64_decode> |
Returns | ElementTag |
Description | Decodes a Base64 UTF-8 encoded text to its original text.
Equivalent to using ElementTag.base64_to_binary and then BinaryTag.utf8_decode. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2301 |
Name | <ElementTag.base64_encode> |
Returns | ElementTag |
Description | Encodes some text to UTF-8 Base64.
Equivalent to using ElementTag.utf8_encode and then BinaryTag.to_base64. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2288 |
Name | <ElementTag.base64_to_binary> |
Returns | BinaryTag |
Description | Converts base64 encoded text to its raw binary form.
See also BinaryTag.to_base64 |
Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2314 |
Name | <ElementTag.escaped> |
Returns | ElementTag |
Description | Returns the element, escaped for safe reuse.
Inverts ElementTag.unescaped. See Escaping System. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L755 |
Name | <ElementTag.from_raw_json> |
Returns | ElementTag |
Description | Un-hides the element's text from invisible color codes back to normal text.
Inverts ElementTag.to_raw_json. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L432 |
Name | <ElementTag.from_secret_colors> |
Returns | ElementTag |
Description | Un-hides the element's text from invisible color codes back to normal text.
Inverts ElementTag.to_secret_colors. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L406 |
Name | <ElementTag.hex_decode> |
Returns | ElementTag |
Description | Deprecated in favor of BinaryTag.utf8_decode or BinaryTag.text_decode |
Generated Example |
|
Group | conversion |
Deprecated | use BinaryTag.utf8_decode |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2384 |
Name | <ElementTag.hex_encode> |
Returns | ElementTag |
Description | Deprecated in favor of ElementTag.utf8_encode or ElementTag.text_encode |
Generated Example |
|
Group | conversion |
Deprecated | use utf8_encode |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2370 |
Name | <ElementTag.hex_to_number> |
Returns | ElementTag(Number) |
Description | Encodes base-16 hexadecimal value to an integer number.
For example input of "F" will return "15". See also ElementTag.number_to_hex Consider instead BinaryTag.decode_integer |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2254 |
Name | <ElementTag.html_escaped> |
Returns | ElementTag |
Description | Returns the element, escaped for safe use in HTML. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L769 |
Name | <ElementTag.integer_to_binary> |
Returns | BinaryTag |
Description | Returns a BinaryTag holding 8 bytes of this integer number converted to binary format using big-endian 64-bit integer twos-complement encoding. |
Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2272 |
Name | <ElementTag.number_to_hex> |
Returns | ElementTag |
Description | Encodes base-10 integer number to hexadecimal (base-16) format.
For example input of "15" will return "F". See also ElementTag.hex_to_number Consider instead ElementTag.integer_to_binary |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2236 |
Name | <ElementTag.optimize_json> |
Returns | ElementTag |
Description | Tells the formatted text parser to try to produce mininalist JSON text.
This is useful in particular for very long text or where text is being sent rapidly/repeatedly. It is not needed in most normal messages. It will produce incompatibility issues if used in items or other locations where raw JSON matching is required. Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L444 |
Name | <ElementTag.parsed> |
Returns | ObjectTag |
Description | Returns the element, with any contained tags parsed.
WARNING: THIS TAG IS DANGEROUS TO USE, DO NOT USE IT UNLESS YOU KNOW WHAT YOU ARE DOING. USE AT YOUR OWN RISK. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L811 |
Name | <ElementTag.sql_escaped> |
Returns | ElementTag |
Description | Returns the element, escaped for safe use in SQL. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L785 |
Name | <ElementTag.text_encode[<encoding>]> |
Returns | BinaryTag |
Description | Converts the text to a binary representation encoded using the specified encoding method.
Input can be for example "utf-8" or "iso-8859-1". "encoding" label corresponds to the standard charset names listed at https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html, or any other charsets added by your Java environment. See also BinaryTag.text_decode |
Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2347 |
Name | <ElementTag.to_itemscript_hash> |
Returns | ElementTag |
Description | Shortens the element down to an itemscript hash ID, made of invisible color codes.
This is considered a historical system, no longer relevant to modern Denizen. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L375 |
Name | <ElementTag.to_raw_json> |
Returns | ElementTag |
Description | Converts normal colored text to Minecraft-style "raw JSON" format.
Inverts ElementTag.from_raw_json. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L420 |
Name | <ElementTag.to_secret_colors> |
Returns | ElementTag |
Description | Hides the element's text in invisible color codes.
Inverts ElementTag.from_secret_colors. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L387 |
Name | <ElementTag.trim_to_character_set[<characters>]> |
Returns | ElementTag |
Description | Returns only the characters within the element that match the character set.
The character set is expected to be ASCII only. This tag is case-sensitive. For example: "alphabet" .trim_to_character_set[abcdefghijklmnopqrstuvwxyz]> returns "alphabet", "Alphabet" .trim_to_character_set[abcdefghijklmnopqrstuvwxyz]> returns "lphabet" without the capital "A". and "alphabet1" .trim_to_character_set[abcdefghijklmnopqrstuvwxyz]> returns "alphabet" without the "1". |
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2451 |
Name | <ElementTag.truncate> |
Returns | ElementTag(Number) |
Description | Returns the element as a number without a decimal by way of stripping the decimal value off the end.
That is, rounds towards zero. This is an extremely special case tag that should only be used in very specific situations. If at all unsure, this is probably the wrong tag. Consider elementtag.round or elementtag.round_down instead. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L628 |
Name | <ElementTag.unescaped> |
Returns | ElementTag |
Description | Returns the element, unescaped.
Inverts ElementTag.escaped. See Escaping System. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L797 |
Name | <ElementTag.url_decode> |
Returns | ElementTag |
Description | Decodes the element using URL encoding. Must be valid URL-encoded input. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2416 |
Name | <ElementTag.url_encode> |
Returns | ElementTag |
Description | Encodes the element using URL encoding. |
Generated Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2398 |
Name | <ElementTag.utf8_encode> |
Returns | BinaryTag |
Description | Converts the text to a binary representation encoded with the standard UTF-8 encoding.
See also BinaryTag.utf8_decode |
Example |
|
Group | conversion |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2332 |
Name | <ElementTag.and[<element>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether both the element and the second element are true.
You should never ever use this tag inside any 'if', 'while', etc. command. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1054 |
Name | <ElementTag.char_at[<#>]> |
Returns | ElementTag |
Description | Returns the character at a specified index.
Returns null if the index is outside the range of the element. |
Generated Example |
|
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1126 |
Name | <ElementTag.contains_all_case_sensitive_text[<element>|...]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element contains all of the specified elements, case sensitive. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L922 |
Name | <ElementTag.contains_all_text[<element>|...]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element contains all of the specified elements, case insensitive. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L904 |
Name | <ElementTag.contains_any_case_sensitive_text[<element>|...]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element contains any of a list of specified elements, case sensitive. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L839 |
Name | <ElementTag.contains_any_text[<element>|...]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element contains any of a list of specified elements, case insensitive. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L857 |
Name | <ElementTag.contains_case_sensitive_text[<element>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element contains a specified element, case sensitive. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L875 |
Name | <ElementTag.contains_text[<element>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element contains a specified element, case insensitive.
Can use regular expression by prefixing the element with 'regex:'. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L887 |
Name | <ElementTag.difference[<element>]> |
Returns | ElementTag(Number) |
Description | Returns a number representing the difference between the two elements. (Uses Levenshtein logic). |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L828 |
Name | <ElementTag.ends_with[<element>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element ends with a specified element. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L940 |
Name | <ElementTag.equals_case_sensitive[<element>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element matches another element, case-sensitive. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L952 |
Name | <ElementTag.if_true[<object>].if_false[<object>]> |
Returns | ObjectTag |
Description | If this element is 'true', returns the first given object. If it isn't 'true', returns the second given object.
If the input objects are tags, only the matching tag will be parsed. For example: "<player.exists.if_true[<player.name>].if_false[server]>" will return the player's name if there's a player present, or if not will return 'server', and won't show any errors from the '<player.name>' tag even without a player linked. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2468 |
Name | <ElementTag.index_of[<element>]> |
Returns | ElementTag(Number) |
Description | Returns the index of the first occurrence of a specified element.
Returns 0 if the element never occurs within the element. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1100 |
Name | <ElementTag.is_in[<list>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element is contained by a list.
Essentially equivalent to ListTag.contains_single, but with input order reversed. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1003 |
Name | <ElementTag.last_index_of[<element>]> |
Returns | ElementTag(Number) |
Description | Returns the index of the last occurrence of a specified element.
Returns 0 if the element never occurs within the element. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1113 |
Name | <ElementTag.length> |
Returns | ElementTag(Number) |
Description | Returns the length of the element. |
Generated Example |
|
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1020 |
Name | <ElementTag.matches_character_set[<characters>]> |
Returns | ElementTag(Boolean) |
Description | Returns true if the element contains only symbols from the given character set.
The character set is expected to be ASCII only. This tag is case-sensitive. For example: "alphabet" .matches_character_set[abcdefghijklmnopqrstuvwxyz]> returns "true", "Alphabet" .matches_character_set[abcdefghijklmnopqrstuvwxyz]> returns "false" because it has a capital "A", and "alphabet1" .matches_character_set[abcdefghijklmnopqrstuvwxyz]> returns "false" because it has a "1". |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2434 |
Name | <ElementTag.not> |
Returns | ElementTag(Boolean) |
Description | Returns the opposite of the element
IE, true returns false and false returns true. You should never ever use this tag inside any 'if', 'while', etc. command (instead, use the '!' negation prefix). |
Generated Example |
|
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1031 |
Name | <ElementTag.or[<element>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether either the element or the second element are true.
You should never ever use this tag inside any 'if', 'while', etc. command. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1066 |
Name | <ElementTag.regex_matches[<regex>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element matches a regex input. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L963 |
Name | <ElementTag.regex[<regex>].group[<group>]> |
Returns | ElementTag |
Description | Returns the specific group from a regex match.
Specify group 0 for the whole match. For example, <element[hello5world].regex[.*(\d).*].group[1]> returns '5'. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L974 |
Name | <ElementTag.starts_with[<element>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element starts with a specified element. |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1089 |
Name | <ElementTag.xor[<element>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether the element and the second element are true and false (exclusive or). |
Group | element checking |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1078 |
Name | <ElementTag.after[<element>]> |
Returns | ElementTag |
Description | Returns the portion of an element after the first occurrence of a specified element.
For example: HelloWorld .after[Hello] returns World. |
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1184 |
Name | <ElementTag.after_last[<element>]> |
Returns | ElementTag |
Description | Returns the portion of an element after the last occurrence of a specified element.
For example: abcabc .after_last[b] returns c. |
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1166 |
Name | <ElementTag.before[<element>]> |
Returns | ElementTag |
Description | Returns the portion of an element before the first occurrence of specified element.
For example: abcd .before[c] returns ab. |
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1220 |
Name | <ElementTag.before_last[<element>]> |
Returns | ElementTag |
Description | Returns the portion of an element before the last occurrence of a specified element.
For example: abcabc .before_last[b] returns abca. |
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1202 |
Name | <ElementTag.format_number[(<format>)]> |
Returns | ElementTag |
Description | Returns a number reformatted for easier reading.
For example: 1234567 will become 1,234,567. Optionally, specify a standard number format code to instead use that. For information on that optional input, refer to https://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.number_with_commas, elementtag.thousands_separated |
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1284 |
Name | <ElementTag.from_roman_numerals> |
Returns | ElementTag |
Description | Returns the roman numeral string in integer form.
For example: <element[MCLXIX].from_roman_numerals> returns 1169. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1489 |
Name | <ElementTag.is_lowercase> |
Returns | ElementTag(Boolean) |
Description | Returns whether all characters in the element are lowercase.
Numbers and symbols will return false. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1386 |
Name | <ElementTag.is_uppercase> |
Returns | ElementTag(Boolean) |
Description | Returns whether all characters in the element are uppercase letters.
Numbers and symbols will return false. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1369 |
Name | <ElementTag.lines_to_colored_list> |
Returns | ListTag |
Description | Returns a list of lines in the element, with colors spread over the lines manually.
Useful for things like item lore. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L313 |
Name | <ElementTag.pad_left[<#>]> |
Returns | ElementTag |
Description | Returns the value of an element extended to reach a minimum specified length by adding spaces to the left side. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1594 |
Name | <ElementTag.pad_left[<#>].with[<element>]> |
Returns | ElementTag |
Description | Returns the value of an element extended to reach a minimum specified length
by adding a specific symbol to the left side. |
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1605 |
Name | <ElementTag.pad_right[<#>]> |
Returns | ElementTag |
Description | Returns the value of an element extended to reach a minimum specified length by adding spaces to the right side. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1626 |
Name | <ElementTag.pad_right[<#>].with[<element>]> |
Returns | ElementTag |
Description | Returns the value of an element extended to reach a minimum specified length by adding a specific symbol to the right side. |
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1637 |
Name | <ElementTag.repeat[<#>]> |
Returns | ElementTag |
Description | Returns a copy of the element, repeated the specified number of times.
For example, "hello" .repeat[3] returns "hellohellohello" An input value or zero or a negative number will result in an empty element. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1148 |
Name | <ElementTag.replace_text[((first)regex:)<element>]> |
Returns | ElementTag |
Description | Returns the element with all instances of an element removed. |
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1238 |
Name | <ElementTag.replace_text[((first)regex:)<element>].with[<element>]> |
Returns | ElementTag |
Description | Returns the element with all instances of a element replaced with another.
Specify regex: at the start of the replace element to use Regex replacement. Specify firstregex: at the start of the replace element to Regex 'replaceFirst' |
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1246 |
Name | <ElementTag.split[((regex:)<string>)]> |
Returns | ListTag |
Description | Returns a list of portions of this element, split by the specified string.
If a split string is unspecified, splits by space. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1553 |
Name | <ElementTag.split_args> |
Returns | ListTag |
Description | Returns a list of portions of this element, split the same way command arguments are split.
That is, split by spaces but respecting the use of "quotes" to contain spaces within a single argument. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1541 |
Name | <ElementTag.split_lines[<#>]> |
Returns | ElementTag |
Description | Returns the element split into separate lines based on a maximum number of characters per line.
This does not account for character width, so for example 20 "W"s and 20 "i"s will be treated as the same number of characters. Spaces will be preferred to become newlines, unless a line does not contain any spaces. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1355 |
Name | <ElementTag.split_lines_by_width[<#>]> |
Returns | ElementTag |
Description | Returns the element split into separate lines based on a maximum width in pixels per line.
This uses character width, so for example 20 "W"s and 20 "i"s will be treated differently. The width used is based on the vanilla minecraft font. This will not be accurate for other fonts. This only currently supports ASCII symbols properly. Unicode symbols will be estimated as 6 pixels. Spaces will be preferred to become newlines, unless a line does not contain any spaces. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L284 |
Name | <ElementTag.split[((regex:)<string>)].limit[<#>]> |
Returns | ListTag |
Description | Returns a list of portions of this element, split by the specified string,
and capped at the specified number of max list items. If a split string is unspecified, splits by space. |
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1574 |
Name | <ElementTag.substring[<#>(,<#>)]> |
Returns | ElementTag |
Description | Returns the portion of an element between two element indices.
If no second index is specified, it will return the portion of an element after the specified index. For example: <element[hello].substring[2,4]> returns "ell" |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1506 |
Name | <ElementTag.text_width> |
Returns | ElementTag(Number) |
Description | Returns the width, in pixels, of the text.
The width used is based on the vanilla minecraft font. This will not be accurate for other fonts. This only currently supports ASCII symbols properly. Unicode symbols will be estimated as 6 pixels. If the element contains newlines, will return the widest line width. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L299 |
Name | <ElementTag.to_list> |
Returns | ListTag |
Description | Returns a ListTag of each letter in the element. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1329 |
Name | <ElementTag.to_lowercase> |
Returns | ElementTag |
Description | Returns the value of an element in all lowercase letters. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1415 |
Name | <ElementTag.to_roman_numerals> |
Returns | ElementTag |
Description | Returns the element in roman numeral form. Must be in the range of 1 and 4000 (inclusive).
For example: <element[1169].to_roman_numerals> returns MCLXIX. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1468 |
Name | <ElementTag.to_sentence_case> |
Returns | ElementTag |
Description | Returns the value in sentence case (the first letter capitalized, the rest lowercase). |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1454 |
Name | <ElementTag.to_titlecase> |
Returns | ElementTag |
Description | Returns The Value Of An ElementTag In Title Case. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1427 |
Name | <ElementTag.to_uppercase> |
Returns | ElementTag |
Description | Returns the value of an element in all uppercase letters. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1403 |
Name | <ElementTag.trim> |
Returns | ElementTag |
Description | Returns the value of an element minus any leading or trailing whitespace. |
Generated Example |
|
Group | element manipulation |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1344 |
Name | <ElementTag.abs> |
Returns | ElementTag(Decimal) |
Description | Returns the absolute value of the element.
For example: <element[-5].abs> returns 5. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.absolute_value |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1659 |
Name | <ElementTag.acos> |
Returns | ElementTag(Decimal) |
Description | Returns the arc-cosine of the element in radians. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1978 |
Name | <ElementTag.add[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Returns the element plus a number. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.plus, elementtag.addition, elementtag.+ |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1777 |
Name | <ElementTag.add_int[<#>]> |
Returns | ElementTag(Number) |
Description | Don't use this, just use "add". |
Generated Example |
|
Group | math |
Deprecated | This tag hasn't conferred any real benefit for years. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1710 |
Name | <ElementTag.asin> |
Returns | ElementTag(Decimal) |
Description | Returns the arc-sine of the element in radians. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1963 |
Name | <ElementTag.atan> |
Returns | ElementTag(Decimal) |
Description | Returns the arc-tangent of the element in radians. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1993 |
Name | <ElementTag.atan2[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Interprets the element to be a Y value and the input value to be an X value (meaning: <Y.atan2[X]>),
and returns an angle in radians representing the vector of (X,Y). |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2008 |
Name | <ElementTag.cos> |
Returns | ElementTag(Decimal) |
Description | Returns the cosine of the input radian angle. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2024 |
Name | <ElementTag.div[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Returns the element divided by a number. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.divide, elementtag./ |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1800 |
Name | <ElementTag.div_int[<#>]> |
Returns | ElementTag(Number) |
Description | Returns the element divided by a number.
This is a special-case Java Long Integer logic tag, and generally you should use the variant without "_int" instead. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1727 |
Name | <ElementTag.factorial> |
Returns | ElementTag(Number) |
Description | Returns the factorial of the element. This should only be used for small values (generally: less than 20), and will become ridiculous/unusable at larger values. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2069 |
Name | <ElementTag.ln> |
Returns | ElementTag(Decimal) |
Description | Returns the natural logarithm of the element. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.natural_logarithm |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1930 |
Name | <ElementTag.log[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Returns the logarithm of the element, with the base of the specified number. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.logarithm |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1914 |
Name | <ElementTag.max[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Returns the higher number: this element or the specified one.
For example: <element[5].max[10]> returns 10. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.larger, elementtag.greater, elementtag.higher, elementtag.bigger, elementtag.maximum |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1676 |
Name | <ElementTag.min[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Returns the lower number: this element or the specified one.
For example: <element[5].min[10]> returns 5. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.smaller, elementtag.lesser, elementtag.lower, elementtag.minimum |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1693 |
Name | <ElementTag.mod[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Returns the remainder of the element divided by a number. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.modulo, elementtag.modulus, elementtag.remainder/elementtag.% |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1823 |
Name | <ElementTag.mul[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Returns the element multiplied by a number. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.multiply, elementtag.times, elementtag.* |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1848 |
Name | <ElementTag.mul_int[<#>]> |
Returns | ElementTag(Number) |
Description | Don't use this, just use "mul". |
Generated Example |
|
Group | math |
Deprecated | This tag hasn't conferred any real benefit for years. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1743 |
Name | <ElementTag.power[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Returns the element to the power of a number. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1946 |
Name | <ElementTag.round> |
Returns | ElementTag(Number) |
Description | Rounds a decimal. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2221 |
Name | <ElementTag.round_down> |
Returns | ElementTag(Number) |
Description | Rounds a decimal downward. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2134 |
Name | <ElementTag.round_down_to_precision[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Rounds a decimal downward to the specified precision. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2187 |
Name | <ElementTag.round_to[<#>]> |
Returns | ElementTag(Decimal) |
Description | Rounds a decimal to the specified place.
For example, 0.12345 .round_to[3] returns "0.123". |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2149 |
Name | <ElementTag.round_to_precision[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Rounds a decimal to the specified precision.
For example, 0.12345 .round_to_precision[0.005] returns "0.125". |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2169 |
Name | <ElementTag.round_up> |
Returns | ElementTag(Number) |
Description | Rounds a decimal upward. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2119 |
Name | <ElementTag.round_up_to_precision[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Rounds a decimal upward to the specified precision. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2204 |
Name | <ElementTag.sin> |
Returns | ElementTag(Decimal) |
Description | Returns the sine of the input radian angle. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2039 |
Name | <ElementTag.sqrt> |
Returns | ElementTag(Decimal) |
Description | Returns the square root of the element.
Null for negative numbers. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.square_root |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1894 |
Name | <ElementTag.sub[<#.#>]> |
Returns | ElementTag(Decimal) |
Description | Returns the element minus a number. |
Generated Example |
|
Synonyms (Search Aid) | elementtag.subtract, elementtag.- |
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1871 |
Name | <ElementTag.sub_int[<#>]> |
Returns | ElementTag(Number) |
Description | Don't use this, just use "sub". |
Generated Example |
|
Group | math |
Deprecated | This tag hasn't conferred any real benefit for years. |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L1760 |
Name | <ElementTag.tan> |
Returns | ElementTag(Decimal) |
Description | Returns the tangent of the input radian angle. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2054 |
Name | <ElementTag.to_degrees> |
Returns | ElementTag(Decimal) |
Description | Converts the element from radians to degrees. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2089 |
Name | <ElementTag.to_radians> |
Returns | ElementTag(Decimal) |
Description | Converts the element from degrees to radians. |
Generated Example |
|
Group | math |
Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/ElementTag.java#L2104 |
Name | <ElementTag.last_color> |
Returns | ElementTag |
Description | Returns the ChatColors used last in an element. |
Generated Example |
|
Group | text checking |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L331 |
Name | <ElementTag.bold> |
Returns | ElementTag |
Description | Makes the input text bold. Equivalent to "<&l><ELEMENT_HERE><&l.end_format>"
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L636 |
Name | <ElementTag.click_chat[<message>]> |
Returns | ElementTag |
Description | Adds a click command to the element, which makes the element pseudo-chat the input message when clicked, for activating interact script chat triggers (Chat Triggers).
This internally uses the command "/denizenclickable chat SOME MESSAGE HERE" (requires players have permission "denizen.clickable") Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L522 |
Name | <ElementTag.click_url[<url>]> |
Returns | ElementTag |
Description | Adds a click command to the element, which makes the element open the given URL when clicked.
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L508 |
Name | <ElementTag.color[<color>]> |
Returns | ElementTag |
Description | Makes the input text colored by the input color. Equivalent to "<COLOR><ELEMENT_HERE><COLOR.end_format>"
Color can be a color name, color code, hex, or ColorTag... that is: ".color[gold]", ".color[6]", and ".color[#AABB00]" are all valid. Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L702 |
Name | <ElementTag.color_gradient[from=<color>;to=<color>;(style={RGB}/HSB)]> |
Returns | ElementTag |
Description | Returns the element with an RGB color gradient applied, with a unique color per character.
Specify the input as a map with keys 'from' and 'to' both set to hex colors (or any valid ColorTag). You can also choose a style (defaults to RGB): "style=RGB" tends to produce smooth gradients, "style=HSB" tends to produce bright rainbow-like color patterns. |
Example |
|
Example |
|
Example |
|
Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L849 |
Name | <ElementTag.custom_color[<custom_color_name>]> |
Returns | ElementTag |
Description | Makes the input text colored by the custom color value based on the common base color names defined in the Denizen config file.
If the color name is unrecognized, returns the value of color named 'default'. Default color names are 'base', 'emphasis', 'warning', 'error'. Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L684 |
Name | <ElementTag.end_format> |
Returns | ElementTag |
Description | Makes a chat format code (&klmno, or &[font=...]) be the end of a format, as opposed to the start.
Use like '<&o.end_format>' or '<italic.end_format>'. Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L605 |
Name | <ElementTag.font[<font>]> |
Returns | ElementTag |
Description | Makes the input text display with the input font name. Equivalent to "<&font[new-font]><ELEMENT_HERE><&font[new-font].end_format>"
The default font is "minecraft:default". Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L761 |
Name | <ElementTag.format[<format_script>]> |
Returns | ElementTag |
Description | Returns the text re-formatted according to a format script. |
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L265 |
Name | <ElementTag.hex_rainbow[(<length>)]> |
Returns | ElementTag |
Description | Returns the element with RGB rainbow colors applied.
Optionally, specify a length (how many characters before the colors repeat). If unspecified, will use the input element length. If the element starts with a hex color code, that will be used as the starting color of the rainbow. |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L796 |
Name | <ElementTag.hover_item[<item>]> |
Returns | ElementTag |
Description | Adds a hover message to the element, which makes the element display the input ItemTag when the mouse is left over it.
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L463 |
Name | <ElementTag.hsb_color_gradient[from=<color>;to=<color>]> |
Returns | ElementTag |
Description | Deprecated in favor of using ElementTag.color_gradient with "style=hsb" |
Group | text manipulation |
Deprecated | use color_gradient[from=color;to=color;style=HSB] |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L886 |
Name | <ElementTag.italicize> |
Returns | ElementTag |
Description | Makes the input text italic. Equivalent to "<&o><ELEMENT_HERE><&o.end_format>"
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L624 |
Name | <ElementTag.no_reset> |
Returns | ElementTag |
Description | Makes a color code (&0123456789abcdef) not reset other formatting details.
Use like '<&c.no_reset>' or '<red.no_reset>'. Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L589 |
Name | <ElementTag.obfuscate> |
Returns | ElementTag |
Description | Makes the input text obfuscated. Equivalent to "<&k><ELEMENT_HERE><&k.end_format>"
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L672 |
Name | <ElementTag.on_click[<command>]> |
Returns | ElementTag |
Description | Adds a click command to the element, which makes the element execute the input command when clicked.
To execute a command "/" should be used at the start. Prior to 1.19, leaving off the "/" would display the text as chat. This feature was removed as part of the 1.19 secure chat system. For activating interact script chat triggers (Chat Triggers), you can use the command "/denizenclickable chat SOME MESSAGE HERE" (requires players have permission "denizen.clickable") For that, instead prefer ElementTag.click_chat Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Example |
|
Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L537 |
Name | <ElementTag.on_click[<message>].type[<type>]> |
Returns | ElementTag |
Description | Adds a click command to the element, which makes the element execute the input command when clicked.
Available command types: OPEN_URL, OPEN_FILE, RUN_COMMAND, SUGGEST_COMMAND, COPY_TO_CLIPBOARD, or CHANGE_PAGE. For example: - narrate "You can <element[click here].on_click[https://denizenscript.com].type[OPEN_URL]> to learn about Denizen!" Note that this is a magic Denizen tool - refer to Denizen Text Formatting. For run_command, prefer ElementTag.on_click For chat, prefer ElementTag.click_chat For URLs, prefer ElementTag.click_url |
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L555 |
Name | <ElementTag.on_hover[<message>]> |
Returns | ElementTag |
Description | Adds a hover message to the element, which makes the element display the input hover text when the mouse is left over it.
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L477 |
Name | <ElementTag.on_hover[<message>].type[<type>]> |
Returns | ElementTag |
Description | Adds a hover message to the element, which makes the element display the input hover text when the mouse is left over it.
Available hover types: SHOW_TEXT, SHOW_ACHIEVEMENT, SHOW_ITEM, or SHOW_ENTITY. Note: for "SHOW_ITEM", replace the text with a valid ItemTag. For "SHOW_ENTITY", replace the text with a valid spawned EntityTag (requires F3+H to see entities). Note that this is a magic Denizen tool - refer to Denizen Text Formatting. For show_text, prefer ElementTag.on_hover For show_item, prefer ElementTag.hover_item |
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L488 |
Name | <ElementTag.parse_color[(<prefix>)]> |
Returns | ElementTag |
Description | Returns the element with all color codes parsed.
Optionally, specify a character to prefix the color ids. Defaults to '&' if not specified. This allows old-style colors like '&b', or Essentials-style hex codes like '&#ff00ff' See also ElementTag.parse_minimessage |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L355 |
Name | <ElementTag.rainbow[(<pattern>)]> |
Returns | ElementTag |
Description | Returns the element with rainbow colors applied.
Optionally, specify a color pattern to follow. By default, this is "4c6e2ab319d5". That is, a repeating color of: Red, Orange, Yellow, Green, Cyan, Blue, Purple. |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L774 |
Name | <ElementTag.strikethrough> |
Returns | ElementTag |
Description | Makes the input text struck-through. Equivalent to "<&m><ELEMENT_HERE><&m.end_format>"
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L660 |
Name | <ElementTag.strip_color> |
Returns | ElementTag |
Description | Returns the element with all color encoding stripped.
This will remove any/all colors, formats (bold/italic/etc), advanced formats (fonts/clickables/etc), and translate any translatables (&translate, &score, etc). This will automatically translate translatable sections |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L342 |
Name | <ElementTag.underline> |
Returns | ElementTag |
Description | Makes the input text underlined. Equivalent to "<&n><ELEMENT_HERE><&n.end_format>"
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Generated Example |
|
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L648 |
Name | <ElementTag.with_insertion[<message>]> |
Returns | ElementTag |
Description | Adds an insertion message to the element, which makes the element insert the input message to chat when shift-clicked.
Note that this is a magic Denizen tool - refer to Denizen Text Formatting. |
Group | text manipulation |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/bukkit/BukkitElementExtensions.java#L576 |
Name | <ElementTag.parse_minimessage> |
Returns | ElementTag |
Description | Returns the element with all MiniMessage tags parsed, see https://docs.adventure.kyori.net/minimessage/format.html for more information.
This may be useful for reading data from external plugins, but should not be used in normal scripts. |
Generated Example |
|
Requires | Paper |
Source | https://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperElementExtensions.java#L16 |
Name | <ElementTag.to_minimessage> |
Returns | ElementTag |
Description | Returns the element with all text formatting parsed into MiniMessage format.
This may be useful for sending data to external plugins, but should not be used in normal scripts. |
Generated Example |
|
Requires | Paper |
Source | https://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperElementExtensions.java#L28 |
Name | <EllipsoidTag.add[<location>]> |
Returns | EllipsoidTag |
Description | Returns a copy of this ellipsoid, shifted by the input location. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L461 |
Name | <EllipsoidTag.chunks> |
Returns | ListTag(ChunkTag) |
Description | Returns a list of all chunks that this ellipsoid touches at all (note that no valid ellipsoid tag can ever totally contain a chunk, due to vertical limits and roundness). |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L571 |
Name | <EllipsoidTag.include[<location>]> |
Returns | EllipsoidTag |
Description | Returns a copy of this ellipsoid, with the size value adapted to include the specified world location. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L480 |
Name | <EllipsoidTag.location> |
Returns | LocationTag |
Description | Returns the center location of the ellipsoid. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L435 |
Name | <EllipsoidTag.note_name> |
Returns | ElementTag |
Description | Gets the name of a noted EllipsoidTag. If the ellipsoid isn't noted, this is null. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L605 |
Name | <EllipsoidTag.random> |
Returns | LocationTag |
Description | Returns a random decimal location within the ellipsoid.
Note that distribution of results will not be completely even. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L409 |
Name | <EllipsoidTag.size> |
Returns | LocationTag |
Description | Returns the size of the ellipsoid. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L448 |
Name | <EllipsoidTag.with_location[<location>]> |
Returns | EllipsoidTag |
Description | Returns a copy of this ellipsoid, set to the specified location. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L536 |
Name | <EllipsoidTag.with_size[<location>]> |
Returns | EllipsoidTag |
Description | Returns a copy of this ellipsoid, set to the specified size. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EllipsoidTag.java#L554 |
Name | <EnchantmentTag.can_enchant[<item>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this enchantment can enchant the given ItemTag (based on material mainly).
This is internally based on multiple factors, such as the enchantment's category and its own specific compatibility checks. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L352 |
Name | <EnchantmentTag.category> |
Returns | ElementTag |
Description | Returns the category of this enchantment. Can be any of: ARMOR, ARMOR_FEET, ARMOR_LEGS, ARMOR_CHEST, ARMOR_HEAD,
WEAPON, DIGGER, FISHING_ROD, TRIDENT, BREAKABLE, BOW, WEARABLE, CROSSBOW, VANISHABLE |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L325 |
Name | <EnchantmentTag.damage_bonus[level=<level>;type=<type>]> |
Returns | ElementTag(Decimal) |
Description | Returns the damage bonus this enchantment applies against the given monster type.
The input is a MapTag with a level value and a monster type specified, where the type can be any of: ARTHROPOD, ILLAGER, WATER, UNDEAD, or UNDEFINED |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L425 |
Name | <EnchantmentTag.damage_protection[level=<level>;type=<cause>;(attacker=<entity>)]> |
Returns | ElementTag(Number) |
Description | Returns the damage protection this enchantment applies against the given damage cause and optional attacker.
The input is a MapTag with a level value and a damage type specified, where the damage type must be from Damage Cause. For entity damage causes, optionally specify the entity attacker. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L445 |
Name | <EnchantmentTag.full_name[<level>]> |
Returns | ElementTag |
Description | Returns the full name for this enchantment for a given level, like "Sharpness V".
For vanilla enchantments, uses language translation keys. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L191 |
Name | <EnchantmentTag.is_compatible[<enchantment>]> |
Returns | ElementTag(Boolean) |
Description | Returns whether this enchantment is compatible with another given enchantment. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L373 |
Name | <EnchantmentTag.is_curse> |
Returns | ElementTag(Boolean) |
Description | Returns whether this enchantment is only considered to be a curse. Curses are removed at grindstones, and spread from crafting table repairs. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L308 |
Name | <EnchantmentTag.is_discoverable> |
Returns | ElementTag(Boolean) |
Description | Returns whether this enchantment is only considered to be discoverable.
If true, this will spawn from vanilla sources like the enchanting table. If false, it can only be given directly by script. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L290 |
Name | <EnchantmentTag.is_tradable> |
Returns | ElementTag(Boolean) |
Description | Returns whether this enchantment is only considered to be tradable. Villagers won't trade this enchantment if set to false. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L273 |
Name | <EnchantmentTag.key> |
Returns | ElementTag |
Description | Returns the full key for this enchantment, like "minecraft:sharpness". |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L174 |
Name | <EnchantmentTag.max_cost[<level>]> |
Returns | ElementTag(Decimal) |
Description | Returns the maximum cost for this enchantment for the given level. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L409 |
Name | <EnchantmentTag.max_level> |
Returns | ElementTag(Number) |
Description | Returns the maximum level of this enchantment. Usually between 1 and 5. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L243 |
Name | <EnchantmentTag.min_cost[<level>]> |
Returns | ElementTag(Decimal) |
Description | Returns the minimum cost for this enchantment for the given level. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L393 |
Name | <EnchantmentTag.min_level> |
Returns | ElementTag(Number) |
Description | Returns the minimum level of this enchantment. Usually '1'. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L230 |
Name | <EnchantmentTag.name> |
Returns | ElementTag |
Description | Gets the name of this enchantment. For vanilla enchantments, uses the vanilla name like 'sharpness'.
For Denizen custom enchantments, returns the 'id' specified in the script. For any other enchantments, returns the full key. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L158 |
Name | <EnchantmentTag.rarity> |
Returns | ElementTag |
Description | Returns the rarity of this enchantment. Can be any of: COMMON, UNCOMMON, RARE, VERY_RARE |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L339 |
Name | <EnchantmentTag.script> |
Returns | ScriptTag |
Description | Returns the script that created this enchantment type, if any. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L209 |
Name | <EnchantmentTag.treasure_only> |
Returns | ElementTag(Boolean) |
Description | Returns whether this enchantment is only for spawning as treasure. |
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EnchantmentTag.java#L256 |
Name | <EntityTag.absorption_health> |
Returns | ElementTag(Decimal) |
Mechanism | EntityTag.absorption_health |
Description | Returns the living entity's absorption health. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2050 |
Name | <EntityTag.attached_entities[(<player>)]> |
Returns | ListTag(EntityTag) |
Description | Returns the entities attached to this entity by attach.
Optionally, specify a player. If specified, will return entities attached visible to that player. If not specified, returns entities globally attached. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2763 |
Name | <EntityTag.attached_offset[(<player>)]> |
Returns | LocationTag |
Description | Returns the offset of an attachment for this entity to another that was attached by attach.
Optionally, specify a player. If specified, will return entity attachment visible to that player. If not specified, returns any entity global attachment. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2805 |
Name | <EntityTag.attached_to[(<player>)]> |
Returns | EntityTag |
Description | Returns the entity that this entity was attached to by attach.
Optionally, specify a player. If specified, will return entity attachment visible to that player. If not specified, returns any entity global attachment. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2785 |
Name | <EntityTag.attack_cooldown_duration> |
Returns | DurationTag |
Mechanism | EntityTag.attack_cooldown |
Description | Returns the amount of time that passed since the start of the attack cooldown. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2825 |
Name | <EntityTag.attack_cooldown_max_duration> |
Returns | DurationTag |
Mechanism | EntityTag.attack_cooldown |
Description | Returns the maximum amount of time that can pass before the player's main hand has returned
to its original place after the cooldown has ended. NOTE: This is slightly inaccurate and may not necessarily match with the actual attack cooldown progress. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2840 |
Name | <EntityTag.attack_cooldown_percent> |
Returns | ElementTag(Decimal) |
Mechanism | EntityTag.attack_cooldown_percent |
Description | Returns the progress of the attack cooldown. 0 means that the attack cooldown has just
started, while 100 means that the attack cooldown has finished. NOTE: This may not match exactly with the clientside attack cooldown indicator. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2858 |
Name | <EntityTag.fish_hook_apply_lure> |
Returns | ElementTag(Boolean) |
Mechanism | EntityTag.fish_hook_apply_lure |
Description | Returns whether this fish hook should respect the lure enchantment.
Every level of lure enchantment reduces lure time by 5 seconds. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2732 |
Name | <EntityTag.fish_hook_hooked_entity> |
Returns | EntityTag |
Mechanism | EntityTag.fish_hook_hooked_entity |
Description | Returns the entity this fish hook is attached to. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2716 |
Name | <EntityTag.fish_hook_in_open_water> |
Returns | ElementTag(Boolean) |
Description | Returns whether this fish hook is in open water. Fish hooks in open water can catch treasure.
See https://minecraft.fandom.com/wiki/Fishing for more info. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2748 |
Name | <EntityTag.fish_hook_lure_time> |
Returns | DurationTag |
Mechanism | EntityTag.fish_hook_lure_time |
Description | Returns the remaining time before this fish hook will lure a fish. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2671 |
Name | <EntityTag.fish_hook_max_lure_time> |
Returns | DurationTag |
Mechanism | EntityTag.fish_hook_max_lure_time |
Description | Returns the maximum possible time before this fish hook will lure a fish. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2701 |
Name | <EntityTag.fish_hook_min_lure_time> |
Returns | DurationTag |
Mechanism | EntityTag.fish_hook_min_lure_time |
Description | Returns the minimum possible time before this fish hook can lure a fish. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2686 |
Name | <EntityTag.fish_hook_state> |
Returns | ElementTag |
Description | Returns the current state of the fish hook, as any of: UNHOOKED, HOOKED_ENTITY, BOBBING (unhooked means the fishing hook is in the air or on ground). |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2657 |
Name | <EntityTag.is_hand_raised> |
Returns | ElementTag(Boolean) |
Description | Returns whether the player's hand is currently raised. Valid for players and player-type NPCs.
A player's hand is raised when they are blocking with a shield, aiming a crossbow, looking through a spyglass, etc. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2875 |
Name | <EntityTag.is_sleeping> |
Returns | ElementTag(Boolean) |
Description | Returns whether the player, NPC, or villager is currently sleeping. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1970 |
Name | <EntityTag.is_trading> |
Returns | ElementTag(Boolean) |
Description | Returns whether the villager entity is trading. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1422 |
Name | <EntityTag.last_attack> |
Returns | MapTag |
Description | Returns an interaction entity's last attack interaction, if any.
The returned map contains: - 'player' (PlayerTag): the player who interacted - 'duration' (DurationTag): the amount of time since the interaction. Note that this is a delta time (same limitations as delta time), and may become inaccurate if the interaction entity changes worlds. - 'raw_game_time' (ElementTag(Number)): the raw game time the interaction occurred at, used to calculate the time above. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2892 |
Name | <EntityTag.last_interaction> |
Returns | MapTag |
Description | Returns an interaction entity's last right click interaction, if any.
The returned map contains: - 'player' (PlayerTag): the player who interacted - 'duration' (DurationTag): the amount of time since the interaction. Note that this is a delta time (same limitations as delta time), and may become inaccurate if the interaction entity changes worlds. - 'raw_game_time' (ElementTag(Number)): the raw game time the interaction occurred at, used to calculate the time above. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2910 |
Name | <EntityTag.left_shoulder> |
Returns | EntityTag |
Mechanism | EntityTag.left_shoulder |
Description | Returns the entity on the entity's left shoulder.
Only applies to player-typed entities. NOTE: The returned entity will not be spawned within the world, so most operations are invalid unless the entity is first spawned in. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L1769 |
Name | <EntityTag.loot_table_id> |
Returns | ElementTag |
Mechanism | EntityTag.loot_table_id |
Description | Returns an element indicating the minecraft key for the loot-table for the entity (if any). |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2640 |
Name | <EntityTag.precise_target[(<range>)]> |
Returns | EntityTag |
Description | Returns the entity this entity is looking at, using precise ray trace logic.
Optionally, specify a maximum range to find the entity from (defaults to 200). |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2120 |
Name | <EntityTag.precise_target_position[(<range>)]> |
Returns | LocationTag |
Description | Returns the location this entity is looking at, using precise ray trace (against entities) logic.
Optionally, specify a maximum range to find the target from (defaults to 200). |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2156 |
Name | <EntityTag.precise_target_position[(<range>)].type[<matcher>]> |
Returns | LocationTag |
Description | Returns the location this entity is looking at, using precise ray trace (against entities) logic.
Optionally, specify a maximum range to find the target from (defaults to 200). Specify an entity type matcher to only count matches as possible ray trace hits (types not listed will be ignored). |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2169 |
Name | <EntityTag.precise_target[(<range>)].type[<matcher>]> |
Returns | EntityTag |
Description | Returns the entity this entity is looking at, using precise ray trace logic.
Optionally, specify a maximum range to find the entity from (defaults to 200). Specify an entity type matcher to only count matches as possible ray trace hits (types not listed will be ignored). |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/EntityTag.java#L2133 |
Name | <EntityTag.right_shoulder> |
Returns | EntityTag |
Mechanism | EntityTag.right_shoulder |
Description | Returns the entity on the entity's right shoulder.
Only applies to player-typed entities. NOTE: The returned entity will not be spawned within the world, so most operations are invalid unless the entity is first spawned in. |