How to replace vanilla block drops without using loot tables.

Started by OrangeAedan on

Topic category: User side tutorials

How to replace vanilla block drops without using loot tables.

For most cases, loot tables work fine. But sometimes you want to do additional stuff like placing a new block. Well, there is a simple way to do this.
First create a new procedure. Create the same thing as shown in the image. Don't forget to change the "No additional trigger" to "A block is broken"!


This version checks if you are in survival. Which you probably want. Then checks if the broken block is in this example an coal ore. Then it cancels the drop event and drops the coal item. Then it places a stone block.

This example peels the bark from a log and places a stripped oak log facing the same direction.

This example changes dirt into farmland and has a chance to drop a seed.

You can make way more versions of this. These where just a few examples. Hope this helps.