Modify Harvest

Power Type.

Modifies whether a player is able to harvest a block or not (= receive the block drops).

Type ID: origins:modify_harvest

Fields

Field Type Default Description
block_condition Block Condition optional If set, the modification will only apply to blocks which satisfy this condition.
allow Boolean optional When true, the player will be able to harvest the blocks. When false, the player will not be able to harvest the blocks.

Example

{
    "type": "origins:modify_harvest",
    "block_condition": {
        "type": "origins:block",
        "block": "minecraft:diamond_block"
    },
    "allow": true
}

This power allow players to obtain a diamond block regardless of using a proper tool or not.