Name | <MaterialTag.direction> |
Returns | ElementTag |
Mechanism | MaterialTag.direction |
Description | Returns the current facing direction for a directional material (like a door or a bed).
This includes materials that Spigot classifies as "directional", "orientable", or "rotatable", as well as rails, dripstone, and jigsaw blocks. Output is a direction name like "NORTH", or an axis like "X", or a rail direction like "ASCENDING_NORTH". |
Generated Example |
|
Group | properties |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/material/MaterialDirectional.java#L111 |