Class InventorySystems.ActiveSlotChangedToolsEventSystem

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

public static class InventorySystems.ActiveSlotChangedToolsEventSystem extends EntityEventSystem<EntityStore, InventorySetActiveSlotEvent>
Clears the InventoryComponent.Tool.isUsingToolsItem() flag when the entity switches to a hotbar slot, ensuring the hotbar item becomes the active hand again.