Denizen Script Mechanisms


Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.


Showing 1 out of 652 mechanisms...
Namefirework_power
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.firework_power> (Property) Returns the firework's power. (...)
Description(Property) Sets the firework's power.
Power primarily affects how high the firework flies, with each level of power corresponding to approximately half a second of additional flight time.
Generated Example
- adjust <player.item_in_hand> firework_power:4
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemFireworkPower.java#L10