Interface SkillState

All Known Implementing Classes:
Backpack.State, Beacon.State, Behavior.State, Pickup.State, ToggleableSkill.ToggleState

public interface SkillState
Marker interface for the typed, immutable state record exposed by a Skill. Each stateful skill defines its own nested record State(...) implements SkillState and registers a SkillStateCodec via SkillManager.registerCodec(java.lang.Class<S>, java.lang.Class<T>, de.Keyle.MyPet.api.skill.SkillStateCodec<T>) so persisted pets can hand callers a typed snapshot without parsing raw NBT.

Replaces the pre-4.0.0 StoredPet.getSkillInfo() escape hatch: callers ask for Pet.State.class and get a shape the skill author owns — not a vendor-shaped CompoundBinaryTag.