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 673 mechanisms...
Namesend_climbable_materials
ObjectPlayerTag
InputListTag(MaterialTag)
Related Tags<server.vanilla_tagged_materials[<tag>]> Returns a list of materials referred to by the specified vanilla tag. See also 🔗https://minecraft.wiki/w/Tag.
DescriptionSends the player a list of climbable materials.
To climb a block, the player has to stand in it, which means only non-full blocks can be climbed.
Note that this gets reset once the player rejoins or once server resources are reloaded (see Event:server resources reloaded).
Example
# Lets the linked player climb iron_bars, while keeping other climbable materials climbable
- adjust <player> send_climbable_materials:<server.vanilla_tagged_materials[climbable].include[iron_bars]>
Example
# Lets the linked player climb only acacia_buttons, making all other materials non-climbable.
- adjust <player> send_climbable_materials:acacia_button
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2800