Prevent Block Use (Power Type)

Prevents the usage of blocks for the player that has the power.

Prevents the usage of blocks for the player that has the power.

Type ID: apoli:prevent_block_use

!!! note

Preventing the “usage” of a block means that the player won’t be able to interact (right-click) with the said block.

Fields

FieldTypeDefaultDescription
block_conditionBlock Condition TypeIf specified, only blocks that fulfill this condition are affected.

Examples

{
    "type": "apoli:prevent_block_use",
    "block_condition": {
      "type": "apoli:block",
      "block": "minecraft:crafting_table"
    }
}

This example will prevent the player from using Crafting Tables.