Skip to content

StatePair

Package: com.hypixel.hytale.server.npc.asset.builder

public class StatePair

An immutable tuple holding a full state name string and its resolved main state and sub-state integer indices. Used by BuilderModifier for exported state mappings and by BuilderSupport for mapped state pair resolution.

public StatePair(String fullStateName, int state, int subState)
public String getFullStateName()

Returns the original state name string (e.g., "idle.Default").

public int getState()

Returns the main state index.

public int getSubState()

Returns the sub-state index.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.