MountSystems.MountedEntityDeath
Package: com.hypixel.hytale.builtin.mounts
public static class MountedEntityDeath extends RefChangeSystem<EntityStore, DeathComponent>Dismounts an entity when it dies. Reacts to DeathComponent being added to entities that have a MountedComponent, and removes the MountedComponent via the command buffer.
Matches entities with MountedComponent.
Watched Component
Section titled “Watched Component”DeathComponent — reacts to addition only; onComponentSet and onComponentRemoved are no-ops.
Related Types
Section titled “Related Types”- MountSystems — enclosing class
- MountSystems.TeleportMountedEntity — similar dismount-on-event pattern
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.