Skip to content

MountSystems.RemoveMountedHolder

Package: com.hypixel.hytale.builtin.mounts

public static class RemoveMountedHolder extends HolderSystem<EntityStore>

Strips the MountedComponent from the entity holder during entity removal. This ensures the component is removed at the holder level (pre-archetype), complementing the ref-level cleanup in RemoveMounted.

Matches entities with MountedComponent.

  • onEntityAdd: No-op.
  • onEntityRemoved: Calls holder.removeComponent(mountedComponentType).
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.