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

FieldTypeDefaultDescription
block_conditionBlock Condition TypeoptionalIf specified, only blocks that fulfill this condition are affected.
allowBooleanDetermines 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.