Made using the Darkly Bootstrap Theme by Thomas Park, which was released under the MIT License.ĭenizenMetaWebsite is Copyright (C) 2021-2022 The Denizen Script Team, All Rights Reserved. Theme: Standard Dark, created by Alex 'mcmonkey' Goodwin You can find DenizenMetaWebsite on GitHub, or talk to us on Discord. switch ĭenizenMetaWebsite (the Denizen Meta-Documentation Website), developed by Alex "mcmonkey" Goodwin on behalf of the Denizen Script team, is a website to let you browse through the Denizen meta-documentation. #Toggle a block at the player's foot location. #Opens a door that the player is looking at. #At the player's location, switch the state of the block to on, no matter what state it was in before. Returns whether a material is 'switched on', which has different semantic meaning depending on the material type. Returns whether the block at the location is considered to be switched on. Optionally specify 'no_physics' to not apply a physics update after switching. (so it will open and close doors, flip levers on and off, press and depress buttons. This will generally (but not always) function equivalently to a user right-clicking the block Almost any other block with an interaction handler. Bells as a special case will ring when you use 'switch' on them. Learn about how commands work in The Beginners Guide. Single-use interactables like buttons, note blocks, dispensers, droppers. Denizen Script Commands Commands are always written with a - before them, and are the core component of any script, the primary way to cause things to happen. the standard toggling levers, doors, gates. Works on any interactable blocks, including: Optionally specify the "duration" argument to set a length of time after which the block will return to the original state. Optionally specify "state:on" to turn a block on (or open it, or whatever as applicable) or "state:off" to turn it off (or close it, etc).īy default, will toggle the state (on to off, or off to on). Switch (state : /on /off) (duration : ) (no_physics)Ĭhanges the state of a block at the given location, or list of blocks at the given locations. Learn about how commands work in The Beginner's Guide. Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |