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 18 mechanisms...
Nameswitched
ObjectMaterialTag
InputElementTag(Boolean)
Related Tags<MaterialTag.switched> (Property) Whether a material is 'switched on', which has different semantic meaning depending on the material type. (...)
Description(Property) Whether a material is 'switched on', which has different semantic meaning depending on the material type.
More specifically, this is whether:
- a Powerable material (like pressure plates) is activated
- an Openable material (like doors) is open
- a dispenser is powered and should dispense its contents
- a daylight sensor is inverted (detects darkness instead of light)
- a lightable block is lit
- a piston block is extended
- an end portal frame has an ender eye in it
- a hopper is NOT being powered by redstone
- a sculk_shrieker can summon a warden
Generated Example
- adjust <material[stone]> switched:true
GroupProperties
Sourcehttps://github.com/DenizenScript/Clientizen/blob/master/src/main/java/com/denizenscript/clientizen/objects/properties/material/MaterialSwitched.java#L9