how to replace one item with another in an event

Started by _Cr1ssG4m3r_ on

Topic category: User side tutorials

Last seen on 15:44, 1. Apr 2023
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to replace one item with another in an event

I want to create an item, that when I press right click I change for another and the previous one is deleted in any slot of the inventory, how can I do it in the events tab?

Create a procedure in the…
Thu, 01/02/2020 - 19:16

Create a procedure in the event ”When player right-click”. After, give the new item to the player in his main hand of offhand (in checking where the player had the item), and finally, remove the item of the inventory (Put a ”Remove [item] [maximal number of item of the inventory] of the inventory”).

Last seen on 15:44, 1. Apr 2023
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you show me with…
Fri, 01/03/2020 - 23:46

Could you show me with images?