Trap
In this document, we will explain how to add a trap during arena setup in our plugin.
Command
Command to add a trap is /deathrun setup addtrap <type> (objects)
, where type
is required trap identifier and objects
is optional argument parsed individually by trap, more explanation about how trap serializer uses objects
argument is described bellow.
Trap Type | How trap serializer uses |
---|---|
APPEARING BLOCKS | Value from |
DISAPPEARING BLOCKS | Value from |
PARTICLES | Value from |
TNT | This trap type is not using this value, argument can be empty. |
ARROWS | This trap type is not using this value, argument can be empty. |
Example usages with explanation are described bellow.
Example Usage | Example Explanation |
---|---|
| All blocks in selected area will be replaced for |
| All blocks in selected area that is |
| In selected area |
| In selected area |
| All blocks that are |
| From |
Area Selection
Using WorldEdit wand selects corners of a trap region.