Prevent Block Use
Prevents the usage of blocks for the player that has the power.
Type ID: origins: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
Field | Type | Default | Description |
---|---|---|---|
block_condition |
Block Condition Type | If specified, only blocks that fulfill this condition are affected. |
Examples
{
"type": "origins:prevent_block_use",
"block_condition": {
"type": "origins:block",
"block": "minecraft:crafting_table"
}
}
This example will prevent the player from using Crafting Tables.