Class TriggerVolumeEntityRemoveSystem

java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.RefSystem<EntityStore>
com.hypixel.hytale.builtin.triggervolumes.system.TriggerVolumeEntityRemoveSystem
All Implemented Interfaces:
ISystem<EntityStore>, QuerySystem<EntityStore>

public final class TriggerVolumeEntityRemoveSystem extends RefSystem<EntityStore>
Fires EXIT for entities that are removed (despawned, picked up, unloaded) while still inside a volume. The spatial reconcile loop in TriggerVolumeTickingSystem can only fire EXIT for entities whose ref is still valid; a removed entity's ref is invalidated before the next tick, so this RefSystem catches the removal while the ref and TransformComponent are still readable and runs the same exit path.