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 625 mechanisms...
Nameremove_member
ObjectCuboidTag
InputElementTag(Number)
Related Tags<CuboidTag.remove_member[<#>]> Returns a modified copy of this cuboid, with member at the input index removed.
DescriptionRemove a sub-member from the cuboid at the specified index.
Example
# Removes the second member from "my_cuboid" and narrates a formatted list of members.
# For example, if "my_cuboid" is "world,5,5,5,10,10,10" and it's second member is "world,12,12,12,22,22,22",
# after the member is removed then this will narrate "world,5,5,5,10,10,10".
- adjust <cuboid[my_cuboid]> remove_member:2
- narrate <cuboid[my_cuboid].list_members.formatted>
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1834