One use item

Started by Magiks on Sun, 02/10/2019 - 15:03

Topic category: Help with MCreator software

Last seen on 20:36, 11. Feb 2019
Joined Feb 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
One use item
Sun, 02/10/2019 - 15:03

For example I have 45 of an item, and when I right click on the item it goes to 44 and so on, how do I code this?

Last seen on 20:32, 30. Nov 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just set max item damage and…
Sun, 02/10/2019 - 19:04

Just set max item damage and then use procedure damage item to damage it.

Last seen on 20:36, 11. Feb 2019
Joined Feb 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Worked ,thanks
Sun, 02/10/2019 - 20:56

Worked ,thanks

Last seen on 21:45, 23. Sep 2019
Joined Sep 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
What i did was something…
Sun, 02/10/2019 - 21:02

What i did was something along the lines of "when (insert item here) is used, remove 1 (same item) from player inventory"