Adding and deleting items out of inventory.

Started by NinetyCal on

Topic category: Help with modding (Java Edition)

Last seen on 15:15, 17. Jun 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding and deleting items out of inventory.

I did the code for it but when I right click one of the things either doesn't spawn or replaces slot 1. this doesn't happen if there is nothing in slot 1 but does anyone know how to fix it?

https://imgur.com/a/UlgM6iw

CODE ^

Last seen on 16:28, 19. Apr 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Did you bind this code to…
Wed, 06/16/2021 - 22:10

Did you bind this code to the item in question? in Triggers as "When right clicked in air"?

Last seen on 15:51, 5. Mar 2024
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need a trigger. The way…
Thu, 06/17/2021 - 01:55

You need a trigger. The way yoy did it, just by being in the hand, that happens. 

Last seen on 15:15, 17. Jun 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have it as when right…
Thu, 06/17/2021 - 14:45

I have it as when right clicked in air