Prevent Block Selection (Power Type)
Prevents the selection of blocks for the player that has the power.
Prevents the selection of blocks for the player that has the power.
Type ID: apoli:prevent_block_selection
!!! note
Preventing the “selection” of a block means that the player won’t be able to mine or interact with the said block; meaning that actions will pass through the block to whatever is behind the said block.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
block_condition | Block Condition Type | optional | If specified, only blocks that fulfill this condition are affected. |
Examples
{
"type": "apoli:prevent_block_selection",
"block_condition": {
"type": "apoli:in_tag",
"tag": "origins:cobwebs"
},
"condition": {
"type": "apoli:sneaking",
"inverted": true
}
} This example will prevent the selection of cobwebs (including the Temporary Cobweb block from the Arachnid’s power), allowing the player to punch through them, unless they sneak.