Action On Block Break - apace100/origins-fabric GitHub Wiki
Power Type. Executes an entity action or a block action when the player breaks a block.
Type ID: origins:action_on_block_break
Fields:
entity_action
, Entity Action: The action to execute on the player.
block_action
, Block Action: The action to execute on the block.
block_condition
, Block Condition, optional: When set, the actions will only trigger when this block condition is met.
only_when_harvested
, boolean, default = true: If this is true, the actions will only execute when the player succeeds in harvesting the block (e.g. they will not trigger when stone is broken by hand).