Package de.Keyle.MyPet.api.lifecycle
package de.Keyle.MyPet.api.lifecycle
Per-pet-type hooks fired when a pet spawns and despawns.
A PetLifecycleHook is declared as a public static final field on the
matching PetXxx class and registers itself through
PetLifecycleHookRegistry, which is how species-specific spawn setup and despawn
cleanup stay on the class they belong to.
-
ClassesClassDescriptionPer-pet-type runtime hook fired when a pet spawns and despawns.Central registry of every
PetLifecycleHookdeclared as a static field on a pet class.