Skip to content

SpawnUtil

Package: com.hypixel.hytale.server.core.universe.world

public final class SpawnUtil

Utilities 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.

MethodReturn TypeDescription
applyFirstSpawnTransform(Holder<EntityStore>, World, WorldConfig, UUID)TransformComponentApplies the world’s spawn provider transform to a player holder. Returns null if no spawn provider is configured.
applyTransform(Holder<EntityStore>, Transform)voidApplies 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.