Adding and deleting items out of inventory.

Started by NinetyCal on

Topic category: Help with Minecraft modding (Java Edition)

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 ^

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"?

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. 

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