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 524 mechanisms...
Nameadd_member
ObjectCuboidTag
Input(#,)CuboidTag
Related Tags<CuboidTag.get> Returns a cuboid representing the one component of this cuboid (for cuboids that contain multiple sub-cuboids).
<CuboidTag.add_member[<cuboid>]> Returns a modified copy of this cuboid, with the input cuboid(s) added at the end.
<CuboidTag.add_member[<cuboid>].at[<#>]> Returns a modified copy of this cuboid, with the input cuboid(s) added at the specified index.
DescriptionAdds a sub-member to the cuboid (optionally at a specified index - otherwise, at the end).
Input is of the form like "2,[email protected]" where 2 is the sub-cuboid index, or just a direct CuboidTag input.
Note that the index is where the member will end up. So, index 1 will add the cuboid as the very first member (moving the rest up +1 index value).
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1518