BetaOptional BetabeforeOptional BetaonThis function will be called when a specific block is destroyed. Changes in block permutations will not trigger this event. Fill Command and SetBlock Command can trigger this event when changing a block permutation only when using destroy mode. Custom blocks with the "minecraft:replaceable" component will not trigger the event when replaced.
Optional BetaonOptional BetaonOptional BetaonOptional BetaonOptional BetaonOptional BetaonOptional BetaonOptional Betaon
Contains a set of events that will be raised for a block. This object must be bound using the BlockRegistry.