Name | <MaterialTag.attached> |
Returns | ElementTag(Boolean) |
Mechanism | MaterialTag.attached |
Description | (Property) Returns whether a material is attached.
For a lantern, this sets whether it is hanging from the ceiling. For a gate, this sets whether it is lowered to attach to a wall block. For a mangrove_propagule, this sets whether it is hanging from the block above it. For a tripwire, this sets whether a tripwire hook or string forms a complete tripwire circuit and is ready to trigger. Updating the property on a tripwire hook will change the texture to indicate a connected string, but will not have any effect when used on the tripwire string itself. It may however still be used to check whether the string forms a circuit. For hanging signs, this affects signs hanging below a block and changes whether the chains are vertical (false) or diagonal (true). |
Generated Example |
|
Group | Properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialAttached.java#L17 |