MountSystems.RemoveMounted
Package: com.hypixel.hytale.builtin.mounts
public static class RemoveMounted extends RefSystem<EntityStore>Cleans up mount relationships when a mounted entity is removed from the store. On entity removal, reads the entity’s MountedComponent and delegates to MountSystems.handleMountedRemoval() to remove the passenger from the mount’s MountedByComponent or BlockMountComponent.
Matches entities with MountedComponent.
Behavior
Section titled “Behavior”- onEntityAdded: No-op.
- onEntityRemove: Delegates to
handleMountedRemoval.
Related Types
Section titled “Related Types”- MountSystems — enclosing class
- MountSystems.RemoveMountedBy — handles the reverse case (mount entity removed)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.