generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 171
Action On Block Break
apace100 edited this page Mar 10, 2021
·
1 revision
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).
Tutorials (Data packs)
Video Tutorial by CandyCaneCazoo
Tutorials (Add-ons)
Working with more unique powers
Lists
List of vanilla damage source names
Data Types