Skip to content

com.hypixel.hytale.server.core.modules.entity

Package: com.hypixel.hytale.server.core.modules.entity

The root entity module package contains the core plugin (EntityModule) that bootstraps the server’s entity system, the plugin-facing entity registration API (EntityRegistry and EntityRegistration), ECS systems for block entities and projectiles, the despawn timer system, and legacy compatibility queries. All ECS components and systems for entity lifecycle, physics, tracking, and networking are registered by EntityModule.setup().

Sub-packages (documented separately) contain specialized subsystems: components, damage, items, players, physics, tracking, teleportation, hitbox collision, repulsion, and more.

TypeKindDescription
EntityRegistryclassPlugin-scoped registry for registering custom entity types.
EntityRegistrationclassRegistration handle returned when a plugin registers an entity type.
TypeKindDescription
EntityModuleclassCore plugin that registers all entity ECS infrastructure.
EntityModule.MigrationSystemabstract classBase class for legacy data migration systems.
EntityModule.LegacyEntityHolderSystemclassBridges legacy Entity objects with the ECS on add/remove.
EntityModule.LegacyEntityRefSystemclassSets ECS references on legacy entity objects.
EntityModule.LegacyTransformSystemclassWires TransformComponent to legacy entities.
EntityModule.LegacyUUIDSystemclassSynchronizes UUIDs between ECS and legacy entities.
EntityModule.LegacyUUIDUpdateSystemclassKeeps legacy UUIDs in sync on component changes.
EntityModule.HiddenFromPlayerMigrationSystemclassDeprecated migration for adventure player visibility.
EntityModule.TangibleMigrationSystemclassDeprecated migration for intangible flag.
EntityModule.TypeenumScope enum: PLAYERS or ALL.
TypeKindDescription
BlockEntitySystemsclassContainer for block entity ECS systems.
BlockEntitySystems.BlockEntitySetupSystemclassInitializes bounding box and physics on block entity add.
BlockEntitySystems.BlockEntityTrackerSystemclassSends block entity updates to visible players.
BlockEntitySystems.TickingclassPer-tick physics for block entities.
TypeKindDescription
LegacyProjectileSystemsclassContainer for legacy projectile ECS systems.
LegacyProjectileSystems.OnAddHolderSystemclassInitializes projectile model, bounding box, and physics.
LegacyProjectileSystems.OnAddRefSystemclassValidates projectile initialization.
LegacyProjectileSystems.TickingSystemclassPer-tick physics and death timer for projectiles.
TypeKindDescription
DespawnComponentclassECS component scheduling automatic entity removal at a time instant.
DespawnSystemclassTicking system that removes entities past their despawn time.
TypeKindDescription
AllLegacyEntityTypesQueryclassDeprecated query matching all legacy entity archetypes.
AllLegacyLivingEntityTypesQueryclassDeprecated query matching all legacy living entity archetypes.
TypeKindDescription
BlockMigrationExtraInfoclassBlock identifier remapping context for data migration.
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.