Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 3 out of 2487 tags...

Categories:

VectorObject | LocationTag



Category: VectorObject


Name<VectorObject.x>
ReturnsElementTag(Decimal)
DescriptionReturns the X coordinate of this object.
Generated Example
- narrate "the decimal value is <location[1,2,3].x>"
Groupidentity
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/VectorObject.java#L77

Name<VectorObject.xyz>
ReturnsElementTag
DescriptionReturns the basic vector in "x,y,z" format.
For example: 1,2,3
Other values, such as world, yaw, and pitch will be excluded from this output.
Generated Example
- narrate <location[1,2,3].xyz>
Groupidentity
Sourcehttps://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/VectorObject.java#L110



Category: LocationTag


Name<LocationTag.xp_drop[(<item>)]>
ReturnsElementTag(Number)
DescriptionReturns how much experience, if any, the block at the location would drop if broken naturally.
Returns 0 if a block wouldn't drop xp.
Optionally specifier a breaker item.
Not guaranteed to contain exactly the amount that actual drops if then broken later, as the value is usually randomized.
Generated Example
- narrate "the number value is <player.location.xp_drop>"
Groupworld
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java#L1464