How can I make this

Started by Xedroc on

Topic category: General discussion

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make this

I want to make a procedure that makes a tool able to give you an item when an specific block is destroyed.

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On Block Destroyed: if item…
Thu, 12/05/2019 - 10:41

On Block Destroyed:

if item in main hand = (Your item)

spawn gem at xyz.

---

Make sure to use the single = operator (and not the ==) as == would prevent the if statement from returning True if the item isn't at full durability.