Package de.Keyle.MyPet.api.entity
Interface PetAmphibiousEntity
- All Superinterfaces:
Pet,PetSwimmingEntity,Scheduler,StoredPet
Marker for pet types whose underlying vanilla mob swims in water but also
survives on land indefinitely — axolotl, drowned, frog, turtle. Sibling
to
PetAquaticEntity under the shared PetSwimmingEntity
base.
No additional config gates today — this is the architectural anchor
for a future "dynamic land/water goal switching" pass (see the Frog
"doesn't move on land" entry in docs/pet-type-issue-tracker.md).
Reclassifying these four pets out of PetAquaticEntity into this
marker is the prerequisite for PetType.isSwimmingPet() and
PetGoalInstaller to grant them ground stroll / mêlée goals
alongside the swim path.
Drowned is not biologically amphibious — it's an undead variant that happens to share the gameplay shape (swims naturally, doesn't suffocate on land). Grouping it here matches the per-pet behavior even if the name is a stretch.
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.Keyle.MyPet.api.entity.Pet
Pet.PetState, Pet.SpawnFlags -
Method Summary
Methods inherited from interface de.Keyle.MyPet.api.entity.Pet
autoAssignSkilltree, callToOwner, canMove, consumePendingSnapshot, createEntity, createEntity, decreaseSaturation, forgetTarget, getBukkitEntity, getCachedStatus, getDamage, getExperience, getLocation, getMaxHealth, getPetNavigation, getPetTarget, getRangedDamage, getSkills, getStatus, getTargetPriority, hasPetRider, hasTarget, hidePotionParticles, isHostAwaitingAdoption, isPassive, isSitting, makeSound, onInteract, onMeleeHitLanded, removeEntity, removePet, removePet, sendAway, setBukkitEntity, setExp, setHealth, setHostAwaitingAdoption, setLastUsed, setLocation, setMaxDistanceStep, setMinDistanceStep, setOwner, setPetName, setPetType, setRespawnTime, setSaturation, setSitting, setSkilltree, setSkilltree, setStatus, setTarget, setTarget, setUUID, setVolume, setWantsToRespawn, setWorldGroup, showPotionParticles, tickRespawnTimer, updateNameTag, updateVisualsMethods inherited from interface de.Keyle.MyPet.api.entity.PetSwimmingEntity
canSwimMethods inherited from interface de.Keyle.MyPet.api.entity.StoredPet
getDisplayName, getExp, getHealth, getLastUsed, getLevel, getMaxDistanceStep, getMinDistanceStep, getOwner, getPetName, getPetType, getRespawnTime, getSaturation, getSkilltree, getUUID, getVolume, getWorldGroup, skillState, wantsToRespawn