Breakable and Unbreakable

Started by Flojua1 on Fri, 06/05/2020 - 16:44

Topic category: Help with modding (Java Edition)

Last seen on 18:57, 21. Aug 2020
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Breakable and Unbreakable
Fri, 06/05/2020 - 16:44

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:
  • Tracker tickets:
  • 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:23, 24. Jul 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:
  • Tracker tickets:
  • 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