Name | AdjustBlock |
Related Guide Page | https://guide.denizenscript.com/guides/basics/mechanisms.html |
Syntax | adjustblock [<location>|...] [<mechanism>](:<value>) (no_physics) |
Short Description | Adjusts a mechanism on the material of a block at the location. |
Full Description | Adjusts a mechanism on the material of a block at the location.
That is, an equivalent to adjust, but that directly applies a "MaterialTag" mechanism onto a block. Input a location or list of locations, and the mechanism to apply. Use the "no_physics" argument to indicate that the change should not apply a physics update. If not specified, physics will apply to the block and nearby blocks. |
Related Tags | <LocationTag.material> Returns the material of the block at the location.
|
Usage Example |
|
Usage Example |
|
Group | core |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/scripts/commands/world/AdjustBlockCommand.java#L30 |