Breakable and Unbreakable

Started by Flojua1 on

Topic category: Help with modding (Java Edition)

Last seen on 22:31, 9. Feb 2022
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

Last seen on 21:25, 5. Jun 2020
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!

Last seen on 22:41, 29. Dec 2021
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.

Last seen on 21:25, 5. Jun 2020
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