Name | add_member |
Object | CuboidTag |
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.
|
Description | Adds a sub-member to the cuboid (optionally at a specified index - otherwise, at the end).
Input is of the form like "2,cu@..." 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). |
Example |
|
Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/CuboidTag.java#L1787 |