Remove Item from Closed Inventory

Started by Samozoid on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Remove Item from Closed Inventory

Hi, 

I'm using the curios plugin and trying to create a quiver where when you use a bow it will dispense an arrow automatically from the inventory of the item by removing the item from the inventory and then adding an arrow to the main inventory.

It's supposed to remove the item from the inventory when closed but it is not working. How do I do this? I can only do this when the inventory is opened which is impossible when using a bow.