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.
API Surface Types
Section titled “API Surface Types”| Type | Kind | Description |
|---|---|---|
| EntityRegistry | class | Plugin-scoped registry for registering custom entity types. |
| EntityRegistration | class | Registration handle returned when a plugin registers an entity type. |
Internal Types — Module
Section titled “Internal Types — Module”| Type | Kind | Description |
|---|---|---|
| EntityModule | class | Core plugin that registers all entity ECS infrastructure. |
| EntityModule.MigrationSystem | abstract class | Base class for legacy data migration systems. |
| EntityModule.LegacyEntityHolderSystem | class | Bridges legacy Entity objects with the ECS on add/remove. |
| EntityModule.LegacyEntityRefSystem | class | Sets ECS references on legacy entity objects. |
| EntityModule.LegacyTransformSystem | class | Wires TransformComponent to legacy entities. |
| EntityModule.LegacyUUIDSystem | class | Synchronizes UUIDs between ECS and legacy entities. |
| EntityModule.LegacyUUIDUpdateSystem | class | Keeps legacy UUIDs in sync on component changes. |
| EntityModule.HiddenFromPlayerMigrationSystem | class | Deprecated migration for adventure player visibility. |
| EntityModule.TangibleMigrationSystem | class | Deprecated migration for intangible flag. |
| EntityModule.Type | enum | Scope enum: PLAYERS or ALL. |
Internal Types — Block Entity Systems
Section titled “Internal Types — Block Entity Systems”| Type | Kind | Description |
|---|---|---|
| BlockEntitySystems | class | Container for block entity ECS systems. |
| BlockEntitySystems.BlockEntitySetupSystem | class | Initializes bounding box and physics on block entity add. |
| BlockEntitySystems.BlockEntityTrackerSystem | class | Sends block entity updates to visible players. |
| BlockEntitySystems.Ticking | class | Per-tick physics for block entities. |
Internal Types — Projectile Systems
Section titled “Internal Types — Projectile Systems”| Type | Kind | Description |
|---|---|---|
| LegacyProjectileSystems | class | Container for legacy projectile ECS systems. |
| LegacyProjectileSystems.OnAddHolderSystem | class | Initializes projectile model, bounding box, and physics. |
| LegacyProjectileSystems.OnAddRefSystem | class | Validates projectile initialization. |
| LegacyProjectileSystems.TickingSystem | class | Per-tick physics and death timer for projectiles. |
Internal Types — Despawn
Section titled “Internal Types — Despawn”| Type | Kind | Description |
|---|---|---|
| DespawnComponent | class | ECS component scheduling automatic entity removal at a time instant. |
| DespawnSystem | class | Ticking system that removes entities past their despawn time. |
Internal Types — Queries
Section titled “Internal Types — Queries”| Type | Kind | Description |
|---|---|---|
| AllLegacyEntityTypesQuery | class | Deprecated query matching all legacy entity archetypes. |
| AllLegacyLivingEntityTypesQuery | class | Deprecated query matching all legacy living entity archetypes. |
Internal Types — Migration
Section titled “Internal Types — Migration”| Type | Kind | Description |
|---|---|---|
| BlockMigrationExtraInfo | class | Block 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.