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 1 out of 2425 tags...
Name<TradeTag.has_xp>
ReturnsElementTag(Boolean)
MechanismTradeTag.has_xp
Description(Property) Sets whether this trade will reward XP upon successful trading.
Generated Example
- if <trade[trade[result=diamond;max_uses=10;inputs=stick]].has_xp>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/trade/TradeHasXp.java#L9