Class BagItemEvent.CollectItems

java.lang.Object
net.minecraftforge.eventbus.api.Event
Direct Known Subclasses:
BagItemEvent.CollectItems.Post, BagItemEvent.CollectItems.Pre
Enclosing class:
BagItemEvent

public static class BagItemEvent.CollectItems extends BagItemEvent
The event relating to when the server determines what items the server has in their inventory to then return to the client, so that they can be displayed on the screen during that turn.

This is called at the end of each turn (and beginning of battle) so that the inventory can be updated and cached on the client