#Checking for an item moving in or out from an inventory

5 messages · Page 1 of 1 (latest)

inner forge
#

Trying to work out a system that's gonna modify a piece of player's persistentData whenever an item moves in or out from the inventory. pickedUp and dropped events don't quite work; they ignore movements between inventories like chests and block GUIs. inventoryChanged doesn't work either, as it would require to have a parameter for event that somehow points to the slot the item came from, which is not a thing AFAIK. Can this be achieved with just complex code logic (a thing I haven't been able to get done so far) or am I just missing something?

whole oreBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

inner forge
#

Of course, I'm trying to avoid scanning for the player's inventory every second

#

which would be a solution

inner forge
#

Feel free to ping me in case anyone wants to chime in