Class InventorySystems.ActiveSlotChangedEntityHolderEventSystem

All Implemented Interfaces:
ISystem<EntityStore>, QuerySystem<EntityStore>
Enclosing class:
InventorySystems

public static class InventorySystems.ActiveSlotChangedEntityHolderEventSystem extends EntityHolderEventSystem<EntityStore, InventorySetActiveSlotEvent>
Invalidates the entity's equipment network and schedules a stat-modifier recalculation whenever the active slot in any inventory section changes for a holder-based entity.

For hotbar and utility sections, any entity stats declared by the newly active item as needing clearing are also queued for removal.