Class EntityTrackerSystems.RemoveVisibleComponent

java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.HolderSystem<EntityStore>
com.hypixel.hytale.server.core.modules.entity.tracker.EntityTrackerSystems.RemoveVisibleComponent
All Implemented Interfaces:
ISystem<EntityStore>, QuerySystem<EntityStore>
Enclosing class:
EntityTrackerSystems

public static class EntityTrackerSystems.RemoveVisibleComponent extends HolderSystem<EntityStore>
This system removes the EntityTrackerSystems.Visible component from entities when they are removed from the store.

This is because the entity shouldn't track its visible state when outside the world to ensure that when added back the entity tracker can correctly compute who the entity is visible to.