SpawnUtil
Package: com.hypixel.hytale.server.core.universe.world
public final class SpawnUtilUtilities for applying spawn transforms to player entities. Used during first-join and respawn to position the player at the world’s spawn point with appropriate body and head rotation.
Methods
Section titled “Methods”| Method | Return Type | Description |
|---|---|---|
applyFirstSpawnTransform(Holder<EntityStore>, World, WorldConfig, UUID) | TransformComponent | Applies the world’s spawn provider transform to a player holder. Returns null if no spawn provider is configured. |
applyTransform(Holder<EntityStore>, Transform) | void | Applies an arbitrary transform (position and rotation) to an existing entity holder. |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.