Modify Harvest (Power Type)
Modifies whether a player is able to harvest a block or not (= receive the block drops).
Modifies whether a player is able to harvest a block or not (= receive the block drops).
Type ID: apoli:modify_harvest
Fields
| Field | Type | Default | Description |
|---|---|---|---|
block_condition | Block Condition Type | optional | If specified, only blocks that fulfill this condition are affected. |
allow | Boolean | Determines whether the player is be able to harvest the block. |
Examples
{
"type": "apoli:modify_harvest",
"block_condition": {
"type": "apoli:block",
"block": "minecraft:diamond_block"
},
"allow": true
} This example will allow players to harvest a Diamond Block regardless of using the proper tool or not.