Breakable and Unbreakable

Started by Flojua1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Breakable and Unbreakable

How can i create a block that is for example is not breakable with a woodenpickaxe but it is breakable with a stonepickaxe

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Using procedures, you can…
Fri, 06/05/2020 - 17:31

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!

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Or... you can can set the…
Fri, 06/05/2020 - 17:56

Or... you can can set the harvest level of the block to 1 and have the material of the block be stone.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait oh I thought it was the…
Fri, 06/05/2020 - 19:57

Wait oh I thought it was the other way around XD