Started by
Flojua1
on
Topic category: Help with Minecraft modding (Java Edition)
How can i create a block that is for example is not breakable with a woodenpickaxe but it is breakable with a stonepickaxe
Topic category: Help with Minecraft modding (Java Edition)
How can i create a block that is for example is not breakable with a woodenpickaxe but it is breakable with a stonepickaxe
Using procedures, you can check the mining level of a block.
1. Make a procedure with global trigger "A block is broken"
2. Check the block type, if it is your custom block continue
3. If your the mining level of a tool is bigger than 0 (not 0), don't do anything.
4. Else, remove the block and spawn break particles
Hope this helped!
Or... you can can set the harvest level of the block to 1 and have the material of the block be stone.
Wait oh I thought it was the other way around XD