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 Type 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.

Examples

{
    "type": "origins:modify_harvest",
    "block_condition": {
        "type": "origins: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.