How can I make an item spend other items when using it?

Started by Frost_200 on Fri, 09/18/2020 - 14:39

Topic category: Help with MCreator software

Last seen on 21:39, 23. Oct 2020
Joined Jun 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can I make an item spend other items when using it?
Fri, 09/18/2020 - 14:39

Well the title says it all
I would also like to know if there is a way to use more than one item at the same time

Last seen on 11:05, 24. Oct 2020
Joined Aug 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
In the player procedures tab…
Tue, 10/20/2020 - 11:46

In the player procedures tab there is a block called Remove (1) (item type) from (Event/target entity) main inventory. By replacing the 1 with any number you can remove as many as a specific type of item from an entity's inventory. You can also get rid of items from the player's main-hand/off-hand by combining the Shrink (Provided itemstack) for (1) block found in the item procedures with the Item in main/off-hand of (Event/target entity) block found in the player procedures tab.