You may be getting confused with the (badly named?) OpenInventoryEvent, which is the event for a player/creature to open another inventory (currently chests or minions), which is why two inventory entities are involved. As opposed to just opening the inventory which doesn't use an event at the...