Index

A B C D E F G H I J K L M N O P R S T U V W Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

Absorption - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The absorption( potion effect.
AbstractNavigation - Class in de.Keyle.MyPet.api.entity.ai.navigation
Abstraction over the pathfinding/movement system for a pet entity.
AbstractNavigation(double) - Constructor for class de.Keyle.MyPet.api.entity.ai.navigation.AbstractNavigation
Creates a navigation instance with default parameters at the given base walk speed.
AbstractNavigation(NavigationParameters) - Constructor for class de.Keyle.MyPet.api.entity.ai.navigation.AbstractNavigation
Creates a new AbstractNavigation instance.
accept(E, Pet, Mob) - Method in interface de.Keyle.MyPet.api.behavior.PetEventHandler
Handles one event on one pet.
activate() - Method in interface de.Keyle.MyPet.api.skill.ActiveSkill
Attempts to activate this skill's effect.
activate(Load.State) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
Activates the services registered for one startup phase.
activatePet(StoredPet) - Method in class de.Keyle.MyPet.api.repository.PetManager
Activates a stored pet — creates the live Pet instance, registers it in the active map, and spawns the entity if possible.
active() - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.State
Returns the value of the active record component.
active() - Method in record class de.Keyle.MyPet.api.skill.skills.Pickup.State
Returns the value of the active record component.
ACTIVE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Fishing
Whether the Fishing skill works at all on this server.
ACTIVE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Lumberjack
Whether the Lumberjack skill works at all on this server.
ACTIVE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Mining
Whether the Mining skill works at all on this server.
ActiveSkill - Interface in de.Keyle.MyPet.api.skill
Marker interface for skills that can be manually activated by the player (e.g., via a command or hotkey).
actsAs(String) - Method in class de.Keyle.MyPet.api.entity.PetType
Whether per-type logic registered under typeName applies to this type: its own name, or the name of its host type.
add(TagResolver) - Method in class de.Keyle.MyPet.api.gui.PlaceholderCatalog
Adds a resolver to this catalog.
Add - Enum constant in enum class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier.Type
Adds the modifier value to the current parameter value.
Add - Enum constant in enum class de.Keyle.MyPet.api.skill.UpgradeComputer.CallbackReason
An upgrade was applied.
addCallback(UpgradeComputer.UpgradeCallback<T>) - Method in class de.Keyle.MyPet.api.skill.UpgradeComputer
Registers a callback to be notified whenever the computed value changes.
addCustomExperience(MonsterExperience) - Static method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Registers a custom mob experience entry, keyed by the entry's identifier.
addDamageToEntity(LivingEntity, LivingEntity, double) - Static method in class de.Keyle.MyPet.api.skill.PetExperience
Records damage dealt by damager to victim.
addDescription(String[]) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Appends multiple lines to the description.
addDescriptionLine(String) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Appends a single line to the description.
addDrop(Sniff.DropEntry) - Method in interface de.Keyle.MyPet.api.skill.skills.Sniff
Adds a drop entry to this pet's pool (called per granted skilltree level).
addEntry(Potion.Entry) - Method in interface de.Keyle.MyPet.api.skill.skills.Potion
Adds a permitted potion to the arsenal (called as the skilltree upgrades apply).
addExp(double) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Adds raw experience without applying modifiers.
addExp(double, boolean) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Adds experience, optionally passing it through all registered modifiers first.
addExp(double, double, boolean) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Awards a percentage of an ALREADY-ROLLED mob XP value, optionally with modifiers.
addExp(Entity) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Awards experience based on the given entity's mob-type XP value (looked up via MonsterExperience).
addExp(Entity, boolean) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Awards experience based on the given entity's mob-type XP value, optionally applying modifiers.
addExp(Entity, int) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Awards a percentage of the entity's mob-type XP value without modifiers.
addExp(Entity, int, boolean) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Awards a percentage of the entity's mob-type XP value, optionally with modifiers.
addExtendedInfo(Plugin, String, BinaryTag) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Stores a per-addon NBT value on this player.
addFood(PetType, ConfigItem) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Adds a food item if not already registered (duplicate-safe).
Adding the dependency - Search tag in Overview
Section
addItem(ItemStack) - Method in interface de.Keyle.MyPet.api.skill.skills.Backpack
Adds an item to the backpack and persists the result, unlike the transient Backpack.getInventory() view.
addItem(ItemStack) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Attempts to add the provided item stack to the inventory.
AdditiveModifier - Class in de.Keyle.MyPet.api.skill.experience.modifier
An experience modifier that adds a fixed amount to the incoming experience value.
AdditiveModifier() - Constructor for class de.Keyle.MyPet.api.skill.experience.modifier.AdditiveModifier
Creates an additive modifier with a bonus of 0 (no-op).
AdditiveModifier(double) - Constructor for class de.Keyle.MyPet.api.skill.experience.modifier.AdditiveModifier
Creates an additive modifier with the specified bonus.
addLeashFlagSetting(PetType, Settings) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Adds a leash flag to the conditions checked before this type can be tamed.
addLore(List<String>) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Appends all lines from the given list to the legacy lore.
addLoreLine(String) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Appends a legacy lore line (supports embedded \n).
addLoreLine(String, int) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Inserts a legacy lore line at the given index.
addLoreLine(Component) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Appends a Component lore line.
addModifier(String, ExperienceModifier) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Registers (or replaces) a named experience modifier.
addNotification(LevelRule, String) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Registers a notification message to be displayed when the given level rule matches.
addRequirementSettings(Settings) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Adds a requirement configuration block that will be evaluated by the named Requirement.
addSpeedModifier(String, double) - Method in class de.Keyle.MyPet.api.entity.ai.navigation.NavigationParameters
Adds or replaces a named speed modifier.
addTag(String, BinaryTag) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Adds a custom NBT tag entry to this item's tag compound.
addToOpenStorage(Player, Pet, ItemStack) - Method in interface de.Keyle.MyPet.api.gui.GuiService
Inserts item into the live storage of the menu viewer currently has open for pet (e.g.
addUpgrade(UpgradeModifier<T>) - Method in class de.Keyle.MyPet.api.skill.UpgradeComputer
Appends a single modifier to the history, updates the current value by applying it, and notifies all callbacks with UpgradeComputer.CallbackReason.Add.
addUpgrade(LevelRule, Upgrade<?>) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Registers an upgrade to be applied whenever the given level rule matches.
addUpgrades(Collection<UpgradeModifier<T>>) - Method in class de.Keyle.MyPet.api.skill.UpgradeComputer
Appends multiple modifiers to the history in order, recomputes the current value, and notifies callbacks once with UpgradeComputer.CallbackReason.Add.
addWorld(String) - Method in class de.Keyle.MyPet.api.WorldGroup
Adds a world to this group, unless another group already claims it.
ADMIN_COMMAND - Enum constant in enum class de.Keyle.MyPet.api.event.PetCreateEvent.Source
An admin created the pet through a command.
ADMIN_COMMAND - Enum constant in enum class de.Keyle.MyPet.api.event.PetRemoveEvent.Source
An admin removed the pet through a command.
ADMIN_COMMAND - Enum constant in enum class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent.Source
An admin assigned it through a command.
ADMIN_CREATION - Enum constant in enum class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent.Source
Assigned as the initial tree during admin pet creation.
AdminPermissions - Class in de.Keyle.MyPet.api.player
Single source of truth for MyPet admin permission node strings + parent-gate helper.
AFFECT_BEACON_RANGE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.HungerSystem
Whether saturation affects the radius of the Beacon skill.
AFFECT_RIDE_SPEED - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.HungerSystem
Whether saturation affects how fast a ridden pet moves.
Aggressive - Enum constant in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
Autonomous aggression toward configured mob types.
Aggressive - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Behavior.BehaviorMode
The pet attacks everything within 15 blocks of its owner.
ALEX - Enum constant in enum class de.Keyle.MyPet.api.gui.HeadSkin
Mojang's default Alex texture.
all() - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorRegistry
Returns a snapshot of every registered behavior.
all() - Static method in class de.Keyle.MyPet.api.config.ConfigKeyRegistry
Returns a snapshot of every registered key.
all() - Static method in class de.Keyle.MyPet.api.entity.PetType
Returns a mutable copy of all registered types in insertion order.
all() - Static method in class de.Keyle.MyPet.api.gui.SectionTypeRegistry
Returns every registered section type.
all() - Static method in class de.Keyle.MyPet.api.listener.PetListenerRegistry
Returns a snapshot of every registered supplier in registration order.
all() - Method in class de.Keyle.MyPet.api.skill.Skills
Returns all skill instances in this container.
ALLOW_LEVEL_DOWNGRADE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience
Whether losing experience may cost a pet whole levels.
ALLOW_RANGED_LEASHING - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether players may catch pets with projectiles when the leash item is a bow.
AllowedHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook checks if a player is in any a place where he is allowed to have a pet
allowLightningConversion() - Method in interface de.Keyle.MyPet.api.entity.PetLightningConvertible
Whether a lightning strike may convert this pet to its other species.
allowMetamorphosis() - Method in interface de.Keyle.MyPet.api.entity.PetMetamorphic
Whether this pet may mature into its successor species.
allowZombification() - Method in interface de.Keyle.MyPet.api.entity.PetZombifiable
Whether this pet may convert to its zombified form in the Overworld.
AlreadyHere - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
The pet's entity is already in the world.
alsoWhileDespawning() - Method in class de.Keyle.MyPet.api.behavior.PetBehavior
Keeps this behavior applying to a pet's host while it plays its despawn animation.
ALWAYS_GRANT_PASSIVE_XP - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience
Whether a pet earns passive experience from its owner's kills even when it has a damage skill of its own.
amount - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Stack size shown on the slot.
amount() - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Returns the value of the amount record component.
amountMax() - Method in record class de.Keyle.MyPet.api.skill.skills.Sniff.DropEntry
Returns the value of the amountMax record component.
amountMin() - Method in record class de.Keyle.MyPet.api.skill.skills.Sniff.DropEntry
Returns the value of the amountMin record component.
animationLength(Pet, String) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Best-effort length, in ticks, of a named animation on the pet's model; empty if the provider can't report it (callers fall back to a fixed delay).
AnnotationLookup - Class in de.Keyle.MyPet.api.util
Resolve an annotation-carried name (e.g.
ANVIL - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
The a n v i l( workstation.
appliesWhileDespawning() - Method in class de.Keyle.MyPet.api.behavior.PetBehavior
Whether the dispatcher also fires this behavior for a host that is still playing its despawn animation after its pet has been despawned.
apply(LivingEntity) - Method in interface de.Keyle.MyPet.api.skill.OnHitSkill
Applies this skill's effect to the target that the pet just hit.
apply(LivingEntity, EntityDamageByEntityEvent) - Method in interface de.Keyle.MyPet.api.skill.OnDamageByEntitySkill
Applies this skill's reactive effect.
apply(T) - Method in interface de.Keyle.MyPet.api.skill.Upgrade
Applies this upgrade's modifiers to the given skill (e.g.
applyNavigationParameters() - Method in class de.Keyle.MyPet.api.entity.ai.navigation.AbstractNavigation
Pushes the current NavigationParameters (speed, modifiers, water-avoidance) onto the underlying Bukkit mob.
applyState(SkillState) - Method in interface de.Keyle.MyPet.api.skill.skilltree.Skill
Absorbs a previously persisted SkillState back into the live skill's mutable fields.
Armor - Interface in de.Keyle.MyPet.api.skill.skills
Skill that grants the pet vanilla armor points and armor toughness via attribute modifiers, so incoming damage (melee, projectiles, explosions) is reduced by Minecraft's own armor formula.
Arrow - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Launches an arrow.
asString() - Method in class de.Keyle.MyPet.api.util.configuration.settings.Setting
Raw string content of this entry.
ASYNC - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Update
Whether an update downloads in the background instead of holding up server start.
attach(Pet, String) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Render modelId on the pet's live host mob and hide the host.
AUTO - Enum constant in enum class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent.Source
Assigned automatically, such as the only or default tree for the world group.
autoAssignSkilltree() - Method in interface de.Keyle.MyPet.api.entity.Pet
Attempts to auto-assign a skilltree based on permission or config rules.
AUTOMATIC_SKILLTREE_ASSIGNMENT - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree
Whether a skilltree is assigned automatically when a pet is leashed.
availableModels() - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
All model ids this provider has registered; empty if none are loaded or the provider is not ready.
availableSources() - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelSourceHook
Adoptable creature ids (MythicMob internal names / ItemsAdder entity namespaced ids); empty if unavailable.
avoidWater() - Method in class de.Keyle.MyPet.api.entity.ai.navigation.NavigationParameters
Whether pathfinding should penalize water blocks.
avoidWater(boolean) - Method in class de.Keyle.MyPet.api.entity.ai.navigation.NavigationParameters
Whether pathfinding should penalize water blocks.

B

babyPrice() - Element in annotation interface de.Keyle.MyPet.api.entity.ShopInfo
The price for the baby variant in the babies shop.
babyScale() - Element in annotation interface de.Keyle.MyPet.api.entity.DefaultInfo
Size multiplier for a baby of this pet type when its Bukkit mob has no vanilla baby state (it is not Ageable), applied as a transient minecraft:scale modifier.
Backpack - Interface in de.Keyle.MyPet.api.skill.skills
Skill that grants the pet a portable inventory (backpack) which the owner can open to store and retrieve items.
BACKPACK - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
A pet's backpack contents.
Backpack.State - Record Class in de.Keyle.MyPet.api.skill.skills
Snapshot of a Backpack skill's persisted or live contents as a raw item array.
band(int, int, double) - Static method in class de.Keyle.MyPet.api.entity.PetDistanceMath
Resolves both scales for one pet.
Band(double, double, double) - Constructor for record class de.Keyle.MyPet.api.entity.PetDistanceMath.Band
Creates an instance of a Band record class.
Beacon - Interface in de.Keyle.MyPet.api.skill.skills
Skill that allows the pet to act as a mobile beacon, periodically applying configurable potion-effect buffs to nearby players.
BEACON - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The buff picker for the Beacon skill.
Beacon.Buff - Enum Class in de.Keyle.MyPet.api.skill.skills
Enumerates the potion-effect buffs that the Beacon skill can apply.
Beacon.BuffReceiver - Enum Class in de.Keyle.MyPet.api.skill.skills
Determines which players receive the beacon's potion-effect buffs.
Beacon.MenuContext - Record Class in de.Keyle.MyPet.api.skill.skills
Context for the Beacon buff-selection menu.
Beacon.State - Record Class in de.Keyle.MyPet.api.skill.skills
Snapshot of a Beacon skill's persisted or live state — the player-chosen buffs, the toggle, and the receiver scope.
BeaconHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines hooks that control beacon skill behavior in regions
Behavior - Interface in de.Keyle.MyPet.api.skill.skills
Skill that controls the pet's combat behavior mode.
Behavior.BehaviorMode - Enum Class in de.Keyle.MyPet.api.skill.skills
Enumerates the possible pet behavior modes.
Behavior.State - Record Class in de.Keyle.MyPet.api.skill.skills
Snapshot of a Behavior skill's selected mode (persisted or live).
Bigger - Enum constant in enum class de.Keyle.MyPet.api.util.ConfigItem.DurabilityMode
Matches when the held item's durability is higher than the configured one's.
bindPetToWorldGroup(WorldGroup, UUID) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Binds an ADDITIONAL pet to the world group, keeping any pets already bound.
bindPetToWorldGroup(String, UUID) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Binds an ADDITIONAL pet to the world group, keeping any pets already bound.
Bleed - Interface in de.Keyle.MyPet.api.skill.skills
Skill that gives the pet a chance to inflict a bleeding damage-over-time effect on hit targets.
bool(String) - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Declares a true/false field.
bool(String, String, boolean) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
Boolean key with explicit default.
BOOLEAN - Enum constant in enum class de.Keyle.MyPet.api.skill.UpgradeSchema.FieldType
A true/false flag.
boolValue(Class<? extends Pet>, String, boolean) - Static method in class de.Keyle.MyPet.api.config.PetConfigLookup
Returns the boolean value for (petClass, key) from the registry, or fallback if no such key is registered (e.g.
BorderSection - Record Class in de.Keyle.MyPet.api.gui
Outer-ring decoration.
BorderSection(String, SectionType<BorderSection>, int, ItemAppearance) - Constructor for record class de.Keyle.MyPet.api.gui.BorderSection
Rejects a thickness below 1 or an absent item.
buffs() - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.State
Returns the value of the buffs record component.
build() - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Builds the pet.
build() - Method in class de.Keyle.MyPet.api.gui.PlaceholderCatalog
Combines everything added so far into one resolver.
build() - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Builds the schema.
builder() - Static method in class de.Keyle.MyPet.api.skill.UpgradeSchema
Starts building a schema.
builder(MyPetPlayer) - Static method in record class de.Keyle.MyPet.api.entity.PersistedPet
Starts building a pet for the given owner.
Bukkit - Enum constant in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
External target set by another plugin via the Bukkit API.
bukkitMeta - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Bukkit meta copied from a source item, applied on top of the fields above.
byEntityTypeName(String) - Static method in class de.Keyle.MyPet.api.entity.PetType
Looks up a type by its Bukkit EntityType enum name (UPPER_SNAKE_CASE, case-insensitive).
byEntityTypeNameOrNull(String) - Static method in class de.Keyle.MyPet.api.entity.PetType
Looks up a type by its Bukkit entity name, returning null instead of throwing if the type is not registered.
byId(String) - Static method in class de.Keyle.MyPet.api.gui.SectionTypeRegistry
Looks a section type up by id.
byName(String) - Static method in class de.Keyle.MyPet.api.entity.PetType
Looks up a type by its CamelCase name (case-insensitive).
byNameOrNull(String) - Static method in class de.Keyle.MyPet.api.entity.PetType
Looks up a type by name, returning null instead of throwing if the type is not registered.
BYPASS_CREATIVE - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to open a pet backpack while in creative mode.
BYPASS_DEATH - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to ignore the respawn timer and its cost.
BYPASS_FEE - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to ignore the skilltree switch fee.
BYPASS_INVENTORY - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to open a pet backpack the rules would otherwise close.
BYPASS_SKILLTREE - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to ignore skilltree requirements.
BYTEBIN_URL - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.WebEditor
The bytebin instance the editor uploads a config snapshot to.
BYTESOCKS_URL - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.WebEditor
The bytesocks websocket endpoint the editor uses to send changes back.

C

cache - Variable in class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
The cache holding per-level thresholds for the active calculator.
cache - Variable in class de.Keyle.MyPet.api.skill.PetExperience
Pre-computed per-level experience thresholds.
calculateLevel() - Method in class de.Keyle.MyPet.api.skill.PetExperience
Recalculates the level by scanning up or down from the current level until the XP thresholds bracket the pet's total XP.
CALCULATION_MODE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem
Which curve decides the experience needed per level: Default (also accepted as MyPet), Linear, Power or Exponential.
calculator - Variable in class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
The calculator currently in use.
calculators - Variable in class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
The registered calculators, keyed by identifier.
callToOwner() - Method in interface de.Keyle.MyPet.api.entity.Pet
Calls the pet to its owner.
Camouflage - Interface in de.Keyle.MyPet.api.skill.skills
Skill that turns the pet invisible after it stands still for a configured number of seconds.
Canceled - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
A listener cancelled the spawn.
CancellablePetEvent - Class in de.Keyle.MyPet.api.event
Base of every PetEvent that listeners may veto.
CancellablePetEvent() - Constructor for class de.Keyle.MyPet.api.event.CancellablePetEvent
Creates a synchronous, not-yet-cancelled pet event.
canFly() - Method in interface de.Keyle.MyPet.api.entity.PetFlyingEntity
Whether this pet may currently fly.
canFly(Location) - Method in interface de.Keyle.MyPet.api.util.hooks.types.FlyHook
Returns if a players can fly their pets at a certain location
canHurt(Player, Entity) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Return if a player can hurt a specific entity.
canHurt(Player, Entity) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PlayerVersusEntityHook
Reports whether this integration permits a player to damage an entity here.
canHurt(Player, Player) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Return if a player can hurt another player.
canHurt(Player, Player) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PlayerVersusPlayerHook
Return if a player can hurt another player.
canHurt(Player, Player, boolean) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Return if a player can hurt another player and if needed vice versa
canLeash(Player, Entity) - Method in interface de.Keyle.MyPet.api.util.hooks.types.LeashHook
Reports whether this integration permits a player to leash a mob here.
canMount(MyPetPlayer, Entity) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns whether a player may mount a pet where it currently stands, according to every registered MountInsideHook (WorldGuard's ride flag, GriefPrevention claim access, Residence's riding flag, and so on).
canMove() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns true if the pet is able to move (spawned, not sitting, not riding, entity is alive).
canPay(MyPetPlayer, double) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Reports whether a pet owner can afford a charge.
canPay(UUID, double) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Reports whether a player can afford a charge.
canPay(OfflinePlayer, double) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Reports whether a player can afford a charge.
canPetFlyAt(Location) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns if a player can fly a pet at a certain location
canPetHurt(Pet, Entity) - Static method in class de.Keyle.MyPet.api.util.PetTargetFilter
True when pet is allowed to damage or target candidate.
canSeatRider(Pet) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Whether this renderer can seat a rider on pet's model right now — the model is attached AND its blueprint declares a driver seat.
canSwim() - Method in interface de.Keyle.MyPet.api.entity.PetSwimmingEntity
Whether this pet may currently swim.
canUseSlot(EquipmentSlot) - Method in interface de.Keyle.MyPet.api.entity.PetEquipment
Checks if this pet type can use the given equipment slot.
CARTOGRAPHY_TABLE - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
The c a r t o g r a p h y_ t a b l e( workstation.
catalog() - Method in record class de.Keyle.MyPet.api.gui.RenderContext
Returns the value of the catalog record component.
CHARACTER_ENCODING - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository.MySQL
Character encoding used for the connection.
check(int) - Method in interface de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule
Tests whether this rule matches the given level.
check(int) - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Dynamic
 
check(int) - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Static
 
check(Skilltree, Pet, Settings) - Method in interface de.Keyle.MyPet.api.skill.skilltree.requirements.Requirement
Evaluates whether the given pet meets this requirement for the specified skilltree.
check(Player, LivingEntity, double, Settings) - Method in interface de.Keyle.MyPet.api.entity.leashing.LeashFlag
Evaluates whether this leash condition is met for the given player/entity pair.
CHECK - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Update
Whether MyPet checks for a new version on load.
checkEconomy() - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Reports whether an economy is usable right now.
checkMinecraftVersion() - Method in class de.Keyle.MyPet.api.entity.PetType
Returns true if the current Minecraft version supports this pet type.
checkRequirements(Pet) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Evaluates all configured requirements against the given pet.
checkVersion(ExperienceCalculator) - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCache
Validates the cache against the current calculator's identifier and version.
Choice(List<SoundSpec>) - Constructor for record class de.Keyle.MyPet.api.gui.SoundSpec.Choice
Rejects an empty option list and defensively copies the rest.
CHOOSE_SKILLTREE - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The skilltree picker for a pet.
CHOOSE_SKILLTREE_ONLY_ONCE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree
Whether a pet is locked into the first skilltree it is given.
clamp(double, double, double) - Static method in class de.Keyle.MyPet.api.Util
Deprecated, for removal: This API element is subject to removal in a future version.
use Math.clamp(long, int, int), which this now delegates to
clamp(float, float, float) - Static method in class de.Keyle.MyPet.api.Util
Deprecated, for removal: This API element is subject to removal in a future version.
use Math.clamp(long, int, int), which this now delegates to
clamp(int, int, int) - Static method in class de.Keyle.MyPet.api.Util
Deprecated, for removal: This API element is subject to removal in a future version.
use Math.clamp(long, int, int), which this now delegates to
clampExp(double, double, double, boolean) - Static method in class de.Keyle.MyPet.api.skill.PetExperience
Clamps a new XP total.
clampStep(int) - Static method in class de.Keyle.MyPet.api.entity.PetDistanceMath
Forces a step into [MIN_STEP, MAX_STEP]; for API setters and commands.
classPath() - Element in annotation interface de.Keyle.MyPet.api.util.service.RequiresPlugin
A class the plugin must expose, for telling forks and rewrites apart.
clearConfig() - Method in class de.Keyle.MyPet.api.util.configuration.ConfigurationYAML
Discards the loaded contents, leaving an empty configuration.
clearDamageMap(LivingEntity) - Static method in class de.Keyle.MyPet.api.skill.PetExperience
Removes all accumulated damage records for the given victim (e.g.
clearDescription() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Removes all description lines.
clearFood(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Forgets every food configured for a type.
clearGroups() - Static method in class de.Keyle.MyPet.api.WorldGroup
Removes all worlds from the groups and then deletes the groups, leaving only the default and disabled groups.
clearLeashFlagSettings(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Forgets every leash flag configured for a type.
clearSkilltrees() - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Removes all registered skilltrees.
ClickPayload - Record Class in de.Keyle.MyPet.api.gui
ClickPayload(int, int, ClickType, boolean, ItemStack) - Constructor for record class de.Keyle.MyPet.api.gui.ClickPayload
Creates an instance of a ClickPayload record class.
clickType() - Method in record class de.Keyle.MyPet.api.gui.ClickPayload
Returns the value of the clickType record component.
Climb - Interface in de.Keyle.MyPet.api.skill.skills
Skill that lets a pet climb walls on its own during pathfinding, spider-style: when the pet is heading somewhere higher and beyond a wall it's pressed against, it scales the wall as a shortcut instead of pathing all the way around, then resumes normal navigation once it crests.
CLONE - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to clone another player's pet.
close() - Method in interface de.Keyle.MyPet.api.gui.MenuInstance
close() - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Closes this inventory for all current viewers, if any.
CLOSE - Enum constant in enum class de.Keyle.MyPet.api.gui.SectionRenderer.ClickResult
Close the menu.
closeMenu(Player) - Method in interface de.Keyle.MyPet.api.gui.GuiService
Close the viewer's current menu with CloseReason.PLUGIN_CLOSED.
CloseReason - Enum Class in de.Keyle.MyPet.api.gui
Why a MenuInstance is closing.
closeStorageViewers(Object) - Method in interface de.Keyle.MyPet.api.gui.GuiService
Persists and closes every open menu whose handler reports sharedStorageKey from MenuHandler.sharedStorageKey(C), whoever is viewing it.
codec() - Method in record class de.Keyle.MyPet.api.gui.SectionType
Returns the value of the codec record component.
CodecContext - Record Class in de.Keyle.MyPet.api.gui
Information a JsonCodec needs at decode time to validate section data against its surrounding menu (bounds, sibling presence, etc.).
CodecContext(String, int, Set<String>) - Constructor for record class de.Keyle.MyPet.api.gui.CodecContext
Creates an instance of a CodecContext record class.
col() - Method in record class de.Keyle.MyPet.api.gui.FillSection.Region
Returns the value of the col record component.
col() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the col record component.
col() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns the value of the col record component.
col() - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Returns the value of the col record component.
col() - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns the value of the col record component.
compare(ItemStack) - Method in class de.Keyle.MyPet.api.util.ConfigItem
Reports whether a held item matches this configured one.
componentLore - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Adventure lore lines.
componentTitle - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Adventure title.
ConfigItem - Class in de.Keyle.MyPet.api.util
A configured item — typically loaded from config (e.g., RIDE_ITEM, CONTROL_ITEM, GROW_UP_ITEM) and compared against items the player is holding.
ConfigItem(String) - Constructor for class de.Keyle.MyPet.api.util.ConfigItem
Creates a config item by parsing its config form.
ConfigItem(ItemStack, ConfigItem.DurabilityMode) - Constructor for class de.Keyle.MyPet.api.util.ConfigItem
Creates a config item from an existing stack.
ConfigItem.DurabilityMode - Enum Class in de.Keyle.MyPet.api.util
How an item's durability is taken into account when matching.
configItemValue(Class<? extends Pet>, String) - Static method in class de.Keyle.MyPet.api.config.PetConfigLookup
Returns the ConfigItem for (petClass, key), or null if no such key is registered.
ConfigKey<T> - Class in de.Keyle.MyPet.api.config
A per-pet config value, declared as a public static final field on the matching PetXxx pet class — the pet class is the single source of truth for its species' config.
ConfigKeyRegistry - Class in de.Keyle.MyPet.api.config
Central registry of every ConfigKey declared as a static field on a pet class.
ConfigurationYAML - Class in de.Keyle.MyPet.api.util.configuration
One YAML file on disk, with load, save and clear operations over its parsed contents.
ConfigurationYAML(File) - Constructor for class de.Keyle.MyPet.api.util.configuration.ConfigurationYAML
Opens the given file, loading it immediately.
ConfigurationYAML(String) - Constructor for class de.Keyle.MyPet.api.util.configuration.ConfigurationYAML
Opens the file at the given path, loading it immediately.
ConfirmPromptSpec - Record Class in de.Keyle.MyPet.api.dialog
ConfirmPromptSpec(Component, Component, Component, Component) - Constructor for record class de.Keyle.MyPet.api.dialog.ConfirmPromptSpec
Substitutes a default for every field left null.
CONSUME_LEASH_ITEM - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether leashing a mob consumes the leash item.
consumePendingSnapshot() - Method in interface de.Keyle.MyPet.api.entity.Pet
Single-shot read of the serialized snapshot bytes captured at the pet's last despawn, used by the spawner to deserialize a vanilla mob with the pet's prior visual state.
contains(String) - Method in class de.Keyle.MyPet.api.util.configuration.settings.Settings
Reports whether a k=v entry exists for key, case-insensitively.
containsWorld(String) - Method in class de.Keyle.MyPet.api.WorldGroup
Checks whether a world group contains the world
contents() - Method in record class de.Keyle.MyPet.api.skill.skills.Backpack.State
Returns the value of the contents record component.
context() - Method in interface de.Keyle.MyPet.api.gui.MenuInstance
The context object this menu was opened with.
contextType() - Method in record class de.Keyle.MyPet.api.gui.MenuId
Returns the value of the contextType record component.
Control - Enum constant in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
Target forced by the player's Control skill (manual aim).
Control - Interface in de.Keyle.MyPet.api.skill.skills
Skill that enables the owner to direct their pet to move to a specific location by left-clicking on a block with a configured control item.
CONTROL_ITEM - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill
Item a player holds to steer a pet with the Control skill.
CONVERT_FROM - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository
Migrates existing pets out of this storage type into the configured one on start.
cooldown() - Method in record class de.Keyle.MyPet.api.skill.skills.Potion.Entry
Returns the value of the cooldown record component.
copy() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Returns a deep copy of this item with independent lore lists.
COSTS_FACTOR - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Respawn
Per-second term of the revival cost: cost = Factor * respawnSeconds + Fixed.
COSTS_FIXED - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Respawn
Flat term of the revival cost.
countActivePets() - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns the total number of currently active pets across all players.
CRAFTING_TABLE - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
The c r a f t i n g_ t a b l e( workstation.
CREATE - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to create a pet directly, without taming.
createConfigItem(String) - Static method in class de.Keyle.MyPet.api.util.ConfigItem
Parses a configured item string.
createConfigItem(ItemStack, ConfigItem.DurabilityMode) - Static method in class de.Keyle.MyPet.api.util.ConfigItem
Wraps an existing stack as a config item.
createEntity() - Method in interface de.Keyle.MyPet.api.entity.Pet
Attempts to spawn the pet at the owner's location.
createEntity(Location) - Method in interface de.Keyle.MyPet.api.entity.Pet
Attempts to spawn the pet at the specified location.
createMyPetPlayer(Player) - Method in class de.Keyle.MyPet.api.repository.PlayerManager
Creates a new MyPetPlayer instance for a Bukkit player without persisting it.
cumulative() - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Marks the field declared last as accumulating across levels.
currencyNameSingular() - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
The singular name of the economy's currency.
currentModels(Mob) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
The model ids this provider currently renders on the given host mob (empty if none).
cursor() - Method in record class de.Keyle.MyPet.api.gui.ClickPayload
Returns the value of the cursor record component.
CUSTOM_MOB_EXP - Static variable in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Custom experience entries for named mobs, keyed by the mob's custom display name.
CustomInventory - Class in de.Keyle.MyPet.api.util.inventory
API-only inventory implementation
CustomInventory() - Constructor for class de.Keyle.MyPet.api.util.inventory.CustomInventory
Creates a new CustomInventory instance and ensures the shared shutdown listener is registered.
CustomInventory(int, Component) - Constructor for class de.Keyle.MyPet.api.util.inventory.CustomInventory
Convenience constructor to initialize size and name.
customizeSlotItem(C, String, ItemAppearance) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Customize a slot section's item at render time (e.g.
customizeTemplateItem(C, String, int, ItemAppearance) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Customize a paginated-list template's item for one specific entry (e.g.
customModelData() - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Returns the value of the customModelData record component.
CustomSection - Record Class in de.Keyle.MyPet.api.gui
Generic carrier for sections whose type is registered at runtime (e.g.
CustomSection(String, SectionType<CustomSection>, JsonObject) - Constructor for record class de.Keyle.MyPet.api.gui.CustomSection
Rejects an absent payload.

D

Damage - Interface in de.Keyle.MyPet.api.skill.skills
Skill that determines the pet's base melee attack damage.
DAMAGE_WEIGHTED_EXPERIENCE_DISTRIBUTION - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience
Whether a pet earns experience in proportion to the damage it dealt, rather than only for landing the kill.
data - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Legacy data value, kept for compatibility with older item definitions.
DATABASE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository.MySQL
Name of the MySQL database.
de.Keyle.MyPet - package de.Keyle.MyPet
Static entry point to the MyPet API.
de.Keyle.MyPet.api - package de.Keyle.MyPet.api
Plugin-wide configuration, world grouping, and shared helpers.
de.Keyle.MyPet.api.behavior - package de.Keyle.MyPet.api.behavior
Per-pet-type handling of Bukkit events.
de.Keyle.MyPet.api.config - package de.Keyle.MyPet.api.config
Typed configuration keys for pets and for the plugin as a whole.
de.Keyle.MyPet.api.dialog - package de.Keyle.MyPet.api.dialog
Text and yes/no prompts shown to a player.
de.Keyle.MyPet.api.entity - package de.Keyle.MyPet.api.entity
Pets in both their live and at-rest forms, plus the markers describing what a species can do.
de.Keyle.MyPet.api.entity.ai.navigation - package de.Keyle.MyPet.api.entity.ai.navigation
Pathfinding and movement control for a live pet.
de.Keyle.MyPet.api.entity.ai.target - package de.Keyle.MyPet.api.entity.ai.target
Priority ordering for combat target selection.
de.Keyle.MyPet.api.entity.leashing - package de.Keyle.MyPet.api.entity.leashing
Conditions checked before a player may capture a wild mob as a pet.
de.Keyle.MyPet.api.event - package de.Keyle.MyPet.api.event
Bukkit events fired across a pet's lifecycle.
de.Keyle.MyPet.api.exceptions - package de.Keyle.MyPet.api.exceptions
Unchecked exceptions thrown by the MyPet API.
de.Keyle.MyPet.api.goal - package de.Keyle.MyPet.api.goal
Which vanilla Bukkit goals survive on a live pet.
de.Keyle.MyPet.api.gui - package de.Keyle.MyPet.api.gui
JSON-defined, section-based inventory menus.
de.Keyle.MyPet.api.lifecycle - package de.Keyle.MyPet.api.lifecycle
Per-pet-type hooks fired when a pet spawns and despawns.
de.Keyle.MyPet.api.listener - package de.Keyle.MyPet.api.listener
Registration of Bukkit listeners that belong to a single pet type.
de.Keyle.MyPet.api.player - package de.Keyle.MyPet.api.player
Pet owners and permission checks.
de.Keyle.MyPet.api.plugin - package de.Keyle.MyPet.api.plugin
The API-facing contract of the MyPet plugin instance.
de.Keyle.MyPet.api.repository - package de.Keyle.MyPet.api.repository
Access to pets and to their owners.
de.Keyle.MyPet.api.skill - package de.Keyle.MyPet.api.skill
The skill system: registration, typed state, upgrades, and experience.
de.Keyle.MyPet.api.skill.experience - package de.Keyle.MyPet.api.skill.experience
Experience curves and the per-mob experience table.
de.Keyle.MyPet.api.skill.experience.modifier - package de.Keyle.MyPet.api.skill.experience.modifier
Transforms applied to the experience a pet earns from a kill.
de.Keyle.MyPet.api.skill.modifier - package de.Keyle.MyPet.api.skill.modifier
Typed modifiers that apply one skilltree upgrade to one skill parameter.
de.Keyle.MyPet.api.skill.skills - package de.Keyle.MyPet.api.skill.skills
The built-in skills a skilltree can grant a pet.
de.Keyle.MyPet.api.skill.skilltree - package de.Keyle.MyPet.api.skill.skilltree
Skilltrees: the per-level progression a pet follows.
de.Keyle.MyPet.api.skill.skilltree.levelrule - package de.Keyle.MyPet.api.skill.skilltree.levelrule
Rules deciding at which pet levels a skilltree upgrade applies.
de.Keyle.MyPet.api.skill.skilltree.requirements - package de.Keyle.MyPet.api.skill.skilltree.requirements
Conditions gating which skilltrees a pet may use.
de.Keyle.MyPet.api.util - package de.Keyle.MyPet.api.util
Shared helpers used across the API.
de.Keyle.MyPet.api.util.configuration - package de.Keyle.MyPet.api.util.configuration
YAML configuration file handling.
de.Keyle.MyPet.api.util.configuration.settings - package de.Keyle.MyPet.api.util.configuration.settings
Parser for the inline key=value strings used by requirements and leash flags.
de.Keyle.MyPet.api.util.hooks - package de.Keyle.MyPet.api.util.hooks
Entry point to MyPet's third-party plugin integrations.
de.Keyle.MyPet.api.util.hooks.types - package de.Keyle.MyPet.api.util.hooks.types
The interfaces a third-party integration implements.
de.Keyle.MyPet.api.util.inventory - package de.Keyle.MyPet.api.util.inventory
MyPet's own inventory implementation.
de.Keyle.MyPet.api.util.locale - package de.Keyle.MyPet.api.util.locale
Translation lookup for player-facing text.
de.Keyle.MyPet.api.util.service - package de.Keyle.MyPet.api.util.service
Optional, plugin-gated functionality registered as services.
deactivatePet(MyPetPlayer, boolean) - Method in class de.Keyle.MyPet.api.repository.PetManager
Deprecated, for removal: This API element is subject to removal in a future version.
a player may have more than one active pet. Use PetManager.deactivatePets(MyPetPlayer, boolean) to deactivate all of them, or PetManager.deactivatePet(MyPetPlayer, Pet, boolean) to name the one you mean. This overload deactivates all of them.
deactivatePet(MyPetPlayer, Pet, boolean) - Method in class de.Keyle.MyPet.api.repository.PetManager
Deactivates one of the owner's active pets — despawns the entity and moves the pet back to a stored / inactive state.
deactivatePets(MyPetPlayer, boolean) - Method in class de.Keyle.MyPet.api.repository.PetManager
Deactivates every pet the owner currently has active, in activation order.
Dead - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.PetState
Killed — waiting on respawn timer.
Dead - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
The pet is dead and still waiting on its respawn timer.
DEADBAND - Static variable in class de.Keyle.MyPet.api.entity.PetDistanceMath
Blocks between min (personal space activates below it) and release (follow stops there, personal space releases there).
DEATH - Enum constant in enum class de.Keyle.MyPet.api.event.PetRemoveEvent.Source
The pet died and was configured to be deleted on death.
decimal2roman(int) - Static method in class de.Keyle.MyPet.api.Util
Converts a positive integer to its Roman numeral representation.
decode(String, JsonObject, CodecContext) - Method in interface de.Keyle.MyPet.api.gui.JsonCodec
Parses a section's JSON into its record form.
decorative() - Method in interface de.Keyle.MyPet.api.gui.SectionRenderer
Decorative sections (border, fill) paint slots but yield rendering to non-decorative sections that also claim them.
decreaseSaturation(double) - Method in interface de.Keyle.MyPet.api.entity.Pet
Reduces saturation by the given amount (hunger tick).
DEFAULT_GROUP - Static variable in class de.Keyle.MyPet.api.WorldGroup
The group every world falls into unless the config says otherwise.
DEFAULT_STEP - Static variable in class de.Keyle.MyPet.api.entity.PetDistanceMath
The step a new pet, and a pre-feature stored pet, starts on.
defaultCalculator - Variable in class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
The calculator used when the configured one is missing or unusable.
DefaultExperienceCalculator - Class in de.Keyle.MyPet.api.skill.experience
The built-in experience calculator that ships with MyPet.
DefaultExperienceCalculator() - Constructor for class de.Keyle.MyPet.api.skill.experience.DefaultExperienceCalculator
Creates the curve MyPet ships with.
DefaultInfo - Annotation Interface in de.Keyle.MyPet.api.entity
Declares the out-of-box defaults for a pet type.
defaultState() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns the value of the defaultState record component.
defaultValue() - Method in class de.Keyle.MyPet.api.config.ConfigKey
Compile-time default at the T type.
definition() - Method in interface de.Keyle.MyPet.api.gui.MenuInstance
Returns the blueprint this menu was built from.
DELEGATE_TO_HANDLER - Enum constant in enum class de.Keyle.MyPet.api.gui.SectionRenderer.ClickResult
Pass the click on to the menu's MenuHandler.
description - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Lore lines shown in the selection menu.
description() - Element in annotation interface de.Keyle.MyPet.api.entity.ShopInfo
The description shown in the shop GUI lore.
deserialize(String) - Static method in class de.Keyle.MyPet.api.util.ItemStrings
Parse a drop-pool item string.
Despawned - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.PetState
Removed from the world by owner or system (call/chunk-unload).
detach(Pet) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Remove any model this hook placed on the pet's host.
detachFrom(Mob) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Remove any model this hook placed on mob, addressed by the entity rather than by the Pet.
DialogService - Interface in de.Keyle.MyPet.api.dialog
Opens text and confirm prompts for a viewer using whichever transport the implementation has available (anvil rename, chat conversation, or a chest-menu confirm).
DISABLE_ALL_ACTIONBAR_MESSAGES - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether MyPet suppresses all of its action-bar messages.
DISABLE_AUTO_RESPAWN - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Respawn
Whether automatic respawning is switched off, leaving a dead pet to be revived manually.
DISABLE_HEAD_TEXTURE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Beacon
Whether the Beacon menu skips custom head textures.
DISABLE_PET_VS_PLAYER - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether combat between players and pets is blocked entirely.
DISABLED_GROUP - Static variable in class de.Keyle.MyPet.api.WorldGroup
The group for worlds MyPet is switched off in.
DISABLED_WORLDS - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience
Worlds in which pets earn no experience.
disableServices() - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
Disables every active service.
DISCONNECT - Enum constant in enum class de.Keyle.MyPet.api.gui.CloseReason
Viewer disconnected.
displayName - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Name shown to players, or null to use Skilltree.getName().
displayName() - Element in annotation interface de.Keyle.MyPet.api.entity.ShopInfo
The display name in the shop GUI.
DOWNLOAD - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Update
Whether a found update is downloaded.
DragonFireball - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Launches a dragon fireball.
drawsOwnNameTag(Pet) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Whether the model currently drawn on pet renders the pet's name itself (e.g.
DROP_LOST_EXP - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience
Whether experience lost on death drops on the ground for anyone to pick up.
DROP_WHEN_OWNER_DIES - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Backpack
Whether a pet spills its backpack when its owner dies.
dropContentAt(Location) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Drops all non-air contents of this inventory into the world at the given location and clears the slots.
DropEntry(ItemStack, int, int, int) - Constructor for record class de.Keyle.MyPet.api.skill.skills.Sniff.DropEntry
Creates an instance of a DropEntry record class.
dropEquipment() - Method in interface de.Keyle.MyPet.api.entity.PetEquipment
Drops all equipment as world items at the pet's location.
Duel - Enum constant in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
PvP duel target — highest normal-play priority.
Duel - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Behavior.BehaviorMode
The pet attacks other pets that are also in Duel, within 5 blocks.
durabilityMode - Variable in class de.Keyle.MyPet.api.util.ConfigItem
How durability is taken into account when comparing.
Dynamic(int, int, int) - Constructor for record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Dynamic
Normalizes the bounds so a malformed skilltree cannot produce a rule that never matches.

E

EAT - Enum constant in enum class de.Keyle.MyPet.api.event.PetFeedEvent.Result
Eating particles and the munch sound.
EconomyHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook handles economy interactions
EDITOR - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to open the browser-based config editor.
EDITOR_URL - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.WebEditor
The address of the editor front-end that opens in the player's browser.
effectiveSoundOnBack() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Effective sound when popping back: explicit soundOnBack or soundOnClose.
Egg - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Launches an egg.
Elsewhere - Search tag in Overview
Section
empty() - Static method in record class de.Keyle.MyPet.api.gui.MenuInstanceSnapshot
Returns a snapshot holding no page or slot state.
enabled() - Method in record class de.Keyle.MyPet.api.skill.ToggleableSkill.ToggleState
Returns the value of the enabled record component.
ENABLED - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.WebEditor
Whether /mypet editor may open the browser-based config editor.
encode(S) - Method in interface de.Keyle.MyPet.api.gui.JsonCodec
Writes a section record back out as JSON.
end() - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Dynamic
Returns the value of the end record component.
EnderPearl - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Launches an ender pearl.
ensureBuiltinsRegistered() - Static method in class de.Keyle.MyPet.api.gui.SectionTypeRegistry
Force-load every built-in section type-holder class so its static initializer registers the type.
ensureGlobalsLoaded() - Static method in class de.Keyle.MyPet.api.config.ConfigKeyRegistry
Force-initializes MyPetGlobal (and, via its static block, every nested section) so each global ConfigKey field initializer fires and registers.
ensurePetsLoaded() - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorRegistry
Force-initializes every registered pet class via Class.forName(true) so each one's static PetBehavior field initializers fire and register with this registry.
ensurePetsLoaded() - Static method in class de.Keyle.MyPet.api.config.ConfigKeyRegistry
Force-initializes every registered pet class via Class.forName(true) so each one's static ConfigKey field initializers fire and register with this registry.
ensurePetsLoaded() - Static method in class de.Keyle.MyPet.api.entity.leashing.WildAngerCheckRegistry
Force-initializes every registered pet class via Class.forName(true) so each one's static WildAngerCheck field initializers fire and register with this registry.
ensurePetsLoaded() - Static method in class de.Keyle.MyPet.api.goal.PetGoalRetentionRegistry
Force-initializes every registered pet class via Class.forName(true) so each one's static PetGoalRetention field initializers fire and register with this registry.
ensurePetsLoaded() - Static method in class de.Keyle.MyPet.api.lifecycle.PetLifecycleHookRegistry
Force-initializes every registered pet class via Class.forName(true) so each one's static PetLifecycleHook field initializers fire and register with this registry.
ensurePetsLoaded() - Static method in class de.Keyle.MyPet.api.listener.PetListenerRegistry
Force-initializes every registered pet class via Class.forName(true) so each one's static Supplier<Listener> field initializers fire and register with this registry.
entityExtractor() - Method in class de.Keyle.MyPet.api.behavior.PetBehavior
Pulls the entity of interest out of event so the dispatcher can route based on its pet membership.
entries() - Method in class de.Keyle.MyPet.api.util.configuration.settings.Settings
Unmodifiable view of every parsed entry in input order, including positional tokens.
Entry(PotionType, int) - Constructor for record class de.Keyle.MyPet.api.skill.skills.Potion.Entry
Creates an instance of a Entry record class.
ENUM - Enum constant in enum class de.Keyle.MyPet.api.skill.UpgradeSchema.FieldType
One of a fixed set of names.
enumOf(String, Class<? extends Enum<?>>) - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Declares a field limited to an enum's constants.
enumValues(String, List<String>) - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Declares a field limited to an explicit set of names.
Equal - Enum constant in enum class de.Keyle.MyPet.api.util.ConfigItem.DurabilityMode
Matches only on an exact durability match.
equals(Object) - Method in record class de.Keyle.MyPet.api.dialog.ConfirmPromptSpec
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.dialog.TextPromptSpec
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.entity.PetDistanceMath.Band
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class de.Keyle.MyPet.api.entity.PetType
 
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.BorderSection
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.ClickPayload
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.CodecContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.CustomSection
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.FillSection
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.FillSection.Region
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.FloatRange
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.MenuId
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.MenuInstanceSnapshot
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.RenderContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.SectionType
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Choice
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Fixed
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Range
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Silent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeEnumModifier
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeIntegerModifier
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skills.Backpack.State
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.MenuContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.State
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skills.Behavior.State
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skills.Pickup.State
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skills.Potion.Entry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skills.Sniff.DropEntry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Dynamic
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Static
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.NotificationEntry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.UpgradeEntry
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class de.Keyle.MyPet.api.skill.ToggleableSkill.ToggleState
Indicates whether some other object is "equal to" this one.
ErrorReporter - Interface in de.Keyle.MyPet.api.util
Receives the errors MyPet catches, so they can be reported somewhere useful.
ErrorUtil - Class in de.Keyle.MyPet.api.util
Utility class for centralized error reporting.
escSupportsBack() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns the value of the escSupportsBack record component.
eventClass() - Method in class de.Keyle.MyPet.api.behavior.PetBehavior
Bukkit event class this behavior listens for.
eventClasses() - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorRegistry
Returns the set of distinct event classes any registered behavior cares about.
Everyone - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.BuffReceiver
All players within range receive buffs.
exp - Variable in class de.Keyle.MyPet.api.skill.PetExperience
Raw accumulated experience.
exp() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the exp record component.
exp() - Element in annotation interface de.Keyle.MyPet.api.entity.ShopInfo
The starting experience for the purchased pet.
exp(double) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the accumulated experience.
EXP - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to set or add a pet's experience.
expCalculator - Variable in class de.Keyle.MyPet.api.skill.PetExperience
The curve deciding how much each level costs.
ExperienceCache - Class in de.Keyle.MyPet.api.skill.experience
Disk-backed cache for pre-computed experience-per-level values.
ExperienceCache() - Constructor for class de.Keyle.MyPet.api.skill.experience.ExperienceCache
Creates an empty cache.
ExperienceCache.LevelNotCalculatedException - Exception Class in de.Keyle.MyPet.api.skill.experience
Thrown when a requested level has not yet been computed and cached.
ExperienceCalculator - Interface in de.Keyle.MyPet.api.skill.experience
Strategy interface for computing the cumulative experience required at each pet level.
ExperienceCalculatorManager - Class in de.Keyle.MyPet.api.skill.experience
Service responsible for managing available ExperienceCalculator implementations and switching between them at runtime.
ExperienceCalculatorManager() - Constructor for class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
Creates a manager holding only the built-in calculators.
ExperienceModifier - Class in de.Keyle.MyPet.api.skill.experience.modifier
Abstract base class for experience modifiers that transform the amount of experience a pet receives from a kill.
ExperienceModifier() - Constructor for class de.Keyle.MyPet.api.skill.experience.modifier.ExperienceModifier
Creates a modifier.
EXPONENTIAL_BASE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Curve
Experience needed for level 2 under the Exponential curve.
EXPONENTIAL_GROWTH - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Curve
Cost multiplier per level under the Exponential curve.
ExponentialExperienceCalculator - Class in de.Keyle.MyPet.api.skill.experience
Geometric experience curve: each level l costs Base * Growth^(l-1), summed from level 1 up to the target.
ExponentialExperienceCalculator() - Constructor for class de.Keyle.MyPet.api.skill.experience.ExponentialExperienceCalculator
Creates a geometric curve.
EXPRATE - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to change the server's experience rate.
EXTENDED - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Permissions
Whether the additional fine-grained permission nodes are enforced on top of the basic ones.
EXTERNAL_LOAD_DELAY - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository
How long, in ticks, to delay loading a joining player's pets.

F

fallbackIconGlow() - Element in annotation interface de.Keyle.MyPet.api.entity.DefaultInfo
Whether the fallback icon should glow.
fallbackIconMaterial() - Element in annotation interface de.Keyle.MyPet.api.entity.DefaultInfo
Material name used by the selection-GUI egg-icon service when the standard <TYPE>_SPAWN_EGG doesn't exist for this pet (e.g., EnderDragon, SnowGolem, Wither).
False - Enum constant in enum class de.Keyle.MyPet.api.skill.modifier.UpgradeBooleanModifier
Modifier that sets the parameter to false.
Farm - Enum constant in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
Target acquired by the Farm (mob-harvesting) behavior.
Farm - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Behavior.BehaviorMode
The pet attacks every monster within 15 blocks of its owner.
FEED_FROM_INVENTORY - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.HungerSystem
Whether a pet may eat from its own backpack when it holds food valid for its type.
fields() - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema
The fields this schema declares.
FillSection - Record Class in de.Keyle.MyPet.api.gui
Backdrop fill.
FillSection(String, SectionType<FillSection>, FillSection.Region, ItemAppearance) - Constructor for record class de.Keyle.MyPet.api.gui.FillSection
Rejects an absent item.
FillSection.Region - Record Class in de.Keyle.MyPet.api.gui
A rectangular part of the menu to fill, instead of the whole thing.
find(Class<?>, Class<A>) - Static method in class de.Keyle.MyPet.api.util.AnnotationLookup
Searches clazz, its superclass chain and every implemented interface for an annotation of the given type, regardless of any marker type.
findName(Class<?>, Class<A>, Class<?>, Function<A, String>) - Static method in class de.Keyle.MyPet.api.util.AnnotationLookup
Recursively search clazz, its superclass chain, and every implemented interface for an instance of annotationType carried on a class assignable to markerType.
Fire - Interface in de.Keyle.MyPet.api.skill.skills
Skill that gives the pet a chance to ignite targets on hit, setting them on fire for a configurable duration.
FireResistance - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The fire resistance( potion effect.
Fishing - Interface in de.Keyle.MyPet.api.skill.skills
Skill that lets the pet periodically fish at nearby open water, dropping vanilla fishing loot beside itself.
Fixed(Key, float, float, Sound.Source) - Constructor for record class de.Keyle.MyPet.api.gui.SoundSpec.Fixed
Creates an instance of a Fixed record class.
flagNames() - Method in class de.Keyle.MyPet.api.entity.leashing.LeashFlagManager
Returns the canonical config names of all registered flags (the original LeashFlagName casing, not the lower-cased map keys), sorted alphabetically.
FloatRange - Record Class in de.Keyle.MyPet.api.gui
Inclusive `[min, max]` float range; samples uniformly.
FloatRange(float, float) - Constructor for record class de.Keyle.MyPet.api.gui.FloatRange
Rejects a NaN bound or an inverted range.
floatsInLava() - Method in class de.Keyle.MyPet.api.entity.PetType
Whether this pet type should float on lava (Strider).
FlyHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook checks if a player can fly his pet at a certain location
Flying - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
The owner is currently flying.
flySpeed() - Element in annotation interface de.Keyle.MyPet.api.entity.DefaultInfo
Base ride speed (blocks per tick, direct-velocity units) used by the Ride skill's flight controller when DefaultInfo.overrideFlySpeed() is true.
FOLLOW - Enum constant in enum class de.Keyle.MyPet.api.event.PetSitEvent.Action
The pet is being told to stand up and follow its owner again.
food() - Element in annotation interface de.Keyle.MyPet.api.entity.DefaultInfo
Items that restore saturation when fed to this pet type.
forAllPets(String, Predicate<Class<? extends Pet>>) - Static method in class de.Keyle.MyPet.api.config.PetSkillFlag
Registers key for every pet type supported on the running server version, defaulting to defaultFor.test(petClass) per type.
forEntity(LivingEntity) - Static method in class de.Keyle.MyPet.api.entity.leashing.WildAngerCheckRegistry
Returns the anger check registered for entity's species, or Optional.empty() if no pet class declares one (either the species isn't a MyPet pet type, or its pet class doesn't expose anger semantics).
forgetTarget() - Method in interface de.Keyle.MyPet.api.entity.Pet
Clears the current target and resets priority to None.
format(double) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Formats an amount the way the economy plugin presents it.
forPet(Pet) - Static method in class de.Keyle.MyPet.api.lifecycle.PetLifecycleHookRegistry
Returns every lifecycle hook registered for pet's type, in registration order.
forSlot(int, ClickType, boolean, ItemStack) - Static method in record class de.Keyle.MyPet.api.gui.ClickPayload
Creates a payload for a click outside any paginated list, with no item index.
forTypes(String, Predicate<Class<? extends Pet>>, boolean) - Static method in class de.Keyle.MyPet.api.config.PetSkillFlag
Registers key only for the pet types matching appliesTo — the shape a flag takes when it is meaningful for one marker interface rather than every pet.
FREE_ASCENSION - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree
Whether ascending is exempt from the switch fee and from ChooseOnce.
Friendly - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Behavior.BehaviorMode
The pet does not fight, even when it is attacked.
fromItemStack(ItemStack) - Static method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Creates an IconMenuItem from an existing Bukkit item.
fromLevel() - Method in class de.Keyle.MyPet.api.event.PetLevelDownEvent
Returns the level the pet held before this transition.
fromLevel() - Method in class de.Keyle.MyPet.api.event.PetLevelUpEvent
Returns the level the pet held before this transition.

G

gatedInteractionItems() - Method in interface de.Keyle.MyPet.api.entity.PetInteractionGate
The set of held-item materials that trigger this pet's gated vanilla interaction (e.g.
get() - Method in class de.Keyle.MyPet.api.config.ConfigKey
Current value — volatile read; safe to call from any thread.
get(JsonObject, String) - Static method in class de.Keyle.MyPet.api.skill.UpgradeParsers
Looks up a key in a JSON object, ignoring case.
get(Pet) - Method in class de.Keyle.MyPet.api.config.ConfigKey
This key's value for pet.
get(Pet) - Method in class de.Keyle.MyPet.api.config.PetSkillFlag
Current value for pet's type — volatile read, safe on hot paths.
get(PetType) - Method in class de.Keyle.MyPet.api.config.PetSkillFlag
Current value for petType.
get(Class<T>) - Method in class de.Keyle.MyPet.api.skill.Skills
Looks up a skill by class or parent interface.
get(String) - Method in class de.Keyle.MyPet.api.skill.Skills
Looks up a skill by its SkillName value.
get(String) - Method in class de.Keyle.MyPet.api.util.configuration.settings.Settings
Looks up the k=v entry for key, case-insensitively.
getAction() - Method in class de.Keyle.MyPet.api.event.PetInventoryActionEvent
Which backpack interaction is about to happen.
getAction() - Method in class de.Keyle.MyPet.api.event.PetSitEvent
The state the pet is being switched to.
getActivationMessage() - Method in interface de.Keyle.MyPet.api.util.service.ServiceContainer
Optional suffix appended to the activation log line.
getActive() - Method in interface de.Keyle.MyPet.api.skill.skills.Climb
Returns the upgrade computer controlling whether autonomous wall-climbing is unlocked.
getActive() - Method in interface de.Keyle.MyPet.api.skill.skills.Control
Returns the upgrade computer controlling whether the Control skill is unlocked.
getActive() - Method in interface de.Keyle.MyPet.api.skill.skills.Ride
Returns the upgrade computer controlling whether the Ride skill is unlocked.
getActive() - Method in interface de.Keyle.MyPet.api.skill.skills.Sprint
Returns the upgrade computer controlling whether the Sprint skill is unlocked.
getAggressiveBehavior() - Method in interface de.Keyle.MyPet.api.skill.skills.Behavior
Returns the upgrade computer controlling whether Aggressive mode is unlocked.
getAllActivePets() - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns a snapshot array of all currently active pets across all players.
getAllInterfaces(Class<?>) - Static method in class de.Keyle.MyPet.api.Util
Deprecated, for removal: This API element is subject to removal in a future version.
internal helper with a single caller; do not use from addons
getAllowedSlotNames() - Method in interface de.Keyle.MyPet.api.entity.PetEquipment
Returns the set of equipment slot names this pet type can use.
getAllSuperclasses(Class<?>) - Static method in class de.Keyle.MyPet.api.Util
Deprecated, for removal: This API element is subject to removal in a future version.
internal helper with a single caller; do not use from addons
getAmount() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Stack size shown on the slot.
getArmor() - Method in interface de.Keyle.MyPet.api.skill.skills.Armor
Returns the upgrade computer controlling the pet's bonus armor points.
getArsenal() - Method in interface de.Keyle.MyPet.api.skill.skills.Potion
The current arsenal — every potion the pet may throw, with its cooldown.
getAutoRespawnMin() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the minimum respawn time (seconds) the player has configured.
getBalance(OfflinePlayer) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Reads a player's balance.
getBeaconAmplifierModifier(Location) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns the amplifier modifier for beacon effects at a certain location
getBeaconAmplifierModifier(Location) - Method in interface de.Keyle.MyPet.api.util.hooks.types.BeaconHook
Returns the amplifier modifier for beacon effects at a certain location
getBeaconDurationMultiplier(Location) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns the duration multiplier for beacon effects at a certain location
getBeaconDurationMultiplier(Location) - Method in interface de.Keyle.MyPet.api.util.hooks.types.BeaconHook
Returns the duration multiplier for beacon effects at a certain location
getBeaconRangeMultiplier(Location) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns the range multiplier for beacons at a certain location
getBeaconRangeMultiplier(Location) - Method in interface de.Keyle.MyPet.api.util.hooks.types.BeaconHook
Returns the range multiplier for beacons at a certain location
getBehavior() - Method in interface de.Keyle.MyPet.api.skill.skills.Behavior
Returns the pet's currently active behavior mode.
getBoolean() - Method in class de.Keyle.MyPet.api.util.configuration.settings.Setting
Parses Setting.asString() as a boolean.
getBoolean(String) - Method in class de.Keyle.MyPet.api.util.configuration.settings.Settings
Parses the value of key=v as a boolean, accepting only "true" and "false".
getBuff(Beacon.Buff) - Method in interface de.Keyle.MyPet.api.skill.skills.Beacon
Returns the upgrade computer for a specific buff's amplifier level.
getBuffAtPosition(int) - Static method in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
Returns the buff occupying the given GUI slot position, or null if no buff is assigned to that position.
getBukkitEntity() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns the underlying Bukkit mob, or null if the pet is not currently spawned (dead/despawned).
getBukkitEntityClass() - Method in class de.Keyle.MyPet.api.entity.PetType
Returns the Bukkit entity class used to spawn this pet's host mob.
getBukkitInventory() - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Returns the underlying Bukkit Inventory instance for integration points that require direct access.
getBukkitMeta() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Bukkit meta copied from a source item, applied on top of the fields above.
getBukkitName() - Method in class de.Keyle.MyPet.api.entity.PetType
The Bukkit EntityType name this pet type maps to.
getByName(String) - Static method in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
Looks up a buff by its canonical name (case-sensitive).
getCachedStatus() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns the last cached pet status without touching the Bukkit entity.
getCalculator() - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
The calculator currently in use.
getCanFly() - Method in interface de.Keyle.MyPet.api.skill.skills.Ride
Returns the upgrade computer controlling whether the pet can fly while ridden.
getChance() - Method in interface de.Keyle.MyPet.api.skill.skills.Bleed
Returns the upgrade computer controlling the percent chance to inflict bleed on hit.
getChance() - Method in interface de.Keyle.MyPet.api.skill.skills.Fire
Returns the upgrade computer controlling the percent chance to ignite on hit.
getChance() - Method in interface de.Keyle.MyPet.api.skill.skills.Knockback
Returns the upgrade computer controlling the percent chance to knock back on hit.
getChance() - Method in interface de.Keyle.MyPet.api.skill.skills.Lightning
Returns the upgrade computer controlling the percent chance to strike lightning on hit.
getChance() - Method in interface de.Keyle.MyPet.api.skill.skills.Poison
Returns the upgrade computer controlling the percent chance to poison on hit.
getChance() - Method in interface de.Keyle.MyPet.api.skill.skills.Shield
Returns the upgrade computer controlling the percent chance to intercept damage for the owner.
getChance() - Method in interface de.Keyle.MyPet.api.skill.skills.Slow
Returns the upgrade computer controlling the percent chance to slow on hit.
getChance() - Method in interface de.Keyle.MyPet.api.skill.skills.Stomp
Returns the upgrade computer controlling the percent chance to stomp on hit.
getChance() - Method in interface de.Keyle.MyPet.api.skill.skills.Thorns
Returns the upgrade computer controlling the percent chance to reflect damage when hit.
getChance() - Method in interface de.Keyle.MyPet.api.skill.skills.Wither
Returns the upgrade computer controlling the percent chance to wither on hit.
getChildren() - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Field
getClassAnnotation(Class<?>, Class<T>) - Static method in class de.Keyle.MyPet.api.Util
Deprecated.
use AnnotationLookup.find(Class, Class), which this now delegates to
getClassParents(Class<?>, Class<T>, Set<Class<? extends T>>) - Static method in class de.Keyle.MyPet.api.Util
Deprecated.
internal helper with a single caller; do not use from addons
getClimb() - Method in interface de.Keyle.MyPet.api.skill.skills.Ride
Whether a ridden pet can climb walls spider-style (was the standalone Climb skill).
getCommandSenderLanguage(CommandSender) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Resolves a command sender's locale: the player's client locale for Player senders, "en" for console.
getComponent(String, MyPetPlayer) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Renders a translation key against the owner's stored language.
getComponent(String, String) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Renders a translation key against an explicit locale.
getComponent(String, CommandSender) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Renders a translation key against the sender's locale, or English for console.
getComponent(String, Player) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Renders a translation key against the player's client locale.
getComponentLore() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Returns an unmodifiable view of the Component lore lines.
getComponentPrefix(boolean) - Static method in interface de.Keyle.MyPet.api.entity.leashing.LeashFlag
Returns a colored prefix component for use in player-facing feedback messages: a green checkmark (✔) when the flag passes, or a red cross (✘) when it fails.
getComponentTitle() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Adventure title.
getConfig() - Method in class de.Keyle.MyPet.api.util.configuration.ConfigurationYAML
The parsed contents of ConfigurationYAML.yamlFile.
getConfig() - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
Returns the hook/service configuration, lazily creating it on first access.
getContents() - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Returns a copy of the current contents of the inventory.
getCurrentExp() - Method in class de.Keyle.MyPet.api.skill.PetExperience
Returns the experience gained within the current level (total XP minus the threshold to reach the current level).
getCustomRespawnTimeFactor(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Per-level multiplier added to the base respawn timer.
getCustomRespawnTimeFixed(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Flat respawn time (seconds) added regardless of pet level.
getDamage() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns mêlée damage dealt by this pet (base and Damage skill).
getDamage() - Method in class de.Keyle.MyPet.api.event.PetDamageEvent
The damage about to be dealt: base attack damage with every on-hit skill modifier already folded in.
getDamage() - Method in interface de.Keyle.MyPet.api.skill.skills.Bleed
Returns the upgrade computer controlling the damage dealt per bleed tick.
getDamage() - Method in interface de.Keyle.MyPet.api.skill.skills.Damage
Returns the upgrade computer controlling the pet's melee attack damage value.
getDamage() - Method in interface de.Keyle.MyPet.api.skill.skills.Lightning
Returns the upgrade computer controlling the bonus damage dealt by the lightning strike.
getDamage() - Method in interface de.Keyle.MyPet.api.skill.skills.Ranged
Returns the upgrade computer controlling the damage dealt per projectile.
getDamage() - Method in interface de.Keyle.MyPet.api.skill.skills.Stomp
Returns the upgrade computer controlling the AoE damage dealt by the stomp.
getDamageToEntity(LivingEntity, LivingEntity) - Static method in class de.Keyle.MyPet.api.skill.PetExperience
Returns the total damage that damager has dealt to victim, or 0 if no damage has been recorded.
getDamageToEntityPercent(LivingEntity) - Static method in class de.Keyle.MyPet.api.skill.PetExperience
Returns a map from damager UUID to their damage fraction (0.0 to 1.0) of total tracked damage to the given victim.
getDamageToEntityPercent(LivingEntity, LivingEntity) - Static method in class de.Keyle.MyPet.api.skill.PetExperience
Returns the fraction (0.0 to 1.0) of total tracked damage to victim that was dealt by damager.
getData() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Legacy data value, kept for compatibility with older item definitions.
getDefault() - Static method in class de.Keyle.MyPet.api.entity.PetType
Returns the first registered pet type in insertion order — used as a deterministic fallback when callers need a non-null default and have no better choice (e.g.
getDefaultCalculator() - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
The calculator used when the configured one is missing or unusable.
getDelay() - Method in interface de.Keyle.MyPet.api.skill.skills.Camouflage
Returns the upgrade computer controlling the seconds of stillness required before turning invisible; 0 disables the skill.
getDescription() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Returns an unmodifiable view of this skilltree's description lines.
getDialogService() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the prompt service.
getDisplayName() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
MiniMessage-rendered pet name.
getDisplayName() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Returns the display name shown to players, falling back to the internal name if unset.
getDouble() - Method in class de.Keyle.MyPet.api.util.configuration.settings.Setting
Parses Setting.asString() as a double.
getDouble(String) - Method in class de.Keyle.MyPet.api.util.configuration.settings.Settings
Parses the value of key=v as a double.
getDropOnDeath() - Method in interface de.Keyle.MyPet.api.skill.skills.Backpack
Returns the upgrade computer controlling whether items drop when the pet dies.
getDropPool() - Method in interface de.Keyle.MyPet.api.skill.skills.Sniff
The live weighted drop pool for this pet.
getDuelBehavior() - Method in interface de.Keyle.MyPet.api.skill.skills.Behavior
Returns the upgrade computer controlling whether Duel mode is unlocked.
getDurabilityMode() - Method in class de.Keyle.MyPet.api.util.ConfigItem
How durability is taken into account when comparing.
getDuration() - Method in interface de.Keyle.MyPet.api.skill.skills.Beacon
Returns the upgrade computer controlling the potion-effect duration in ticks.
getDuration() - Method in interface de.Keyle.MyPet.api.skill.skills.Bleed
Returns the upgrade computer controlling the total bleed duration in ticks.
getDuration() - Method in interface de.Keyle.MyPet.api.skill.skills.Fire
Returns the upgrade computer controlling the fire duration in ticks.
getDuration() - Method in interface de.Keyle.MyPet.api.skill.skills.Poison
Returns the upgrade computer controlling the poison duration in ticks.
getDuration() - Method in interface de.Keyle.MyPet.api.skill.skills.Slow
Returns the upgrade computer controlling the slowness duration in ticks.
getDuration() - Method in interface de.Keyle.MyPet.api.skill.skills.Wither
Returns the upgrade computer controlling the wither effect duration in ticks.
getEconomy() - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns the Vault economy hook
getEnumValues() - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Field
The permitted names, for an UpgradeSchema.FieldType.ENUM field.
getEquipment() - Method in interface de.Keyle.MyPet.api.entity.PetEquipment
Returns all currently equipped items, indexed by slot ordinal.
getEquipment(EquipmentSlot) - Method in interface de.Keyle.MyPet.api.entity.PetEquipment
Returns the item in the given slot, or null if empty.
getErrorReporter() - Method in interface de.Keyle.MyPet.api.plugin.MyPetPlugin
Returns the error reporter (Sentry in non-release builds, no-op otherwise).
getErrorReporter() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the error reporter.
getExp() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getExp() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Raw accumulated experience points.
getExp() - Method in class de.Keyle.MyPet.api.event.PetExpEvent
The signed experience delta about to be applied -- positive for a gain, negative for a loss.
getExp() - Method in class de.Keyle.MyPet.api.skill.PetExperience
Raw accumulated experience.
getExp(String, PetType, int) - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCache
Retrieves the cached cumulative experience for the given world-group, pet type, and level.
getExpByLevel(int) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Returns the cumulative XP required to reach the given level.
getExpByLevel(Pet, int) - Method in class de.Keyle.MyPet.api.skill.experience.DefaultExperienceCalculator
Calculates the cumulative experience required to reach the given level.
getExpByLevel(Pet, int) - Method in interface de.Keyle.MyPet.api.skill.experience.ExperienceCalculator
Computes the total cumulative experience required to reach the specified level.
getExpByLevel(Pet, int) - Method in class de.Keyle.MyPet.api.skill.experience.ExponentialExperienceCalculator
 
getExpByLevel(Pet, int) - Method in class de.Keyle.MyPet.api.skill.experience.LinearExperienceCalculator
 
getExpByLevel(Pet, int) - Method in class de.Keyle.MyPet.api.skill.experience.PowerExperienceCalculator
 
getExperience() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns the experience tracker managing XP gain and level curves.
getExpPickup() - Method in interface de.Keyle.MyPet.api.skill.skills.Pickup
Returns the upgrade computer controlling whether experience orb pickup is enabled.
getExtendedInfo(Plugin, String) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Reads a per-addon NBT value from this player's namespaced bucket.
getFailedRequirements(Pet) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Names of the requirements the pet currently fails, in evaluation order.
getFarmBehavior() - Method in interface de.Keyle.MyPet.api.skill.skills.Behavior
Returns the upgrade computer controlling whether Farm mode is unlocked.
getFile() - Method in interface de.Keyle.MyPet.api.plugin.MyPetPlugin
Returns the plugin JAR file on disk.
getFlyLimit() - Method in interface de.Keyle.MyPet.api.skill.skills.Ride
Returns the upgrade computer controlling the maximum flight energy (distance/duration limit).
getFlyRegenRate() - Method in interface de.Keyle.MyPet.api.skill.skills.Ride
Returns the upgrade computer controlling the rate at which flight energy regenerates.
getFlySpeed(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Per-pet fly-speed value used by the Ride skill's flight controller when PetInfo.isOverrideFlySpeed(PetType) returns true.
getFood(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Returns the list of items that restore saturation for this type.
getFormattedComponent(String, MyPetPlayer, Object...) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Renders a translation key against the owner's stored language, substituting the given arguments.
getFormattedComponent(String, String, Object...) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Renders a translation key against an explicit locale, substituting the given arguments.
getFormattedComponent(String, CommandSender, Object...) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Renders a translation key against the sender's locale, or English for console, substituting the given arguments.
getFormattedComponent(String, Player, Object...) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Renders a translation key against the player's client locale, substituting the given arguments.
getFriendlyBehavior() - Method in interface de.Keyle.MyPet.api.skill.skills.Behavior
Returns the upgrade computer controlling whether Friendly mode is unlocked.
getGroupByName(String) - Static method in class de.Keyle.MyPet.api.WorldGroup
Returns the group by name.
getGroupByWorld(String) - Static method in class de.Keyle.MyPet.api.WorldGroup
Returns the group the world is in
getGroupByWorld(World) - Static method in class de.Keyle.MyPet.api.WorldGroup
Returns the group the world is in
getGroups() - Static method in class de.Keyle.MyPet.api.WorldGroup
Returns all available world groups
getGuiService() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the menu service.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetActivatedEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetCallEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetCreateEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetDamageEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetExhaustionEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetExpEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetFeedEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetInteractEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetInventoryActionEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetLevelDownEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetLevelEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetLevelUpEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetLoadEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetNameEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetOnHitSkillEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetPickupItemEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetPlayerJoinEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetRemoveEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetSaveEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetSendAwayEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetSitEvent
Returns the handler list for this event type.
getHandlerList() - Static method in class de.Keyle.MyPet.api.event.PetStatusEvent
Returns the handler list for this event type.
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetActivatedEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetCallEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetCreateEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetDamageEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetExhaustionEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetExpEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetFeedEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetInteractEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetInventoryActionEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetLevelDownEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetLevelEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetLevelUpEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetLoadEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetNameEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetOnHitSkillEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetPickupItemEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetPlayerJoinEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetRemoveEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetSaveEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetSendAwayEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetSitEvent
 
getHandlers() - Method in class de.Keyle.MyPet.api.event.PetStatusEvent
 
getHeal() - Method in interface de.Keyle.MyPet.api.skill.skills.Heal
Returns the upgrade computer controlling the amount of health restored per heal tick.
getHealth() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getHealth() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Current health (half-hearts).
getHookHelper() - Method in interface de.Keyle.MyPet.api.plugin.MyPetPlugin
Returns the utility for querying third-party hook state.
getHookHelper() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the facade over MyPet's third-party plugin integrations.
getHostOverride() - Method in class de.Keyle.MyPet.api.entity.PetType
The explicit Host class this type was registered with, or null when it spawns the entity its own name maps to.
getHostType() - Method in class de.Keyle.MyPet.api.entity.PetType
The registered type that spawns this type's Host mob, or null when this type has no explicit Host (or the Host resolves to this type itself).
GetHurt - Enum constant in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
Retaliatory target — the pet was directly damaged.
getIcon() - Method in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
Item shown for this station in the menu.
getIcon() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Returns the icon for this skilltree, creating a default one if not yet set.
getIdentifier() - Method in class de.Keyle.MyPet.api.skill.experience.DefaultExperienceCalculator
Returns a unique identifier for this calculator (e.g.
getIdentifier() - Method in interface de.Keyle.MyPet.api.skill.experience.ExperienceCalculator
Returns a unique identifier for this calculator (e.g.
getIdentifier() - Method in class de.Keyle.MyPet.api.skill.experience.ExponentialExperienceCalculator
 
getIdentifier() - Method in class de.Keyle.MyPet.api.skill.experience.LinearExperienceCalculator
 
getIdentifier() - Method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
The mob type this experience value applies to.
getIdentifier() - Method in class de.Keyle.MyPet.api.skill.experience.PowerExperienceCalculator
 
getInheritedSkilltreeName() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Name of the skilltree this one inherits upgrades from, or null when it stands alone.
getInt() - Method in class de.Keyle.MyPet.api.util.configuration.settings.Setting
Parses Setting.asString() as an int.
getInt(String) - Method in class de.Keyle.MyPet.api.util.configuration.settings.Settings
Parses the value of key=v as an int.
getInterval() - Method in interface de.Keyle.MyPet.api.skill.skills.Bleed
Returns the upgrade computer controlling the interval (in ticks) between bleed damage applications.
getInterval() - Method in interface de.Keyle.MyPet.api.skill.skills.Fishing
Returns the upgrade computer controlling the seconds between fishing attempts.
getInterval() - Method in interface de.Keyle.MyPet.api.skill.skills.Lumberjack
Returns the upgrade computer controlling the seconds between felling attempts.
getInterval() - Method in interface de.Keyle.MyPet.api.skill.skills.Mining
Returns the upgrade computer controlling the seconds between mining attempts.
getInterval() - Method in interface de.Keyle.MyPet.api.skill.skills.Sniff
Returns the upgrade computer controlling the seconds between drops (lower is better).
getInterval() - Method in interface de.Keyle.MyPet.api.skill.skills.Taunt
Returns the upgrade computer controlling the seconds between taunt pulses.
getInventory() - Method in interface de.Keyle.MyPet.api.skill.skills.Backpack
Returns a transient CustomInventory view of the current contents, sized to the current row capacity.
getInventory() - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
InventoryHolder contract.
getItem() - Method in class de.Keyle.MyPet.api.event.PetInteractEvent
The item the player was holding, or null for an interaction that is not item-driven (PetSitEvent is the built-in example).
getItem() - Method in class de.Keyle.MyPet.api.event.PetPickupItemEvent
The ground item entity, still in the world and not yet despawned.
getItem() - Method in class de.Keyle.MyPet.api.util.ConfigItem
The configured item this is compared against.
getItem(int) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Gets the item currently stored at the given slot index.
getJumpHeight() - Method in interface de.Keyle.MyPet.api.skill.skills.Ride
Returns the upgrade computer controlling the maximum jump height when ridden.
getKey() - Method in class de.Keyle.MyPet.api.util.configuration.settings.Setting
Original-case key.
getLabel() - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Field
Literal English label; used as the "en" fallback when no translation key exists.
getLanguage() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the player's locale code (e.g.
getLastUsed() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getLastUsed() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Epoch millis of the last time this pet was active in the world.
getLeashFlag(String) - Method in class de.Keyle.MyPet.api.entity.leashing.LeashFlagManager
Looks up a registered flag by its config name (case-insensitive).
getLeashFlagManager() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the leash-flag manager.
getLeashFlagName(Class<?>) - Method in class de.Keyle.MyPet.api.entity.leashing.LeashFlagManager
Walks the class hierarchy (superclasses then interfaces) to find the LeashFlagName annotation.
getLeashFlagSettings(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Returns the configured leash flag settings for a pet type — each entry corresponds to one flag with its per-flag parameters (e.g., chance percentage, required size).
getLeashItem(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
The item the player must use to leash (tame) this mob type, or null if the default (lead) applies.
getLevel() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Pet's experience level — derived from StoredPet.getExp() and the skilltree's XP curve via ExperienceCache.
getLevel() - Method in class de.Keyle.MyPet.api.event.PetLevelEvent
The level the pet holds after the transition.
getLevel() - Method in exception class de.Keyle.MyPet.api.skill.experience.ExperienceCache.LevelNotCalculatedException
The level that could not be computed.
getLevel() - Method in class de.Keyle.MyPet.api.skill.PetExperience
The pet's current level.
getLevel(String, PetType, double) - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCache
Determines the highest level whose cached experience threshold is at or below the given experience amount, effectively performing a reverse lookup from experience to level.
getLife() - Method in interface de.Keyle.MyPet.api.skill.skills.Life
Returns the upgrade computer controlling the bonus maximum health added to the pet.
getLocation() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns the pet's current world location, or empty if the Bukkit entity is not spawned.
getLogger() - Static method in class de.Keyle.MyPet.MyPetApi
Returns MyPet's logger, falling back to a standalone one named MyPet before the plugin has loaded.
getLogs() - Method in interface de.Keyle.MyPet.api.skill.skills.Lumberjack
How many trunk logs the pet fells per work cycle (base 1; the tree-feller upgrade raises it).
getLore() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Returns an unmodifiable view of the legacy lore lines.
getMaterial() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
The item's material.
getMaterial() - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeIcon
Material the icon is drawn as.
getMaterialize() - Method in interface de.Keyle.MyPet.api.skill.skills.Potion
When granted, the pet conjures permitted potions with no backpack stock (the toolless analog).
getMax() - Method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Largest experience this mob can award.
getMaxActivePets(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PetManager
Maximum simultaneously-active pets for owner: the server ceiling (MyPet.Max-Active-Pet-Count, default 1) narrowed by the highest MyPet.petlimit.active.<n> node the player holds.
getMaxDistanceStep() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getMaxDistanceStep() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Follow-distance scale, a step from 1 (very close) to 5 (very far).
getMaxExp() - Method in class de.Keyle.MyPet.api.skill.PetExperience
Experience needed to reach the next level.
getMaxHealth() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns the current max health (base and Life skill bonus).
getMaxLevel() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Returns the maximum level for this skilltree.
getMaxStackSize() - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Gets the maximum stack size used by the backing Bukkit inventory.
getMin() - Method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Smallest experience this mob can award.
getMinDistanceStep() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getMinDistanceStep() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Personal-space scale, a step from 1 (very close) to 5 (very far).
getMiniMessage() - Method in interface de.Keyle.MyPet.api.plugin.MyPetPlugin
Returns the shared MiniMessage instance used for all text serialization.
getMissingMessage(Player, LivingEntity, double, Settings) - Method in interface de.Keyle.MyPet.api.entity.leashing.LeashFlag
Returns a player-facing message explaining why this flag failed, shown when the leash attempt is denied.
getMobTypes() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Pet types allowed to use this skilltree; empty means all of them.
getModifier() - Method in class de.Keyle.MyPet.api.skill.experience.modifier.AdditiveModifier
The amount added to the incoming experience.
getModifier() - Method in class de.Keyle.MyPet.api.skill.experience.modifier.MultiplicativeModifier
The amount multiplied into the incoming experience.
getMonsterExperience(String) - Static method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Resolves the experience entry by raw string identifier, checking custom entries first.
getMonsterExperience(Entity) - Static method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Resolves the experience entry for a specific entity instance.
getMonsterExperience(Entity) - Method in interface de.Keyle.MyPet.api.util.hooks.types.MonsterExperienceHook
Supplies a custom experience value for a mob this integration owns.
getMonsterExperience(EntityType) - Static method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Resolves the experience entry for a Bukkit entity type (vanilla mobs only).
getMyPetPlayer(String) - Method in class de.Keyle.MyPet.api.repository.PlayerManager
Looks up a MyPetPlayer by display name.
getMyPetPlayer(UUID) - Method in class de.Keyle.MyPet.api.repository.PlayerManager
Returns the cached MyPetPlayer for the given UUID, or null if the player is not online or not registered.
getMyPetPlayer(Player) - Method in class de.Keyle.MyPet.api.repository.PlayerManager
Returns the cached MyPetPlayer for the given Bukkit player, or null if not registered.
getMyPetPlayers() - Method in class de.Keyle.MyPet.api.repository.PlayerManager
Returns a snapshot array of all currently online MyPetPlayers.
getName() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the player's current display name.
getName() - Method in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The buff's name as skilltree JSON refers to it.
getName() - Method in interface de.Keyle.MyPet.api.skill.skilltree.Skill
Returns the internal name of this skill, as declared in its SkillName annotation.
getName() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Returns the unique internal name of this skilltree.
getName() - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Field
The field's name as it appears in the upgrade JSON.
getName() - Method in class de.Keyle.MyPet.api.util.configuration.settings.Settings
Returns the flag or requirement these settings belong to.
getName() - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Current display name (title) of the inventory GUI.
getName() - Method in class de.Keyle.MyPet.api.WorldGroup
This group's name, lower-cased.
getName(String) - Method in interface de.Keyle.MyPet.api.skill.skilltree.Skill
Returns the localized display name of this skill for the given locale.
getNames() - Method in class de.Keyle.MyPet.api.skill.Skills
Returns the set of all skill names (from @SkillName annotations).
getNewName() - Method in class de.Keyle.MyPet.api.event.PetNameEvent
The name that will be applied, in MiniMessage format.
getNewSkillInstance(Class<? extends Skill>, Pet) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Creates a new instance of the given skill class for the specified pet.
getNotifications(int) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Collects all notification messages that should be displayed at the given level.
getNumberOfBuffs() - Method in interface de.Keyle.MyPet.api.skill.skills.Beacon
Returns the upgrade computer controlling the maximum number of buffs the owner can select.
getOnDamageByEntitySkills() - Method in class de.Keyle.MyPet.api.skill.Skills
Immutable list of all skills that implement OnDamageByEntitySkill.
getOnHitSkills() - Method in class de.Keyle.MyPet.api.skill.Skills
Immutable list of all skills that implement OnHitSkill.
getOrder() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Sort position in the selection menu; lower comes first.
getOrderedSkilltreeNames() - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Returns skilltree names sorted by their Skilltree.getOrder() value.
getOrderedSkilltrees() - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Returns all registered skilltrees sorted by their Skilltree.getOrder() value.
getOwner() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getOwner() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
The player who owns this pet.
getOwner() - Method in class de.Keyle.MyPet.api.event.PetEvent
Returns the owner of the pet this event concerns.
getOwner() - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Returns the InventoryHolder for the backing inventory.
getParameters() - Method in class de.Keyle.MyPet.api.entity.ai.navigation.AbstractNavigation
Mutable parameter set controlling speed and modifiers.
getPartyMembers(Player) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns all members of a party if the player is in one (Ancient, mcMMO, Heroes)
getPartyMembers(Player) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PartyHook
Returns all members of a party if the player is in one (Ancient, mcMMO, Heroes)
getPet() - Method in class de.Keyle.MyPet.api.event.PetActivatedEvent
The pet that has just become live.
getPet() - Method in class de.Keyle.MyPet.api.event.PetCallEvent
The active pet whose world entity is about to be spawned.
getPet() - Method in class de.Keyle.MyPet.api.event.PetCreateEvent
The newly created pet, already present in the repository.
getPet() - Method in class de.Keyle.MyPet.api.event.PetDamageEvent
The pet dealing the damage.
getPet() - Method in class de.Keyle.MyPet.api.event.PetEvent
Returns the pet this event concerns.
getPet() - Method in class de.Keyle.MyPet.api.event.PetExhaustionEvent
The pet whose saturation has reached zero.
getPet() - Method in class de.Keyle.MyPet.api.event.PetExpEvent
The pet whose experience is about to change.
getPet() - Method in class de.Keyle.MyPet.api.event.PetInteractEvent
The pet being interacted with.
getPet() - Method in class de.Keyle.MyPet.api.event.PetInventoryActionEvent
The pet whose backpack is being acted on.
getPet() - Method in class de.Keyle.MyPet.api.event.PetLevelEvent
The pet whose level changed.
getPet() - Method in class de.Keyle.MyPet.api.event.PetLoadEvent
The stored pet about to be wired up as a live Pet.
getPet() - Method in class de.Keyle.MyPet.api.event.PetNameEvent
The pet being renamed.
getPet() - Method in class de.Keyle.MyPet.api.event.PetOnHitSkillEvent
The pet whose skill is about to fire.
getPet() - Method in class de.Keyle.MyPet.api.event.PetPickupItemEvent
The pet about to pick the item up.
getPet() - Method in class de.Keyle.MyPet.api.event.PetRemoveEvent
The pet being removed; still readable for logging and cleanup.
getPet() - Method in class de.Keyle.MyPet.api.event.PetSaveEvent
The pet in the exact state about to be serialized.
getPet() - Method in class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent
The pet receiving the skilltree.
getPet() - Method in class de.Keyle.MyPet.api.event.PetSendAwayEvent
The pet whose world entity is about to be despawned.
getPet() - Method in class de.Keyle.MyPet.api.event.PetStatusEvent
The pet whose lifecycle state changed.
getPet() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Deprecated.
the name says "the pet" from an era when a player could only have one out, and it silently answers for the primary now that they can have several. Use MyPetPlayer.getPets() when the answer should cover the whole roster, or MyPetPlayer.getPrimaryPet() when the primary really is what you mean. Kept working for addons built before multi-pet support.
getPet() - Method in class de.Keyle.MyPet.api.skill.PetExperience
The pet whose experience this tracks.
getPet() - Method in interface de.Keyle.MyPet.api.skill.skilltree.Skill
Returns the pet that owns this skill instance.
getPet(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PetManager
Deprecated.
answers for the primary pet only, which was the whole roster until multi-pet shipped. Use PetManager.getPets(MyPetPlayer) for anything that should affect every pet the player has out, or PetManager.getPrimaryPet(MyPetPlayer) when the primary is genuinely what you want.
getPet(Player) - Method in class de.Keyle.MyPet.api.repository.PetManager
getPetClass() - Method in class de.Keyle.MyPet.api.entity.PetType
Returns the pet implementation class for this type.
getPetCount() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Deprecated, for removal: This API element is subject to removal in a future version.
use getPets().size(), which this equals
getPetForWorldGroup(WorldGroup) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the first (primary) pet bound to the given world group, or null.
getPetForWorldGroup(String) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the first (primary) pet bound to the given world group, or null.
getPetFromEntity(Entity) - Method in class de.Keyle.MyPet.api.repository.PetManager
Resolves a Bukkit entity to its owning Pet via the entity-UUID index.
getPetInfo() - Method in interface de.Keyle.MyPet.api.plugin.MyPetPlugin
Returns the per-type metadata registry (HP, speed, food, leash flags).
getPetInfo() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the per-type pet metadata registry.
getPetManager() - Method in interface de.Keyle.MyPet.api.plugin.MyPetPlugin
Returns the manager for active and inactive pet instances.
getPetManager() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the manager for active and stored pets.
getPetName() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getPetName() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Raw pet name in MiniMessage format.
getPetNavigation() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns the navigation controller for this pet's movement.
getPets() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns all of this player's active pets, in activation order.
getPets(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns all of the player's active pets, in activation order.
getPets(Player) - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns all active pets for the given Bukkit player, in activation order.
getPetsForWorldGroup(WorldGroup) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns all pets bound to the given world group, in binding order.
getPetsForWorldGroup(String) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns all pets bound to the given world group, in binding order.
getPetsForWorldGroups() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Deprecated, for removal: This API element is subject to removal in a future version.
a world group may hold more than one pet binding, which a BiMap cannot represent. Use MyPetPlayer.getWorldGroupBindings(). This method returns a snapshot containing only the first binding per group.
getPetTarget() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns the current combat target, or null if none.
getPetType() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getPetType() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
The mob type this pet represents (e.g., Wolf, Creeper).
getPetVolume() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the volume multiplier for sounds the pet emits.
getPlayer() - Method in class de.Keyle.MyPet.api.event.PetEvent
Returns the Bukkit player behind the pet's owner.
getPlayer() - Method in class de.Keyle.MyPet.api.event.PetPlayerJoinEvent
Returns the player that joined.
getPlayer() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the underlying Bukkit player.
getPlayerLanguage(Player) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Resolves a player's client locale, falling back to "en_us" when Bukkit returns an empty string.
getPlayerManager() - Method in interface de.Keyle.MyPet.api.plugin.MyPetPlugin
Returns the manager for MyPetPlayer instances.
getPlayerManager() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the manager for pet owners.
getPlugin() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the running MyPet plugin.
getPosition() - Method in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
Slot this buff occupies in the selection menu.
getPotionEffectType() - Method in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The vanilla effect this buff applies.
getPrimaryPet() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the player's primary active pet — the first one activated that is still active — or null if none is active in the current world group.
getPrimaryPet(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns the player's primary active pet — the first one activated that is still active — or null if none.
getPrimaryPet(Player) - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns the primary active pet for the given Bukkit player, or null.
getPriority() - Method in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
Numeric priority value.
getPriority() - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Dynamic
 
getPriority() - Method in interface de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule
Returns the priority used to order this rule relative to other rules that match the same level.
getPriority() - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Static
 
getProjectile() - Method in interface de.Keyle.MyPet.api.skill.skills.Ranged
Returns the upgrade computer controlling the type of projectile launched.
getRaidBehavior() - Method in interface de.Keyle.MyPet.api.skill.skills.Behavior
Returns the upgrade computer controlling whether Raid mode is unlocked.
getRandom() - Static method in class de.Keyle.MyPet.api.Util
Returns a random number generator for the calling thread.
getRandomExp() - Method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Returns a random experience value uniformly distributed between MonsterExperience.min and MonsterExperience.max.
getRandomSkilltree(Pet) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Selects a random skilltree for the given pet using weighted probability.
getRange() - Method in interface de.Keyle.MyPet.api.skill.skills.Beacon
Returns the upgrade computer controlling the beacon's effect radius in blocks.
getRange() - Method in interface de.Keyle.MyPet.api.skill.skills.Fishing
Returns the upgrade computer controlling the water search radius in blocks.
getRange() - Method in interface de.Keyle.MyPet.api.skill.skills.Lumberjack
Returns the upgrade computer controlling the tree search radius in blocks.
getRange() - Method in interface de.Keyle.MyPet.api.skill.skills.Mining
Returns the upgrade computer controlling the ore search radius in blocks.
getRange() - Method in interface de.Keyle.MyPet.api.skill.skills.Pickup
Returns the upgrade computer controlling the pickup radius in blocks.
getRange() - Method in interface de.Keyle.MyPet.api.skill.skills.Taunt
Returns the upgrade computer controlling the taunt radius in blocks.
getRangedDamage() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns ranged damage for projectile-shooting pets.
getRateOfFire() - Method in interface de.Keyle.MyPet.api.skill.skills.Ranged
Returns the upgrade computer controlling the delay (in ticks) between consecutive shots.
getRedirectedDamage() - Method in interface de.Keyle.MyPet.api.skill.skills.Shield
Returns the upgrade computer controlling the percentage of damage redirected from owner to pet.
getReflectedDamage() - Method in interface de.Keyle.MyPet.api.skill.skills.Thorns
Returns the upgrade computer controlling the percentage of damage reflected back to the attacker.
getRegisteredSkills() - Method in class de.Keyle.MyPet.api.skill.SkillManager
Returns the set of all registered skill implementation classes.
getReleaseOnDeath(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Reports whether pets of a type are released when they die.
getRemoveAfterRelease(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Reports whether the mob is removed once a pet of this type is released.
getRequiredExp() - Method in class de.Keyle.MyPet.api.skill.PetExperience
Returns the total experience required to advance from the current level to the next level (the "progress bar" maximum).
getRequiredLevel() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Level a pet must reach before it may select this skilltree.
getRequirement(String) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Looks up a requirement by name (case-insensitive).
getRequirementName(Class<?>) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Resolves the requirement name for a class by searching its type hierarchy for a RequirementName annotation.
getRequirementSettings() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Requirement blocks gating who may select this skilltree.
getRespawnTime() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getRespawnTime() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Seconds remaining on the respawn timer.
getResult() - Method in class de.Keyle.MyPet.api.event.PetFeedEvent
The reaction the pet plays for this feed.
getRows() - Method in interface de.Keyle.MyPet.api.skill.skills.Backpack
Returns the upgrade computer controlling the number of inventory rows available.
getSaturation() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getSaturation() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Hunger level (1–100).
getSaturation() - Method in class de.Keyle.MyPet.api.event.PetFeedEvent
The saturation this feed restores.
getScale() - Method in interface de.Keyle.MyPet.api.skill.skills.Scale
Returns the upgrade computer controlling the pet's scale delta.
getSchedulerSkills() - Method in class de.Keyle.MyPet.api.skill.Skills
Immutable list of all skills that implement Scheduler.
getSectionTypeRegistry() - Method in interface de.Keyle.MyPet.api.gui.GuiService
Returns the registry of section types, for registering a type of your own.
getSelectedPet(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PetManager
The pet a command with no pet named acts on: the one the owner selected (MyPetPlayer.selectPet(java.util.UUID)) while it is still out, else the active pet brought out most recently, else null when nothing is out.
getSelectedPet(Player) - Method in class de.Keyle.MyPet.api.repository.PetManager
The pet a command with no pet named acts on; see PetManager.getSelectedPet(MyPetPlayer).
getSelectedPetUUID() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
The UUID last passed to MyPetPlayer.selectPet(java.util.UUID), or null.
getService(Class<? extends T>) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
returns the services of a specific class
getService(String) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
returns the services with a specific ServiceName
getServiceManager() - Method in interface de.Keyle.MyPet.api.plugin.MyPetPlugin
Returns the central service registry for lifecycle-managed services.
getServiceManager() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the service manager.
getServiceName() - Method in interface de.Keyle.MyPet.api.util.service.ServiceContainer
Returns the name of the service
getServices(Class<? extends T>) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
returns all services that inherit from a specific class/interface
getSize() - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Logical size of the inventory in slots.
getSkill() - Method in class de.Keyle.MyPet.api.event.PetOnHitSkillEvent
The live skill instance about to run.
getSkillClass(String) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Returns the skill implementation class registered under the given name.
getSkillManager() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the skill manager.
getSkillName(Class<?>) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Resolves the SkillName.value() for the given class by walking its superclass chain and interfaces.
getSkills() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns the skill container holding all active skill instances.
getSkillTranslationNode(String) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Translation node from the skill's @SkillName, or null if the name is unknown.
getSkilltree() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getSkilltree() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
The assigned skilltree, or null if none is set.
getSkilltree() - Method in class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent
The skilltree that has been assigned.
getSkilltree(String) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Returns the skilltree with the given name, or null if none is registered.
getSkilltreeManager() - Static method in class de.Keyle.MyPet.MyPetApi
Returns the skilltree manager.
getSkilltreeNames() - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Returns the set of all registered skilltree names.
getSkilltrees() - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Returns all registered skilltree instances (unordered).
getSlotState(String) - Method in interface de.Keyle.MyPet.api.gui.MenuInstance
Current state name of a multi-state slot section, or its default.
getSource() - Method in class de.Keyle.MyPet.api.event.PetCreateEvent
The pathway the pet was created through.
getSource() - Method in class de.Keyle.MyPet.api.event.PetRemoveEvent
The pathway the removal came through.
getSource() - Method in class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent
The pathway the assignment came through.
getSpeed() - Method in class de.Keyle.MyPet.api.entity.ai.navigation.NavigationParameters
Base movement speed (excluding modifiers).
getSpeed(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Base walk speed (Bukkit MOVEMENT_SPEED attribute value).
getSpeedIncrease() - Method in interface de.Keyle.MyPet.api.skill.skills.Ride
Returns the upgrade computer controlling the bonus movement speed percentage while ridden.
getStartHP(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Starting max health for freshly tamed pets of this type.
getState() - Method in class de.Keyle.MyPet.api.event.PetStatusEvent
The state the pet has just moved into.
getState() - Method in interface de.Keyle.MyPet.api.skill.skilltree.Skill
Returns this skill's current runtime state as a typed SkillState record, or Optional.empty() if the skill has no persisted state worth exposing (the default — most skills' behavior is fully driven by skilltree upgrade levels).
getStation(Toolbox.Station) - Method in interface de.Keyle.MyPet.api.skill.skills.Toolbox
Returns the upgrade computer controlling whether the given station is unlocked.
getStatus() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns the current lifecycle state of this pet.
getStoredPets(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PetManager
Lists all pets — active or stored — owned by the given player.
getString(String) - Method in class de.Keyle.MyPet.api.util.configuration.settings.Settings
Returns the raw string value of key=v.
getSuffix() - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Field
Unit shown after the value in the editor, such as a percent sign.
getTags() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Returns the custom NBT tags, or null if none set.
getTarget() - Method in class de.Keyle.MyPet.api.event.PetDamageEvent
The entity about to be damaged.
getTarget() - Method in class de.Keyle.MyPet.api.event.PetOnHitSkillEvent
The entity the skill will be applied to.
getTargetPriority() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns the priority level of whoever set the current target.
getTeleportDistance(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Distance in blocks at which a pet of type that has fallen behind its owner teleports to them (MyPet.Pets.<Type>.TeleportDistance).
getTimer() - Method in interface de.Keyle.MyPet.api.skill.skills.Heal
Returns the upgrade computer controlling the interval (in ticks) between heal applications.
Getting hold of the API - Search tag in Overview
Section
getTitle() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Legacy string title.
getToolless() - Method in interface de.Keyle.MyPet.api.skill.skills.Fishing
Whether the pet fishes bare-pawed (true) or needs a real fishing rod in its Backpack (false).
getToolless() - Method in interface de.Keyle.MyPet.api.skill.skills.Lumberjack
Whether the pet fells bare-pawed (true) or needs a real axe in its Backpack (false).
getToolless() - Method in interface de.Keyle.MyPet.api.skill.skills.Mining
Whether the pet mines bare-pawed (true) or needs a real pickaxe in its Backpack (false).
getToughness() - Method in interface de.Keyle.MyPet.api.skill.skills.Armor
Returns the upgrade computer controlling the pet's bonus armor toughness.
getTranslationKey() - Method in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
Vanilla translation key for the station's block name.
getType() - Method in exception class de.Keyle.MyPet.api.skill.experience.ExperienceCache.LevelNotCalculatedException
The pet type whose level could not be computed.
getType() - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Field
What kind of value this field holds.
getTypeID() - Method in class de.Keyle.MyPet.api.entity.PetType
Lowercase type ID used for persistence keys (e.g.
getUniqueId() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the player's Mojang UUID.
getUnlockedStations() - Method in interface de.Keyle.MyPet.api.skill.skills.Toolbox
Returns all currently unlocked stations, in Toolbox.Station declaration order.
getUpgradeKey() - Method in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
Key this station is unlocked under in skilltree JSON.
getUpgradeMessage() - Method in interface de.Keyle.MyPet.api.skill.skilltree.Skill
Returns the message components to display to the player when this skill receives an upgrade.
getUpgradeParser(String) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Returns the parser registered for the given skill name, or null if none is registered.
getUpgrades(int) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Collects all upgrades that should be applied at the given level, including inherited ones.
getUpgrades(int, Set<String>) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Internal recursive method that collects upgrades while tracking already-visited trees to avoid circular inheritance loops.
getUpgradeSchema(String) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Schema for one skill, or null if none registered.
getUpgradeSchemas() - Method in class de.Keyle.MyPet.api.skill.SkillManager
All registered schemas, keyed by canonical skill name, sorted case-insensitively.
getUUID() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getUUID() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Globally unique identifier for this pet instance (persisted).
getValue() - Method in class de.Keyle.MyPet.api.skill.UpgradeComputer
Returns the current computed value after all applied modifiers.
getVersion() - Method in class de.Keyle.MyPet.api.skill.experience.DefaultExperienceCalculator
Returns a version number representing the current revision of this calculator's formula.
getVersion() - Method in interface de.Keyle.MyPet.api.skill.experience.ExperienceCalculator
Returns a version number representing the current revision of this calculator's formula.
getVersion() - Method in class de.Keyle.MyPet.api.skill.experience.ExponentialExperienceCalculator
 
getVersion() - Method in class de.Keyle.MyPet.api.skill.experience.LinearExperienceCalculator
 
getVersion() - Method in class de.Keyle.MyPet.api.skill.experience.PowerExperienceCalculator
 
getViewers() - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Returns the current viewers of this inventory.
getVolume() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getVolume() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
This pet's sound-volume override.
getWeight(PetType) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Random-assignment weight for the given pet type.
getWorldGroup() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
 
getWorldGroup() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
The world-group this pet belongs to (multi-world isolation).
getWorldGroupBindings() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the full world-group → pet UUID bindings.
getWorldGroupForPet(UUID) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns the world group name that a pet UUID is bound to.
getWorlds() - Method in class de.Keyle.MyPet.api.WorldGroup
The worlds in this group.
global(String, T, Object, BiFunction<ConfigurationSection, String, T>) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
General-purpose global key.
global(Consumer<Pet>, Consumer<Pet>) - Static method in class de.Keyle.MyPet.api.lifecycle.PetLifecycleHook
Builds a hook that fires for every pet, regardless of type.
GLOBAL - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience.Modifier
Server-wide experience multiplier.
GLOBAL_MODIFIER - Static variable in class de.Keyle.MyPet.api.skill.PetExperience
Singleton global XP modifier applied to all pets (e.g.
globalBool(String, boolean) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
Global boolean key.
globalDouble(String, double) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
Global double key.
globalInt(String, int) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
Global int key.
globalItem(String, String) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
Global ConfigItem key.
globalLong(String, long) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
Global long key.
GlobalModifier - Class in de.Keyle.MyPet.api.skill.experience.modifier
An experience modifier that multiplies incoming experience by the server-wide global factor.
GlobalModifier() - Constructor for class de.Keyle.MyPet.api.skill.experience.modifier.GlobalModifier
Creates a modifier that reads the server-wide experience factor.
globalString(String, String) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
Global string key.
globalStringSet(String) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
Global string-set key — reads a YAML list into a Set.
glow() - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Returns the value of the glow record component.
glowing - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Whether the item renders with the enchantment glint.
glowing - Variable in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeIcon
Whether the icon is drawn with the enchantment glint.
goalKeyNames() - Method in class de.Keyle.MyPet.api.goal.PetGoalRetention
Returns the goals to keep, in declaration order.
goalNamesFor(Pet) - Static method in class de.Keyle.MyPet.api.goal.PetGoalRetentionRegistry
Returns the union of every vanilla goal-key name registered for pet's type.
GRINDSTONE - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
The g r i n d s t o n e( workstation.
group(String, Consumer<UpgradeSchema.Builder>) - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Declares a nested block of fields.
GROUP - Enum constant in enum class de.Keyle.MyPet.api.skill.UpgradeSchema.FieldType
A nested block of fields.
growUpItem() - Element in annotation interface de.Keyle.MyPet.api.entity.DefaultInfo
Item that forces a baby pet to grow up when right-clicked.
growUpItem(String, String) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
GrowUpItem key for PetBaby types.
GuiService - Interface in de.Keyle.MyPet.api.gui
Service facade.

H

handler() - Method in class de.Keyle.MyPet.api.behavior.PetBehavior
The actual handler — invoked by the dispatcher after pet-type match.
has(MyPetPlayer, String) - Static method in class de.Keyle.MyPet.api.player.Permissions
Checks a permission node against a MyPetPlayer.
has(Class<? extends Skill>) - Method in class de.Keyle.MyPet.api.skill.Skills
Returns true if a skill matching the given class is registered.
has(String) - Method in class de.Keyle.MyPet.api.skill.Skills
Returns true if a skill with the given name is registered.
has(Player, String) - Static method in class de.Keyle.MyPet.api.player.Permissions
Checks a permission node against an online player.
has(OfflinePlayer, String) - Static method in class de.Keyle.MyPet.api.player.Permissions
Offline permission check.
hasActivePet(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns true if the given player has an active pet.
hasActivePet(String) - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns true if the player with this name has an active pet.
hasActivePet(Player) - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns true if the given Bukkit player has an active pet.
hasAnyOf(Player, List<String>) - Static method in class de.Keyle.MyPet.api.player.AdminPermissions
True if the player holds any node in the set (a MyPet.admin holder has them all via children).
hasAutoRespawnEnabled() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns true if the pet will auto-respawn after its timer.
hasChanged - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Dirty flag: true when the item needs rebuilding before its next render.
hasCustomData() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Whether this player has any non-default custom data persisted.
hasDisplayName() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Returns true if a custom display name has been explicitly set.
hasExtended(MyPetPlayer, String) - Static method in class de.Keyle.MyPet.api.player.Permissions
Extended-mode check for a MyPetPlayer.
hasExtended(Player, String) - Static method in class de.Keyle.MyPet.api.player.Permissions
Extended-mode check.
hasExtended(Player, String, boolean) - Static method in class de.Keyle.MyPet.api.player.Permissions
Extended-mode check with an explicit default.
hasExtended(OfflinePlayer, String) - Static method in class de.Keyle.MyPet.api.player.Permissions
Extended-mode offline check.
hasExtended(OfflinePlayer, String, boolean) - Static method in class de.Keyle.MyPet.api.player.Permissions
Extended-mode offline check with explicit default.
hashCode() - Method in record class de.Keyle.MyPet.api.dialog.ConfirmPromptSpec
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.dialog.TextPromptSpec
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.entity.PetDistanceMath.Band
Returns a hash code value for this object.
hashCode() - Method in class de.Keyle.MyPet.api.entity.PetType
 
hashCode() - Method in record class de.Keyle.MyPet.api.gui.BorderSection
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.ClickPayload
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.CodecContext
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.CustomSection
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.FillSection
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.FillSection.Region
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.FloatRange
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.MenuId
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.MenuInstanceSnapshot
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.RenderContext
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.SectionType
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Choice
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Fixed
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Range
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Silent
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeEnumModifier
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeIntegerModifier
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skills.Backpack.State
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.MenuContext
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.State
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skills.Behavior.State
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skills.Pickup.State
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skills.Potion.Entry
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skills.Sniff.DropEntry
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Dynamic
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Static
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.NotificationEntry
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.UpgradeEntry
Returns a hash code value for this object.
hashCode() - Method in record class de.Keyle.MyPet.api.skill.ToggleableSkill.ToggleState
Returns a hash code value for this object.
hasInheritance() - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Returns true if this skilltree inherits from another registered skilltree.
hasKey(String, String) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Read-only probe: true if MyPet has a translation for key resolvable for the given locale, using the exact same lookup + casing as rendering.
hasPet() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns true if this player has at least one active (live) pet.
hasPetInWorldGroup(WorldGroup) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns true if this player has a pet in the given world group.
hasPetInWorldGroup(String) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns true if this player has a pet in the named world group.
hasPetRider() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns true if a player is currently riding this pet.
hasRoomForActivePet(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PetManager
Whether owner can have one more pet out without anything being evicted.
hasSeatedRider(Pet) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Whether this renderer currently has anyone in pet's driver seat.
hasServices(Class<? extends ServiceContainer>) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
returns if services that inherit from a specific class/interface are available
hasSkilltree(String) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Returns true if a skilltree with the given name is registered.
hasTarget() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns true if the pet has an active combat target.
Haste - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The haste( potion effect.
headSkin() - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Returns the value of the headSkin record component.
HeadSkin - Enum Class in de.Keyle.MyPet.api.gui
Skin source applied to a PLAYER_HEAD item.
Heal - Interface in de.Keyle.MyPet.api.skill.skills
Skill that passively regenerates the pet's health over time.
HEAL - Enum constant in enum class de.Keyle.MyPet.api.event.PetFeedEvent.Result
Heart particles and the heal animation.
health() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the health record component.
health(double) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the current health.
HealthBoost - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The health boost( potion effect.
height() - Method in record class de.Keyle.MyPet.api.gui.FillSection.Region
Returns the value of the height record component.
height() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the height record component.
height() - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Returns the value of the height record component.
Here - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.PetState
Alive and present in the world.
hideAtBoundary() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns the value of the hideAtBoundary record component.
hidePotionParticles() - Method in interface de.Keyle.MyPet.api.entity.Pet
Stops any active potion particle effect.
highItem() - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns the value of the highItem record component.
holdsAnyItem() - Method in interface de.Keyle.MyPet.api.entity.PetEquipment
Whether MyPet owns this pet's main hand outright: every item, gear or not, is equipped there by the sneak right-click, and the mob's own hand interaction (the allay's take-an-item / give-it-back on a plain right-click) and its item pickup are suppressed on pets.
HookHelper - Class in de.Keyle.MyPet.api.util.hooks
The HookHelper is a wrapper for the hooks of the default functionality this plugin needs from other plugins.
HookHelper() - Constructor for class de.Keyle.MyPet.api.util.hooks.HookHelper
Creates a hook helper.
Hooks - Enum constant in enum class de.Keyle.MyPet.api.util.service.Load.State
After migration, while third-party integrations are wired up.
HOST - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository.MySQL
Address of the MySQL server.
hp() - Element in annotation interface de.Keyle.MyPet.api.entity.DefaultInfo
Starting max health (half-hearts).
HUNGER_DECREASE_TIME - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Beacon
Ticks between each point of saturation the Beacon skill costs, when the hunger system is active.
HUNGER_PER_METER - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Ride
Saturation spent per metre ridden, when the hunger system is active.
HUNGER_SYSTEM_CAN_KILL - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.HungerSystem
Whether starvation damage may actually kill a pet.
HUNGER_SYSTEM_FACTOR - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.HungerSystem
Scaling component added to starvation damage.
HUNGER_SYSTEM_FIXED - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.HungerSystem
Flat damage dealt on each starvation tick.
HUNGER_SYSTEM_SATURATION_PER_FEED - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.HungerSystem
Saturation restored per feed.
HUNGER_SYSTEM_TIME - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.HungerSystem
Seconds between each drop of one point from a pet's saturation.
HUNGER_SYSTEM_TIME_BEFORE_DAMAGE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.HungerSystem
Grace period, in seconds, between a pet reaching zero saturation and the first starvation damage.

I

icon - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Icon shown in the selection menu, or null for the default.
iconMaterial() - Element in annotation interface de.Keyle.MyPet.api.entity.ShopInfo
The material name for the shop icon (e.g., "zombie_head").
IconMenuItem - Class in de.Keyle.MyPet.api.gui
Deprecated, for removal: This API element is subject to removal in a future version.
MyPet no longer uses this builder; the menus describe a slot with the immutable ItemAppearance record instead. Use that for new code.
IconMenuItem() - Constructor for class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Creates an item with default appearance: a name tag, stack size 1, no title or lore.
id() - Method in record class de.Keyle.MyPet.api.gui.BorderSection
Returns the value of the id record component.
id() - Method in record class de.Keyle.MyPet.api.gui.CustomSection
Returns the value of the id record component.
id() - Method in record class de.Keyle.MyPet.api.gui.FillSection
Returns the value of the id record component.
id() - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Identifies which menu this handler drives.
id() - Method in record class de.Keyle.MyPet.api.gui.MenuId
Returns the value of the id record component.
id() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the id record component.
id() - Method in interface de.Keyle.MyPet.api.gui.Section
Returns this section's id within its menu.
id() - Method in record class de.Keyle.MyPet.api.gui.SectionType
Returns the value of the id record component.
id() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns the value of the id record component.
id() - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Returns the value of the id record component.
id() - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns the value of the id record component.
ignoreCancelled() - Method in class de.Keyle.MyPet.api.behavior.PetBehavior
Whether the handler skips already-cancelled events.
ignoredByHelper() - Method in interface de.Keyle.MyPet.api.entity.leashing.LeashFlag
If true, the /petinfo helper display skips this flag - useful for flags that are always-pass or purely internal.
IMPORT - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to import pet data from another pet plugin.
info() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the info record component.
info(CompoundBinaryTag) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the addon-owned persisted state; empty when null.
INFO - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to read any pet's admin info.
INFO_PLAYER - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to run /petadmin info against another player.
inheritedSkilltreeName - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Name of the skilltree this one inherits upgrades from, or null when it stands alone.
init() - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Loads all translation bundles and registers this class as a translation source with GlobalTranslator.
initialValue() - Method in record class de.Keyle.MyPet.api.dialog.TextPromptSpec
Returns the value of the initialValue record component.
insertExp(String, PetType, int, double) - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCache
Inserts a computed experience value into the in-memory cache.
instance() - Method in record class de.Keyle.MyPet.api.gui.RenderContext
Returns the value of the instance record component.
INSTANCE - Static variable in record class de.Keyle.MyPet.api.gui.SoundSpec.Silent
 
integer(String) - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Declares a whole-number field.
INTEGER - Enum constant in enum class de.Keyle.MyPet.api.skill.UpgradeSchema.FieldType
A whole number.
InvalidPosition - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
The target location is not somewhere a pet can be placed.
InvalidSkilltreeException - Exception Class in de.Keyle.MyPet.api.exceptions
Thrown when a .st.json skilltree file fails to parse — malformed JSON, missing required fields, or invalid skill/level references.
InvalidSkilltreeException(String, Exception) - Constructor for exception class de.Keyle.MyPet.api.exceptions.InvalidSkilltreeException
Wraps the underlying failure with the name of the part that could not be read.
INVENTORY - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to open another player's pet inventory with /petadmin inventory.
invert(Number) - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier
Applies the inverse of this modifier's operation.
invert(T) - Method in interface de.Keyle.MyPet.api.skill.Upgrade
Reverts this upgrade's modifiers from the given skill, restoring the skill to its state before this upgrade was applied.
Invisibility - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The invisibility( potion effect.
INVISIBLE_LIKE_OWNER - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether a pet turns invisible while its owner has the invisibility effect.
isActive() - Method in interface de.Keyle.MyPet.api.skill.skilltree.Skill
Returns true if this skill has been activated (i.e., at least one upgrade has been applied).
isActive(Class<? extends Skill>) - Method in class de.Keyle.MyPet.api.skill.Skills
Returns true if the skill matching the given class exists and is currently active.
isActive(String) - Method in class de.Keyle.MyPet.api.skill.Skills
Returns true if the named skill exists and is currently active (i.e.
isAscensionFor(Pet) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
True if this tree's Skilltree requirement names the pet's current tree — i.e.
isBaby() - Method in interface de.Keyle.MyPet.api.entity.PetBaby
Returns true if this pet is currently in its baby form.
isBeaconAllowed(Location) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns if beacon effects can be activated at a certain location
isBeaconAllowed(Location) - Method in interface de.Keyle.MyPet.api.util.hooks.types.BeaconHook
Returns if beacon effects can be activated at a certain location
isBeaconSelfAllowed(Location) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns if owners can receive their own beacon effects at a certain location
isBeaconSelfAllowed(Location) - Method in interface de.Keyle.MyPet.api.util.hooks.types.BeaconHook
Returns if owners can receive their own beacon effects at a certain location
isBeaconShareAllowed(Location) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns if beacon effects can be shared to non-owners at a certain location
isBeaconShareAllowed(Location) - Method in interface de.Keyle.MyPet.api.util.hooks.types.BeaconHook
Returns if beacon effects can be shared to non-owners at a certain location
isCancelled() - Method in class de.Keyle.MyPet.api.event.CancellablePetEvent
Returns whether a listener has vetoed this event.
isCaptureHelperActive() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns true if the leash-flag helper overlay is shown.
isCumulative() - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Field
Whether values from successive levels add up rather than replace each other.
isDisabled() - Method in class de.Keyle.MyPet.api.WorldGroup
Whether MyPet is switched off in this group's worlds.
isDisabling() - Method in interface de.Keyle.MyPet.api.plugin.MyPetPlugin
Returns true during onDisable() execution.
isEconomyEnabled() - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns if the Vault economy hook is enabled
isEmpty() - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Checks whether the inventory contains no items (all slots null or air).
isEnabled() - Method in interface de.Keyle.MyPet.api.skill.ToggleableSkill
True if the owner currently has this skill switched on.
isFlyingPet() - Method in class de.Keyle.MyPet.api.entity.PetType
Type-level capability check: does this pet type's interface declare PetFlyingEntity? The per-pet CanFly preference is checked separately at the pet *instance* level (see PetFlyingEntity.canFly()) — callers that need the combined capability and preference answer should use the instance check directly.
isGlobal() - Method in class de.Keyle.MyPet.api.config.ConfigKey
Whether this is a global key (lives in config.yml at an explicit path) rather than a per-pet key (lives in pet-config.yml under MyPet.Pets.<Type>.<Key>).
isGlowing() - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Whether the item renders with the enchantment glint.
isGlowing() - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeIcon
Whether the icon is drawn with the enchantment glint.
isHealthBarActive() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns true if the under-name health bar is displayed.
isHostAwaitingAdoption() - Method in interface de.Keyle.MyPet.api.entity.Pet
Whether the pet's current host is a creature its provider plugin spawned that MyPet has bound but not yet adopted (goals, attributes and marker still pending).
isInGroup(Player, String) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PermissionGroupHook
Returns if a player is in a group (Vault compatible)
isInGroup(Player, String, String) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PermissionGroupHook
Returns if a player is in a group in a world (Vault compatible)
isInParty(Player) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns if a player is in a party (Ancient, mcMMO, Heroes)
isInParty(Player) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PartyHook
Returns if a player is in a party (Ancient, mcMMO, Heroes)
isInt(String) - Static method in class de.Keyle.MyPet.api.Util
Checks whether the given string can be parsed as an int.
isInteractionSuppressed() - Method in interface de.Keyle.MyPet.api.entity.PetInteractionGate
Returns true if the admin has disabled this pet type's vanilla interaction via the per-type config flag.
isLeashableEntityType(EntityType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Returns whether a given Bukkit EntityType can be leashed as a pet at all.
isMyPetPlayer(String) - Method in class de.Keyle.MyPet.api.repository.PlayerManager
Returns true if an online player with this name is registered.
isMyPetPlayer(Player) - Method in class de.Keyle.MyPet.api.repository.PlayerManager
Returns true if this Bukkit player is in the online cache.
isNaturalDropSuppressed() - Method in interface de.Keyle.MyPet.api.entity.PetNaturalDrop
Returns true if the admin has disabled this pet type's natural drop via the per-type config flag.
isOnline() - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Returns true if the underlying Bukkit player is currently online.
isOverrideFlySpeed(PetType) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Per-pet toggle controlling whether the Ride skill's flight controller uses PetInfo.getFlySpeed(PetType) verbatim or derives ride speed from the mob's vanilla FLYING_SPEED / MOVEMENT_SPEED attribute.
isPaginated() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
True if both page-button refs are supplied — the list paginates on overflow.
isPassive() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns true if the pet's skilltree has no damage-dealing skills active — the pet will not attack even if provoked.
isPetAllowed(MyPetPlayer) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Return if a MyPet player is in any type of arena (Minigames, Survival Games, PvP Arena, etc.)
isPetAllowed(MyPetPlayer) - Method in interface de.Keyle.MyPet.api.util.hooks.types.AllowedHook
Return if a MyPet player is in any a place where he is allowed to have a pet
isPickupEnabled() - Method in interface de.Keyle.MyPet.api.skill.skills.Pickup
True if the pickup auto-toggle is currently on.
isPluginAvailable(String) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
Reports whether a third-party plugin is installed, whether or not it is enabled.
isPluginAvailable(String, String) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
Reports whether a third-party plugin is installed and exposes the named class, whether or not it is enabled.
isPluginUsable(String) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
Reports whether a third-party plugin is present and enabled.
isPluginUsable(String, String) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
Reports whether a third-party plugin is present, enabled and exposes the named class.
isQuiet() - Method in class de.Keyle.MyPet.api.event.PetExpEvent
Whether the caller asked for the change to be silent.
isQuiet() - Method in class de.Keyle.MyPet.api.event.PetLevelEvent
Returns whether the originating PetExpEvent asked for the change to be silent.
isReady() - Static method in class de.Keyle.MyPet.MyPetApi
Reports whether the API is usable yet.
isSameOwnerPet(Pet, Entity) - Static method in class de.Keyle.MyPet.api.util.PetTargetFilter
True when candidate is a different pet belonging to pet's owner.
isSeatedRider(Pet, Player) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Whether rider specifically is in one of this renderer's seats on pet.
isServiceActive(Class<? extends ServiceContainer>) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
returns if a service that inherit from a specific class/interface is available
isServiceActive(String) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
returns if a services with a specific ServiceName is available
isSitting() - Method in interface de.Keyle.MyPet.api.entity.Pet
Returns true if the pet is in its sitting/stay pose.
isSlotVisible(C, String) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Per-render visibility check for a section.
isSwimmingPet() - Method in class de.Keyle.MyPet.api.entity.PetType
Type-level check: does this type implement PetSwimmingEntity?
isUsable() - Method in class de.Keyle.MyPet.api.skill.experience.DefaultExperienceCalculator
Indicates whether this calculator is ready to produce results.
isUsable() - Method in interface de.Keyle.MyPet.api.skill.experience.ExperienceCalculator
Indicates whether this calculator is ready to produce results.
isUsable() - Method in class de.Keyle.MyPet.api.skill.experience.ExponentialExperienceCalculator
 
isUsable() - Method in class de.Keyle.MyPet.api.skill.experience.LinearExperienceCalculator
 
isUsable() - Method in class de.Keyle.MyPet.api.skill.experience.PowerExperienceCalculator
 
isValidSkill(Class<?>) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Recursively checks whether the given class is (or extends/implements) a valid skill — i.e.
isVanished(Player) - Method in class de.Keyle.MyPet.api.util.hooks.HookHelper
Returns whether the player is vanished or not
isVanished(Player) - Method in interface de.Keyle.MyPet.api.util.hooks.types.VanishedHook
Returns whether the player is vanished or not
item - Variable in class de.Keyle.MyPet.api.util.ConfigItem
The configured item this is compared against.
item() - Method in record class de.Keyle.MyPet.api.gui.BorderSection
Returns the value of the item record component.
item() - Method in record class de.Keyle.MyPet.api.gui.FillSection
Returns the value of the item record component.
item() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns the value of the item record component.
item() - Method in record class de.Keyle.MyPet.api.skill.skills.Sniff.DropEntry
Returns the value of the item record component.
ItemAppearance - Record Class in de.Keyle.MyPet.api.gui
Pure visual description of one item slot.
ItemAppearance(Material, String, List<String>, boolean, int, int, HeadSkin, Color) - Constructor for record class de.Keyle.MyPet.api.gui.ItemAppearance
Rejects an absent material or non-positive amount, and defaults the lore and head skin.
itemIndex() - Method in record class de.Keyle.MyPet.api.gui.ClickPayload
Returns the value of the itemIndex record component.
ItemStrings - Class in de.Keyle.MyPet.api.util
Round-trips a full ItemStack (including all meta) to and from a paste-safe one-line string, for storing items in skilltree JSON.

J

JsonCodec<S> - Interface in de.Keyle.MyPet.api.gui
JSON ↔ section-record bridge.
JumpBoost - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The jump boost( potion effect.

K

key() - Method in class de.Keyle.MyPet.api.config.ConfigKey
Bare key name (e.g.
key() - Method in class de.Keyle.MyPet.api.config.PetSkillFlag
Key below MyPet.Pets.<Type>, e.g.
key() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Fixed
Returns the value of the key record component.
key() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Range
Returns the value of the key record component.
Knockback - Interface in de.Keyle.MyPet.api.skill.skills
Skill that gives the pet a chance to knock back targets on hit, pushing them away from the pet.

L

label(String) - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Sets the editor label for the field declared last.
LargeFireball - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Launches a large fireball.
lastUsed() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the lastUsed record component.
lastUsed(long) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the last-activity timestamp.
LEASH - Enum constant in enum class de.Keyle.MyPet.api.event.PetCreateEvent.Source
A player leashed a wild mob.
LeashEntityHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook checks if the leashed entity will be removed
LeashFlag - Interface in de.Keyle.MyPet.api.entity.leashing
A single condition that must be satisfied before a player can leash (tame) a mob as a pet.
LeashFlagManager - Class in de.Keyle.MyPet.api.entity.leashing
Central registry for LeashFlag implementations.
LeashFlagManager() - Constructor for class de.Keyle.MyPet.api.entity.leashing.LeashFlagManager
Creates an empty manager.
LeashFlagName - Annotation Interface in de.Keyle.MyPet.api.entity.leashing
Declares the config-facing name of a LeashFlag implementation.
leashFlags() - Element in annotation interface de.Keyle.MyPet.api.entity.DefaultInfo
Leash flag names that must pass before a player can tame this mob.
LeashHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook checks if players can attack an entity
level - Variable in class de.Keyle.MyPet.api.skill.PetExperience
The pet's current level.
LEVEL_CAP - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience
Level past which a pet stops gaining experience.
LevelNotCalculatedException(PetType, int) - Constructor for exception class de.Keyle.MyPet.api.skill.experience.ExperienceCache.LevelNotCalculatedException
Reports that the cache holds no value for a pet type at a given level.
LevelRule - Interface in de.Keyle.MyPet.api.skill.skilltree.levelrule
A rule that determines whether a particular upgrade or notification should activate at a given pet level.
LevelRule.Dynamic - Record Class in de.Keyle.MyPet.api.skill.skilltree.levelrule
Matches levels by an "every modulo levels" pattern, optionally restricted to the inclusive range [start, end] (end == 0 means unbounded).
LevelRule.Static - Record Class in de.Keyle.MyPet.api.skill.skilltree.levelrule
Matches an explicit, fixed set of levels.
levels() - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Static
Returns the value of the levels record component.
Life - Interface in de.Keyle.MyPet.api.skill.skills
Skill that increases the pet's maximum health (hit points).
Lightning - Interface in de.Keyle.MyPet.api.skill.skills
Skill that gives the pet a chance to strike the target with a lightning bolt on hit.
LINEAR_BASE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Curve
Experience each level costs under the Linear curve.
LinearExperienceCalculator - Class in de.Keyle.MyPet.api.skill.experience
Flat experience curve: every level costs the same Base amount, so the cumulative experience to reach level L is Base * (L - 1).
LinearExperienceCalculator() - Constructor for class de.Keyle.MyPet.api.skill.experience.LinearExperienceCalculator
Creates a flat curve.
list(String, Consumer<UpgradeSchema.Builder>) - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Declares a repeating row of fields.
LIST - Enum constant in enum class de.Keyle.MyPet.api.skill.UpgradeSchema.FieldType
A repeating row of fields.
LIST - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to run /petadmin list against another player.
listServices() - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
Logs every registered service and whether it is active.
LlamaSpit - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Launches llama spit.
load() - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCache
Loads the cache from the exp.cache file.
load(String) - Method in class de.Keyle.MyPet.api.util.ConfigItem
Parses a modern-format item string like "minecraft:wheat[custom_name='...']" via Paper's ItemFactory.createItemStack(String).
load(String) - Method in class de.Keyle.MyPet.api.util.configuration.settings.Settings
Parse a settings string (everything after the leading flag name and its first colon — e.g.
load(String, String) - Method in class de.Keyle.MyPet.api.util.ConfigItem
Parses a legacy format where the material ID is separate from the optional NBT/components suffix.
load(CompoundBinaryTag) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Restores inventory contents from the provided NBT compound.
load(CompoundBinaryTag) - Method in interface de.Keyle.MyPet.api.util.NBTStorage
Restores state previously written by NBTStorage.save().
Load - Annotation Interface in de.Keyle.MyPet.api.util.service
Declares the startup phase at which a ServiceContainer should be loaded.
Load.State - Enum Class in de.Keyle.MyPet.api.util.service
The startup phases a service can be loaded at.
loadConfig() - Method in class de.Keyle.MyPet.api.util.configuration.ConfigurationYAML
Re-reads the file from disk, replacing the current contents.
loadConfig(ConfigurationSection) - Method in interface de.Keyle.MyPet.api.util.service.ServiceContainer
Optional per-service YAML config block, loaded before ServiceContainer.onEnable().
loadFrom(ConfigurationSection) - Method in class de.Keyle.MyPet.api.config.ConfigKey
Reads this key's value from config and publishes it via volatile write.
loadFromYaml(ConfigurationSection) - Static method in class de.Keyle.MyPet.api.config.ConfigKeyRegistry
Reads each registered key's value from config and publishes via ConfigKey.loadFrom(org.bukkit.configuration.ConfigurationSection).
loadGlobalsFromYaml(ConfigurationSection) - Static method in class de.Keyle.MyPet.api.config.ConfigKeyRegistry
Reads every global key's value from config (config.yml).
loadGroups(File) - Static method in class de.Keyle.MyPet.api.WorldGroup
Reads every group from the given YAML file, then puts any world not mentioned into the default group.
loadSkillState(Skill, CompoundBinaryTag) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Restores a skill's runtime state from NBT via its registered SkillStateCodec (read, then Skill.applyState(SkillState)).
Locale - Class in de.Keyle.MyPet.api.util.locale
MyPet's translation facility.
lookup(String, String) - Static method in class de.Keyle.MyPet.api.config.ConfigKeyRegistry
Returns the ConfigKey for (petType, key), or null if none is registered.
LOOM - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
The l o o m( workstation.
lore - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Legacy string lore lines.
lore() - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Returns the value of the lore record component.
LOSS_FIXED - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience
Flat experience a pet loses on death.
LOSS_PERCENT - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience
Percentage of its experience a pet loses on death.
lowItem() - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns the value of the lowItem record component.
Luck - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The luck( potion effect.
Lumberjack - Interface in de.Keyle.MyPet.api.skill.skills
Skill that lets the pet periodically fell a nearby tree (a log column with a leaf canopy), dropping the logs naturally.

M

mActivePetsByEntityUuid - Variable in class de.Keyle.MyPet.api.repository.PetManager
Active pets keyed by their live Bukkit entity's UUID, for resolving a pet from an entity.
mActivePlayerPets - Variable in class de.Keyle.MyPet.api.repository.PetManager
Active pets per owner, in activation order.
makeSound(String, float, float) - Method in interface de.Keyle.MyPet.api.entity.Pet
Plays a sound at the pet's location.
material - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
The item's material.
material - Variable in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeIcon
Material the icon is drawn as.
material() - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Returns the value of the material record component.
max() - Method in record class de.Keyle.MyPet.api.entity.PetDistanceMath.Band
Returns the value of the max record component.
max() - Method in record class de.Keyle.MyPet.api.gui.FloatRange
Returns the value of the max record component.
MAX_ACTIVE_PET_COUNT - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Ceiling for how many pets a player may have out at once.
MAX_LENGTH - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Name
Longest pet name a player may set.
MAX_STEP - Static variable in class de.Keyle.MyPet.api.entity.PetDistanceMath
Largest step of either scale.
MAX_STORED_PET_COUNT - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
How many inactive (stored) pets one player may keep.
maxDistance(int, int, double) - Static method in class de.Keyle.MyPet.api.entity.PetDistanceMath
Follow-distance radius.
maxDistanceStep() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the maxDistanceStep record component.
maxDistanceStep(int) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the follow-distance step; normalized to 1..5 on build.
maxExp - Variable in class de.Keyle.MyPet.api.skill.PetExperience
Experience needed to reach the next level.
maxLength() - Method in record class de.Keyle.MyPet.api.dialog.TextPromptSpec
Returns the value of the maxLength record component.
maxLevel - Variable in class de.Keyle.MyPet.api.skill.PetExperience
Highest level the pet can reach (the level cap).
maxLevel - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Highest level this skilltree grants upgrades for; 0 means unbounded.
maxSq() - Method in record class de.Keyle.MyPet.api.entity.PetDistanceMath.Band
Squared PetDistanceMath.Band.max(), for comparing against squared distances.
MenuContext(Player, Pet) - Constructor for record class de.Keyle.MyPet.api.skill.skills.Beacon.MenuContext
Creates an instance of a MenuContext record class.
MenuDefinition - Record Class in de.Keyle.MyPet.api.gui
Immutable resolved blueprint for one menu.
MenuDefinition(String, String, int, boolean, SoundSpec, SoundSpec, SoundSpec, Map<String, Section>) - Constructor for record class de.Keyle.MyPet.api.gui.MenuDefinition
Rejects an out-of-range row count or absent title, and substitutes silence for absent sounds.
MenuHandler<C> - Interface in de.Keyle.MyPet.api.gui
Per-menu Java logic.
menuId() - Method in record class de.Keyle.MyPet.api.gui.CodecContext
Returns the value of the menuId record component.
menuId() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns the value of the menuId record component.
MenuId<C> - Record Class in de.Keyle.MyPet.api.gui
Typed identity of a registered menu.
MenuId(String, Class<C>) - Constructor for record class de.Keyle.MyPet.api.gui.MenuId
Creates an instance of a MenuId record class.
MenuIds - Class in de.Keyle.MyPet.api.gui
Catalog of built-in MenuIds.
MenuInstance - Interface in de.Keyle.MyPet.api.gui
Runtime handle for one open menu.
MenuInstanceSnapshot - Record Class in de.Keyle.MyPet.api.gui
Volatile UI state captured when a menu is pushed onto the navigation stack.
MenuInstanceSnapshot(Map<String, Integer>, Map<String, String>) - Constructor for record class de.Keyle.MyPet.api.gui.MenuInstanceSnapshot
Defensively copies both maps, treating null as empty.
message() - Method in record class de.Keyle.MyPet.api.dialog.ConfirmPromptSpec
Returns the value of the message record component.
Migration - Enum constant in enum class de.Keyle.MyPet.api.util.service.Load.State
After enable, while stored data is migrated.
min() - Method in record class de.Keyle.MyPet.api.entity.PetDistanceMath.Band
Returns the value of the min record component.
min() - Method in record class de.Keyle.MyPet.api.gui.FloatRange
Returns the value of the min record component.
MIN_MAX_SEPARATION - Static variable in class de.Keyle.MyPet.api.entity.PetDistanceMath
Smallest gap-space distance between the two scales after clamping.
MIN_STEP - Static variable in class de.Keyle.MyPet.api.entity.PetDistanceMath
Smallest step of either scale.
minDistance(int, double) - Static method in class de.Keyle.MyPet.api.entity.PetDistanceMath
Personal-space radius for a pet of the given hitbox width.
minDistanceStep() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the minDistanceStep record component.
minDistanceStep(int) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the personal-space step; normalized to 1..5 on build.
Mining - Interface in de.Keyle.MyPet.api.skill.skills
Skill that lets the pet periodically mine one exposed ore block near itself, dropping the ore's natural drops.
minSq() - Method in record class de.Keyle.MyPet.api.entity.PetDistanceMath.Band
Squared PetDistanceMath.Band.min(), for comparing against squared distances.
mirrorFor(String) - Method in class de.Keyle.MyPet.api.config.ConfigKey
Registers a copy of this per-pet key under otherType, with the same default and reader, so a custom type hosted on this key's pet type gets the option in its own pet-config section.
mobClass() - Method in class de.Keyle.MyPet.api.entity.leashing.WildAngerCheck
Returns the mob type this check applies to.
mobExp - Static variable in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Default experience values for vanilla entity types, keyed by EntityType.name().
mobTypes - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Pet types allowed to use this skilltree; empty means all of them.
mode() - Method in record class de.Keyle.MyPet.api.skill.skills.Behavior.State
Returns the value of the mode record component.
modifier - Variable in class de.Keyle.MyPet.api.skill.PetExperience
Modifiers applied to experience before it is granted.
modify(double, double) - Method in class de.Keyle.MyPet.api.skill.experience.modifier.AdditiveModifier
Applies this modifier to the given experience value.
modify(double, double) - Method in class de.Keyle.MyPet.api.skill.experience.modifier.ExperienceModifier
Applies this modifier to the given experience value.
modify(double, double) - Method in class de.Keyle.MyPet.api.skill.experience.modifier.GlobalModifier
Applies this modifier to the given experience value.
modify(double, double) - Method in class de.Keyle.MyPet.api.skill.experience.modifier.MultiplicativeModifier
Applies this modifier to the given experience value.
modify(double, double) - Method in class de.Keyle.MyPet.api.skill.experience.modifier.PermissionModifier
Applies this modifier to the given experience value.
modify(Boolean) - Method in enum class de.Keyle.MyPet.api.skill.modifier.UpgradeBooleanModifier
Applies this modifier to the given current value, producing an updated result.
modify(Integer) - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeIntegerModifier
Applies this modifier to the given current value, producing an updated result.
modify(Number) - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier
Applies this modifier to the given current value, producing an updated result.
modify(T) - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeEnumModifier
Applies this modifier to the given current value, producing an updated result.
modify(T) - Method in interface de.Keyle.MyPet.api.skill.modifier.UpgradeModifier
Applies this modifier to the given current value, producing an updated result.
modifyExp(double) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Applies all registered experience modifiers to a raw XP value.
modulo() - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Dynamic
Returns the value of the modulo record component.
MonsterExperience - Class in de.Keyle.MyPet.api.skill.experience
Represents the experience value (or range) awarded to a pet when a specific mob type is killed.
MonsterExperience(double, double, String) - Constructor for class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Creates a monster experience entry with a random range.
MonsterExperience(double, String) - Constructor for class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Creates a monster experience entry with a fixed (non-random) value.
MonsterExperienceHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook handles custom exp values from mobs of other plugins
MountInsideHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook checks if a player tries to enter a region by mounting their pet
MultiplicativeModifier - Class in de.Keyle.MyPet.api.skill.experience.modifier
An experience modifier that multiplies the incoming experience by a configurable factor.
MultiplicativeModifier() - Constructor for class de.Keyle.MyPet.api.skill.experience.modifier.MultiplicativeModifier
Creates a multiplicative modifier with a factor of 1.0 (no-op).
MultiplicativeModifier(double) - Constructor for class de.Keyle.MyPet.api.skill.experience.modifier.MultiplicativeModifier
Creates a multiplicative modifier with the specified factor.
MYPETADMIN_NODES - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
The /mypetadmin subcommand nodes — used to gate the /mypetadmin parent literal.
MyPetApi - Class in de.Keyle.MyPet
Static entry point to the MyPet API: every manager, service and hook an addon can reach is reached through one of the accessors here.
MyPetApi() - Constructor for class de.Keyle.MyPet.MyPetApi
Not intended for instantiation -- every member of this class is static.
MyPetGlobal - Class in de.Keyle.MyPet.api
Plugin-wide settings from config.yml, each a ConfigKey declared as a public static final field — the single source of truth for global config, mirroring the per-pet ConfigKey fields on each PetXxx class.
MyPetGlobal.HungerSystem - Class in de.Keyle.MyPet.api
Pet saturation: how it drains, how it is restored, and what starving costs.
MyPetGlobal.LevelSystem - Class in de.Keyle.MyPet.api
Which experience curve pets level along.
MyPetGlobal.LevelSystem.Curve - Class in de.Keyle.MyPet.api
Tunable parameters for the built-in Linear/Power/Exponential XP curves.
MyPetGlobal.LevelSystem.Experience - Class in de.Keyle.MyPet.api
How pets earn and lose experience.
MyPetGlobal.LevelSystem.Experience.Modifier - Class in de.Keyle.MyPet.api
Multipliers applied to experience a pet earns.
MyPetGlobal.Misc - Class in de.Keyle.MyPet.api
Assorted server-wide behaviour that does not belong to a larger system.
MyPetGlobal.Name - Class in de.Keyle.MyPet.api
Limits and presentation for pet names.
MyPetGlobal.Name.Tag - Class in de.Keyle.MyPet.api
The floating name tag drawn above a pet.
MyPetGlobal.Permissions - Class in de.Keyle.MyPet.api
How strictly permission nodes are enforced.
MyPetGlobal.Repository - Class in de.Keyle.MyPet.api
Where pets are persisted, and how that storage is reached.
MyPetGlobal.Repository.MySQL - Class in de.Keyle.MyPet.api
Connection details for the MySQL repository type.
MyPetGlobal.Respawn - Class in de.Keyle.MyPet.api
How long a dead pet takes to come back, and what reviving it costs.
MyPetGlobal.Skilltree - Class in de.Keyle.MyPet.api
Skilltree assignment rules and the fee for switching.
MyPetGlobal.Skilltree.Skill - Class in de.Keyle.MyPet.api
Per-skill server-wide settings.
MyPetGlobal.Skilltree.Skill.Backpack - Class in de.Keyle.MyPet.api
The Backpack skill.
MyPetGlobal.Skilltree.Skill.Beacon - Class in de.Keyle.MyPet.api
The Beacon skill.
MyPetGlobal.Skilltree.Skill.Fishing - Class in de.Keyle.MyPet.api
The Fishing skill.
MyPetGlobal.Skilltree.Skill.Lumberjack - Class in de.Keyle.MyPet.api
The Lumberjack skill.
MyPetGlobal.Skilltree.Skill.Mining - Class in de.Keyle.MyPet.api
The Mining skill.
MyPetGlobal.Skilltree.Skill.Ride - Class in de.Keyle.MyPet.api
The Ride skill.
MyPetGlobal.Update - Class in de.Keyle.MyPet.api
The built-in update checker and downloader.
MyPetGlobal.WebEditor - Class in de.Keyle.MyPet.api
Browser-based config editor (`/mypet editor`) — relay endpoints + on/off.
MyPetPlayer - Interface in de.Keyle.MyPet.api.player
Represents a player who owns (or may own) pets.
MyPetPlugin - Interface in de.Keyle.MyPet.api.plugin
API-facing contract for the MyPet plugin instance.

N

name() - Method in class de.Keyle.MyPet.api.entity.PetType
CamelCase display name (e.g.
name() - Method in class de.Keyle.MyPet.api.util.locale.Locale
 
NAME - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to rename another player's pet.
naturalDropMaterials() - Method in interface de.Keyle.MyPet.api.entity.PetNaturalDrop
The set of materials this pet type may periodically drop (e.g.
NAVIGATED_AWAY - Enum constant in enum class de.Keyle.MyPet.api.gui.CloseReason
Another openMenu opened on top; this menu's snapshot is in the stack.
navigateTo(double, double, double) - Method in class de.Keyle.MyPet.api.entity.ai.navigation.AbstractNavigation
Starts pathfinding toward the given world coordinates.
navigateTo(LivingEntity) - Method in class de.Keyle.MyPet.api.entity.ai.navigation.AbstractNavigation
Convenience overload — navigates toward a living entity's current position.
navigateTo(Location) - Method in class de.Keyle.MyPet.api.entity.ai.navigation.AbstractNavigation
Convenience overload — navigates to the given location's block coordinates.
NavigationParameters - Class in de.Keyle.MyPet.api.entity.ai.navigation
Mutable parameter bag that controls how a pet navigates the world.
NavigationParameters(double) - Constructor for class de.Keyle.MyPet.api.entity.ai.navigation.NavigationParameters
Creates a parameter set with no modifiers applied.
NBTStorage - Interface in de.Keyle.MyPet.api.util
Something that can write itself to NBT and read itself back.
nextPageSectionId() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the nextPageSectionId record component.
NightVision - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The night vision( potion effect.
NO_OP - Enum constant in enum class de.Keyle.MyPet.api.gui.SectionRenderer.ClickResult
Nothing further happens.
noLabel() - Method in record class de.Keyle.MyPet.api.dialog.ConfirmPromptSpec
Returns the value of the noLabel record component.
None - Enum constant in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
No target set — always loses to any real priority.
Normal - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Behavior.BehaviorMode
Behaves like a normal tamed wolf.
normalizeStep(int) - Static method in class de.Keyle.MyPet.api.entity.PetDistanceMath
Maps anything outside [MIN_STEP, MAX_STEP] to PetDistanceMath.DEFAULT_STEP; for values read from storage, where a NULL column arrives as 0 and must mean "unset".
NoSpace - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
There was no room at the target location.
NotAllowed - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
Something refused the spawn here, such as a region protection hook.
notification() - Method in record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.NotificationEntry
Returns the value of the notification record component.
NotificationEntry(LevelRule, String) - Constructor for record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.NotificationEntry
Creates an instance of a NotificationEntry record class.
notifications - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Level-gated messages shown to the owner.
NotUsed - Enum constant in enum class de.Keyle.MyPet.api.util.ConfigItem.DurabilityMode
Ignores durability entirely.
NPC - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to manage pet-storage NPCs.
NPC_STORAGE_CONFIRM - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
Confirmation shown before a pet is handed to a storage NPC.
number(String) - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Declares a decimal field.
NUMBER - Enum constant in enum class de.Keyle.MyPet.api.skill.UpgradeSchema.FieldType
A decimal value.

O

of(float) - Static method in record class de.Keyle.MyPet.api.gui.FloatRange
Creates a range that always yields the same value.
of(Class<S>, UpgradeSchema, UpgradeParser<S>) - Static method in class de.Keyle.MyPet.api.skill.SkillUpgrades
Declares a skill's upgrade schema and parser.
of(Class<S>, Class<T>, SkillStateCodec<T>) - Static method in class de.Keyle.MyPet.api.skill.SkillStateCodecs
Declares a skill's state codec.
of(String, Class<C>) - Static method in record class de.Keyle.MyPet.api.gui.MenuId
Creates a menu id.
onClick(MenuInstance, String, ClickPayload) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Called for a click the section's renderer delegated to this handler.
onClick(S, ClickPayload, RenderContext) - Method in interface de.Keyle.MyPet.api.gui.SectionRenderer
Handle a click on a slot owned by this section.
onClose(MenuInstance, CloseReason) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Called once as the menu closes.
onClose(HumanEntity) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Should be called when a player closes this inventory to remove them from the tracked viewer list.
onClose(S, CloseReason, RenderContext) - Method in interface de.Keyle.MyPet.api.gui.SectionRenderer
Called once when the owning MenuInstance is closing.
OnDamageByEntitySkill - Interface in de.Keyle.MyPet.api.skill
Interface for skills that react when the pet receives damage from another entity.
onDespawn(Pet) - Method in class de.Keyle.MyPet.api.lifecycle.PetLifecycleHook
Runs the despawn callback.
onDisable() - Method in class de.Keyle.MyPet.api.entity.leashing.LeashFlagManager
 
onDisable() - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCache
 
onDisable() - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
 
onDisable() - Method in class de.Keyle.MyPet.api.skill.SkillManager
 
onDisable() - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
 
onDisable() - Method in interface de.Keyle.MyPet.api.util.ErrorReporter
Stops reporting and flushes anything pending.
onDisable() - Method in interface de.Keyle.MyPet.api.util.service.ServiceContainer
Disables the service
onEnable() - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCache
 
onEnable() - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
 
onEnable() - Method in interface de.Keyle.MyPet.api.util.ErrorReporter
Starts reporting.
onEnable() - Method in interface de.Keyle.MyPet.api.util.service.ServiceContainer
Enables the service and returns if activation was successful
OnEnable - Enum constant in enum class de.Keyle.MyPet.api.util.service.Load.State
During MyPet's onEnable.
OnHitSkill - Interface in de.Keyle.MyPet.api.skill
Interface for skills that trigger when the pet deals melee damage to a target.
onInteract(Player, ItemStack, EquipmentSlot) - Method in interface de.Keyle.MyPet.api.entity.Pet
Called when a player right-clicks the pet.
onlinePlayers - Variable in class de.Keyle.MyPet.api.repository.PlayerManager
The online players MyPet is tracking, keyed by Mojang UUID.
OnLoad - Enum constant in enum class de.Keyle.MyPet.api.util.service.Load.State
During MyPet's onLoad, before any plugin has enabled.
onMeleeHitLanded(LivingEntity) - Method in interface de.Keyle.MyPet.api.entity.Pet
Hook fired by PetMeleeAttackGoal immediately after a successful melee hit (one that reduced the target's health).
onOpen(MenuInstance, C) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Called once as the menu opens, before the first render.
onOpen(HumanEntity) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Should be called when a player opens this inventory to keep the viewer list in sync while the underlying inventory may be lazily created.
onPetBlockForm(String, PetEventHandler<EntityBlockFormEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
Pet entity is forming a block (EntityBlockFormEvent).
onPetBlockForm(String, EventPriority, boolean, PetEventHandler<EntityBlockFormEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
PetBehaviorHelpers.onPetBlockForm(String, PetEventHandler) with explicit priority + ignoreCancelled.
onPetCreeperPower(String, PetEventHandler<CreeperPowerEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
Creeper pet entity is becoming powered/unpowered (CreeperPowerEvent).
onPetCreeperPower(String, EventPriority, boolean, PetEventHandler<CreeperPowerEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
PetBehaviorHelpers.onPetCreeperPower(String, PetEventHandler) with explicit priority + ignoreCancelled.
onPetDamaged(String, PetEventHandler<EntityDamageEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
Pet entity is the victim of damage (EntityDamageEvent).
onPetDamaged(String, EventPriority, boolean, PetEventHandler<EntityDamageEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
PetBehaviorHelpers.onPetDamaged(String, PetEventHandler) with explicit priority + ignoreCancelled.
onPetDamages(String, PetEventHandler<EntityDamageByEntityEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
Pet entity is the damager of an entity-on-entity attack (EntityDamageByEntityEvent).
onPetDamages(String, EventPriority, boolean, PetEventHandler<EntityDamageByEntityEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
PetBehaviorHelpers.onPetDamages(String, PetEventHandler) with explicit priority + ignoreCancelled.
onPetExplodes(String, PetEventHandler<EntityExplodeEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
Pet entity is the source of an explosion (EntityExplodeEvent).
onPetExplodes(String, EventPriority, boolean, PetEventHandler<EntityExplodeEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
PetBehaviorHelpers.onPetExplodes(String, PetEventHandler) with explicit priority + ignoreCancelled.
onPetInteract(String, PetEventHandler<PlayerInteractEntityEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
Right-click on a pet entity.
onPetInteract(String, EventPriority, boolean, PetEventHandler<PlayerInteractEntityEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
PetBehaviorHelpers.onPetInteract(String, PetEventHandler) with explicit priority + ignoreCancelled.
onPetLightningTransform(String, PetEventHandler<EntityTransformEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
Pet entity is being transformed into a different entity type (EntityTransformEvent).
onPetLightningTransform(String, EventPriority, boolean, PetEventHandler<EntityTransformEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
onPetPushes(String, EventPriority, boolean, PetEventHandler<EntityPushedByEntityAttackEvent>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorHelpers
Pet entity is the source of a push (EntityPushedByEntityAttackEvent), fired by Entity#push(x, y, z, source) before any damage is dealt.
OnReady - Enum constant in enum class de.Keyle.MyPet.api.util.service.Load.State
Last, once everything else is in place.
onRefresh(MenuInstance, C) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Called when something outside the menu asks for it to be redrawn (GuiService.refreshMenu(org.bukkit.entity.Player)), before the renderer reads the handler's state.
onSpawn(Pet) - Method in class de.Keyle.MyPet.api.lifecycle.PetLifecycleHook
Runs the spawn callback.
open(HumanEntity) - Method in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
Opens this station as a virtual view for the given player (no block required).
open(Player) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Opens this inventory GUI for the specified player.
OPEN - Enum constant in enum class de.Keyle.MyPet.api.event.PetInventoryActionEvent.Action
The owner is opening the backpack UI.
OPEN_IN_CREATIVE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Backpack
Whether a player may open their pet's backpack while in creative mode.
openMenu(Player, MenuId<C>, C) - Method in interface de.Keyle.MyPet.api.gui.GuiService
Open or push a menu for the viewer.
options() - Element in annotation interface de.Keyle.MyPet.api.entity.ShopInfo
Additional options for the pet (e.g., "tamed", "size:2").
options() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Choice
Returns the value of the options record component.
order - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Sort position in the selection menu; lower comes first.
OTHER - Enum constant in enum class de.Keyle.MyPet.api.event.PetCreateEvent.Source
Any other pathway, including third-party plugins.
OTHER - Enum constant in enum class de.Keyle.MyPet.api.event.PetRemoveEvent.Source
Any other pathway, including third-party plugins.
OTHER - Enum constant in enum class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent.Source
Any other pathway, including third-party plugins.
overrideFlySpeed() - Element in annotation interface de.Keyle.MyPet.api.entity.DefaultInfo
If true, the Ride skill's flight controller uses DefaultInfo.flySpeed() verbatim as the base ride speed for this pet, skipping vanilla-attribute derivation entirely.
Overwrite - Enum constant in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
Unconditional override — always wins.
OVERWRITE_LANGUAGE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Forces one language for every player instead of detecting it per player.
ownedSlots(S) - Method in interface de.Keyle.MyPet.api.gui.SectionRenderer
Slot indices (0..rows*9-1) this section renders into in the given context.
owner() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the owner record component.
Owner - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.BuffReceiver
Only the pet's owner receives buffs.
OWNER_CAN_ATTACK_PET - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether an owner is allowed to hit their own pet.
OWNER_THORNS_DAMAGE_PET - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether an owner's Thorns armor damages their own pet.
OwnerDead - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
The owner is dead.
OwnerGetsHurt - Enum constant in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
Target inherited from something that damaged the owner.
OwnerHurts - Enum constant in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
Target inherited from the owner's outgoing attack.
ownsAnyPet(UUID) - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns true if the player owns at least one pet — active or stored.

P

pageIndices() - Method in record class de.Keyle.MyPet.api.gui.MenuInstanceSnapshot
Returns the value of the pageIndices record component.
PaginatedListSection - Record Class in de.Keyle.MyPet.api.gui
Rectangular region populated by a per-item template applied to a stream supplied by the menu handler.
PaginatedListSection(String, SectionType<PaginatedListSection>, int, int, int, int, ItemAppearance, String, String, SoundSpec, SoundSpec) - Constructor for record class de.Keyle.MyPet.api.gui.PaginatedListSection
Rejects a non-positive region and substitutes silence for absent sounds.
parameters - Variable in class de.Keyle.MyPet.api.entity.ai.navigation.AbstractNavigation
Mutable parameter set controlling speed and modifiers.
parse(JsonObject) - Method in interface de.Keyle.MyPet.api.skill.UpgradeParser
Parses an Upgrade for skill S from a skilltree JSON node.
parseBoolean(JsonElement) - Static method in class de.Keyle.MyPet.api.skill.UpgradeParsers
Parses a JSON boolean primitive into a boolean upgrade modifier.
parseEnum(JsonElement, Class<T>) - Static method in class de.Keyle.MyPet.api.skill.UpgradeParsers
Parses a JSON string into an enum upgrade modifier by matching the string (case-insensitive) against the constants of the given enum class.
parseInteger(JsonElement) - Static method in class de.Keyle.MyPet.api.skill.UpgradeParsers
Parses a JSON string element into an integer upgrade modifier.
parseNumber(JsonElement) - Static method in class de.Keyle.MyPet.api.skill.UpgradeParsers
Parses a JSON string element into a numeric upgrade modifier.
parseState(Class<S>, Class<T>, CompoundBinaryTag) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Parses compound into the typed SkillState for skillClass, or returns Optional.empty() if no codec is registered, the registered state class doesn't match stateClass, or the codec declines the compound.
Party - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.BuffReceiver
All members of the owner's party receive buffs.
PARTY_SUPPORT - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Beacon
Whether Beacon buffs reach party members, for the supported party plugins.
PartyHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook handles party checks
PASSIVE_PERCENT_PER_MONSTER - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience
Percentage of a kill's experience a pet earns passively when its owner makes the kill.
PASSWORD - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository.MySQL
Password of the MySQL user.
pay(MyPetPlayer, double) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Charges a pet owner.
pay(UUID, double) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Charges a player.
pay(OfflinePlayer, double) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Charges a player.
percentAt(int) - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns the percentage a given cell of the bar represents, for the <percent> placeholder.
PERMISSION - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience.Modifier
Whether per-player permission nodes may override the global experience multiplier.
PermissionGroupHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook handles party checks
PermissionModifier - Class in de.Keyle.MyPet.api.skill.experience.modifier
An experience modifier that grants bonus experience based on the pet owner's permissions.
PermissionModifier(Pet) - Constructor for class de.Keyle.MyPet.api.skill.experience.modifier.PermissionModifier
Creates a permission modifier bound to the specified pet.
Permissions - Class in de.Keyle.MyPet.api.player
Static permission-check utility.
Permissions() - Constructor for class de.Keyle.MyPet.api.player.Permissions
Not intended for instantiation -- every member of this class is static.
PersistedPet - Record Class in de.Keyle.MyPet.api.entity
Immutable, value-typed pet record — the canonical "pet at rest" representation that the repository loads from disk and that callers pass around between deactivation and reactivation.
PersistedPet(UUID, MyPetPlayer, PetType, String, String, double, double, double, int, boolean, long, Skilltree, CompoundBinaryTag, CompoundBinaryTag) - Constructor for record class de.Keyle.MyPet.api.entity.PersistedPet
Deprecated.
use PersistedPet.builder(MyPetPlayer) or the canonical constructor.
PersistedPet(UUID, MyPetPlayer, PetType, String, String, double, double, double, int, boolean, long, Skilltree, CompoundBinaryTag, CompoundBinaryTag, OptionalDouble, int, int) - Constructor for record class de.Keyle.MyPet.api.entity.PersistedPet
Rejects a null owner, then normalizes every other field as the class javadoc describes.
PersistedPet.Builder - Class in de.Keyle.MyPet.api.entity
Step-by-step construction of a PersistedPet, for callers setting more than one field.
persistStorage(C, String, ItemStack[]) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Persist storage contents when the menu closes.
pet - Variable in class de.Keyle.MyPet.api.skill.PetExperience
The pet whose experience this tracks.
pet() - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.MenuContext
Returns the value of the pet record component.
Pet - Interface in de.Keyle.MyPet.api.entity
Active, in-world pet.
PET_DISTANCE - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The two-row distance picker for one pet: personal space and follow distance.
PET_KILLS_GIVE_PLAYER_REWARDS - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether mobs killed by a pet drop experience and loot as if a player had killed them.
PET_MENU - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The main per-pet menu.
PET_RELEASE_CONFIRM - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
Confirmation shown before a pet is released for good.
PET_ROSTER - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The unified pet roster menu for players and admins.
PET_SHOP - Enum constant in enum class de.Keyle.MyPet.api.event.PetCreateEvent.Source
The pet was bought through the PetShop integration.
PET_SHOP - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
A single shop entry, with its price and details.
PET_SHOP_CONFIRM - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
Confirmation shown before a shop purchase is charged.
PET_SHOP_SELECTION - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The pets a shop currently has on offer.
PET_TRADE_CONFIRM - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
Confirmation shown before a pet trade completes.
PET_TRADE_TARGET - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The player picker for trading a pet away.
PET_VOLUME - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The slider controlling how loud a pet's sounds are.
Pet.PetState - Enum Class in de.Keyle.MyPet.api.entity
Lifecycle state of a pet.
Pet.SpawnFlags - Enum Class in de.Keyle.MyPet.api.entity
Result codes returned by Pet.createEntity().
PetActivatedEvent - Class in de.Keyle.MyPet.api.event
Fired after a pet has finished transitioning from at-rest (PersistedPet) to live (Pet) — i.e., once the runtime entity exists, all skills are registered and rebuilt from persisted state, and the pet is in the active-pets map.
PetActivatedEvent(Pet) - Constructor for class de.Keyle.MyPet.api.event.PetActivatedEvent
Creates the event for a pet that has finished activating.
PetAmphibiousEntity - Interface in de.Keyle.MyPet.api.entity
Marker for pet types whose underlying vanilla mob swims in water but also survives on land indefinitely — axolotl, drowned, frog, turtle.
PetAquaticEntity - Interface in de.Keyle.MyPet.api.entity
Marker for pet types whose underlying vanilla mob is a strict water-breather — swims naturally and takes vanilla drown-type damage when exposed to air.
PetBaby - Interface in de.Keyle.MyPet.api.entity
Marker for pet types that have a baby/adult form.
PetBehavior<E> - Class in de.Keyle.MyPet.api.behavior
One per-pet event handler, dispatched by the central PetBehaviorDispatcher.
PetBehaviorHelpers - Class in de.Keyle.MyPet.api.behavior
Factory methods for PetBehavior, one per common Bukkit event shape.
PetBehaviorRegistry - Class in de.Keyle.MyPet.api.behavior
Central registry of every PetBehavior declared as a static field on a pet class.
PetCallEvent - Class in de.Keyle.MyPet.api.event
Fired when an owner attempts to spawn the world entity for an already-active pet — i.e.
PetCallEvent(Pet) - Constructor for class de.Keyle.MyPet.api.event.PetCallEvent
Creates the event for a pet whose world entity is about to be spawned.
PetChested - Interface in de.Keyle.MyPet.api.entity
Marker for pets that expose the chest creation flag (gives the underlying mob a carried chest at spawn via ChestedHorse.setCarryingChest(boolean)).
PetConfigLookup - Class in de.Keyle.MyPet.api.config
Resolves per-pet config values from a runtime Class<? extends Pet> reference — the form marker interfaces (PetFlyingEntity.canFly, PetSwimmingEntity.canSwim, etc.) need.
PetCreateEvent - Class in de.Keyle.MyPet.api.event
Fired when a brand-new pet is created and assigned to an owner — the moment a pet first enters the repository.
PetCreateEvent(StoredPet, PetCreateEvent.Source) - Constructor for class de.Keyle.MyPet.api.event.PetCreateEvent
Creates the event for a pet that has just entered the repository.
PetCreateEvent.Source - Enum Class in de.Keyle.MyPet.api.event
How a pet came to be created.
PetDamageEvent - Class in de.Keyle.MyPet.api.event
Fired before a pet deals mêlée damage to a target.
PetDamageEvent(Pet, Entity, double) - Constructor for class de.Keyle.MyPet.api.event.PetDamageEvent
Creates the event for a mêlée strike that is about to land.
PetDistanceMath - Class in de.Keyle.MyPet.api.entity
The per-pet distance formula, in one place.
PetDistanceMath.Band - Record Class in de.Keyle.MyPet.api.entity
One pet's resolved thresholds, in blocks from the owner.
PetEquipment - Interface in de.Keyle.MyPet.api.entity
Marker for pet types that can wear or hold equipment (armor, weapons, saddles).
PetEvent - Class in de.Keyle.MyPet.api.event
Common base of every MyPet event that concerns one specific pet.
PetEvent() - Constructor for class de.Keyle.MyPet.api.event.PetEvent
Creates a synchronous pet event.
PetEventHandler<E> - Interface in de.Keyle.MyPet.api.behavior
Functional handler invoked by the central dispatcher when a Event fires on a pet whose type matches a registered PetBehavior.
PetExhaustionEvent - Class in de.Keyle.MyPet.api.event
Fired when a pet's saturation drops to zero — the pet is hungry and would otherwise begin losing health.
PetExhaustionEvent(Pet) - Constructor for class de.Keyle.MyPet.api.event.PetExhaustionEvent
Creates the event for a pet that has run out of saturation.
PetExperience - Class in de.Keyle.MyPet.api.skill
Manages a pet's experience points, level progression, and the damage-tracking maps used to attribute kills for XP distribution.
PetExperience(Pet) - Constructor for class de.Keyle.MyPet.api.skill.PetExperience
Creates the experience tracker for the given pet, initializing the calculator and registering the default modifiers (global and permission-based).
PetExpEvent - Class in de.Keyle.MyPet.api.event
Fired before a pet's experience changes — gain or loss.
PetExpEvent(Pet, double) - Constructor for class de.Keyle.MyPet.api.event.PetExpEvent
Creates the event for a non-quiet experience change.
PetExpEvent(Pet, double, boolean) - Constructor for class de.Keyle.MyPet.api.event.PetExpEvent
Creates the event for an experience change.
PetFeedEvent - Class in de.Keyle.MyPet.api.event
Fired when an owner right-clicks a pet with a food ItemStack.
PetFeedEvent(Pet, ItemStack, double, PetFeedEvent.Result) - Constructor for class de.Keyle.MyPet.api.event.PetFeedEvent
Creates the event for a pet about to be fed.
PetFeedEvent.Result - Enum Class in de.Keyle.MyPet.api.event
The visual and audible reaction a feed produces.
PetFlyingEntity - Interface in de.Keyle.MyPet.api.entity
Marker for pet types whose underlying vanilla mob naturally flies — implies Pet's AI/movement layer should treat this pet as airborne (no gravity, flight pathing, no float goal).
PetGoalRetention - Class in de.Keyle.MyPet.api.goal
Per-pet-type declaration of vanilla Bukkit goals that PetGoalInstaller should keep on the live mob at spawn time, instead of stripping every goal via Bukkit.getMobGoals().removeAllGoals(mob).
PetGoalRetention(String, String...) - Constructor for class de.Keyle.MyPet.api.goal.PetGoalRetention
Declares the goals to keep for one pet type, registering itself as it is built.
PetGoalRetentionRegistry - Class in de.Keyle.MyPet.api.goal
Central registry of every PetGoalRetention declared as a static field on a pet class.
PetInfo - Class in de.Keyle.MyPet.api.entity
Per-type metadata registry.
PetInfo() - Constructor for class de.Keyle.MyPet.api.entity.PetInfo
Creates a registry.
PetInteractEvent - Class in de.Keyle.MyPet.api.event
Base class for pet right-click interaction events.
PetInteractEvent(Pet, ItemStack) - Constructor for class de.Keyle.MyPet.api.event.PetInteractEvent
Creates the event for a right-click on a pet.
PetInteractionGate - Interface in de.Keyle.MyPet.api.entity
Marker for pet types whose underlying vanilla mob has a per-tick item-driven right-click interaction (cow + bucket → milk, sheep and shears → wool, etc.).
PetInventoryActionEvent - Class in de.Keyle.MyPet.api.event
Fired when something interacts with a pet's Backpack inventory.
PetInventoryActionEvent(Pet, PetInventoryActionEvent.Action) - Constructor for class de.Keyle.MyPet.api.event.PetInventoryActionEvent
Creates the event for a backpack interaction.
PetInventoryActionEvent.Action - Enum Class in de.Keyle.MyPet.api.event
What is being done to the backpack.
PetLavaEntity - Interface in de.Keyle.MyPet.api.entity
Marker for pet types whose underlying vanilla mob is immune to lava and navigates through it naturally (Strider, all Nether skeletons, and Magma Cube).
PetLevelDownEvent - Class in de.Keyle.MyPet.api.event
Fired after an experience change pushes a pet's level down — the symmetric counterpart of PetLevelUpEvent.
PetLevelDownEvent(Pet, int, int, boolean) - Constructor for class de.Keyle.MyPet.api.event.PetLevelDownEvent
Creates the event for a pet that has just lost a level.
PetLevelEvent - Class in de.Keyle.MyPet.api.event
Common parent for level-transition events.
PetLevelEvent(Pet, int) - Constructor for class de.Keyle.MyPet.api.event.PetLevelEvent
Deprecated, for removal: This API element is subject to removal in a future version.
nothing in MyPet calls this and it silently forces PetLevelEvent.isQuiet() to true; use PetLevelEvent(Pet, int, boolean) and state the quiet flag
PetLevelEvent(Pet, int, boolean) - Constructor for class de.Keyle.MyPet.api.event.PetLevelEvent
Creates a level event.
PetLevelUpEvent - Class in de.Keyle.MyPet.api.event
Fired after an experience change pushes a pet's level up.
PetLevelUpEvent(Pet, int, int, boolean) - Constructor for class de.Keyle.MyPet.api.event.PetLevelUpEvent
Creates the event for a pet that has just gained a level.
PetLifecycleHook - Class in de.Keyle.MyPet.api.lifecycle
Per-pet-type runtime hook fired when a pet spawns and despawns.
PetLifecycleHook(String, Consumer<Pet>, Consumer<Pet>) - Constructor for class de.Keyle.MyPet.api.lifecycle.PetLifecycleHook
Declares a hook for one pet type, registering itself as it is built.
PetLifecycleHookRegistry - Class in de.Keyle.MyPet.api.lifecycle
Central registry of every PetLifecycleHook declared as a static field on a pet class.
PetLightningConvertible - Interface in de.Keyle.MyPet.api.entity
Marker for pet types that vanilla converts to a different species when struck by lightning (Pig → ZombifiedPiglin, Villager → Witch).
PETLIMIT_ACTIVE_ALL - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to have up to the configured maximum number of pets out at once, rather than a fixed tier.
PetListenerRegistry - Class in de.Keyle.MyPet.api.listener
Central registry of every Bukkit Listener declared as a nested static class on a pet class.
PetLoadEvent - Class in de.Keyle.MyPet.api.event
Fired when the repository hands a stored pet to PetManager for activation — i.e., just before the manager wires it up as a live Pet.
PetLoadEvent(StoredPet) - Constructor for class de.Keyle.MyPet.api.event.PetLoadEvent
Creates the event for a stored pet handed over for activation.
PetManager - Class in de.Keyle.MyPet.api.repository
Manages the lifecycle of active (in-world) pets and provides access to stored (inactive) pet records.
PetManager() - Constructor for class de.Keyle.MyPet.api.repository.PetManager
Creates a manager.
PetMetamorphic - Interface in de.Keyle.MyPet.api.entity
Marker for pet types that vanilla matures into a different species once an internal age timer expires.
PetModelHook - Interface in de.Keyle.MyPet.api.util.hooks.types
A renderer provider (ModelEngine, BetterModel, ItemsAdder) that can draw a BlockBench model on a pet's host Bukkit mob.
PetModelSourceHook - Interface in de.Keyle.MyPet.api.util.hooks.types
A source of naturally-spawned modeled creatures (MythicMobs, ItemsAdder).
PetMultiPassenger - Interface in de.Keyle.MyPet.api.entity
Marker for pets that carry more than one rider in vanilla.
petName() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the petName record component.
petName(String) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the raw name, in MiniMessage form.
PetNameEvent - Class in de.Keyle.MyPet.api.event
Fired when a pet's display name is about to change.
PetNameEvent(Pet, String) - Constructor for class de.Keyle.MyPet.api.event.PetNameEvent
Creates the event for a pending rename.
PetNaturalDrop - Interface in de.Keyle.MyPet.api.entity
Marker for pet types whose underlying vanilla mob has a periodic AI-tick item drop (chicken eggs, armadillo scutes, sniffer seeds, goat horns, panda baby slimeballs, ...).
PetNaturallyRideable - Interface in de.Keyle.MyPet.api.entity
Marker for pets that can be mounted in vanilla Minecraft.
PetOnHitSkillEvent - Class in de.Keyle.MyPet.api.event
Fired before a pet's on-hit skill executes against a living target.
PetOnHitSkillEvent(Pet, OnHitSkill, LivingEntity) - Constructor for class de.Keyle.MyPet.api.event.PetOnHitSkillEvent
Creates the event for one on-hit skill in a mêlée strike.
petOwners - Variable in class de.Keyle.MyPet.api.repository.PetManager
Owner UUIDs known to have at least one pet — active or stored.
PetPickupItemEvent - Class in de.Keyle.MyPet.api.event
Fired when a pet with the Pickup skill is about to grab an Item entity off the ground.
PetPickupItemEvent(Pet, Item) - Constructor for class de.Keyle.MyPet.api.event.PetPickupItemEvent
Creates the event for a pending item pickup.
PetPlayerJoinEvent - Class in de.Keyle.MyPet.api.event
Fired after a MyPetPlayer has finished joining the server — i.e., after the vanilla PlayerJoinEvent fires AND after MyPet has loaded the player's pet roster from the repository, applied any pet-related tracking (lastSeen timestamp, default-pet activation, etc.), and registered them in the active player map.
PetPlayerJoinEvent(MyPetPlayer) - Constructor for class de.Keyle.MyPet.api.event.PetPlayerJoinEvent
Creates the event for a player whose MyPet-side join handling is complete.
PetRemoveEvent - Class in de.Keyle.MyPet.api.event
Fired when a pet is being permanently removed from the repository — the symmetric counterpart to PetCreateEvent.
PetRemoveEvent(StoredPet, PetRemoveEvent.Source) - Constructor for class de.Keyle.MyPet.api.event.PetRemoveEvent
Creates the event for a pet leaving the repository for good.
PetRemoveEvent.Source - Enum Class in de.Keyle.MyPet.api.event
How a pet came to be removed.
PetSaddleable - Interface in de.Keyle.MyPet.api.entity
Marker for pets that can be saddled in vanilla Minecraft, via any of the three Bukkit-API saddle shapes: SaddledMountInventory — inventory saddle slot (Horse, Donkey, Mule, SkeletonHorse, ZombieHorse, Camel, CamelHusk via AbstractHorseInventory; Nautilus, ZombieNautilus via ArmoredSaddledMountInventory) Steerable — boolean saddle flag (Pig, Strider).
PetSaveEvent - Class in de.Keyle.MyPet.api.event
Fired when a pet's persisted state is being written to the repository.
PetSaveEvent(StoredPet) - Constructor for class de.Keyle.MyPet.api.event.PetSaveEvent
Creates the event for a pet whose state is being written out.
PetSelectSkilltreeEvent - Class in de.Keyle.MyPet.api.event
Fired when a pet has a skilltree assigned.
PetSelectSkilltreeEvent(StoredPet, Skilltree, PetSelectSkilltreeEvent.Source) - Constructor for class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent
Creates the event for a skilltree assignment that has just been written.
PetSelectSkilltreeEvent.Source - Enum Class in de.Keyle.MyPet.api.event
How a skilltree came to be assigned.
PetSendAwayEvent - Class in de.Keyle.MyPet.api.event
Fired when an owner runs /mypet sendaway — the symmetric counterpart of PetCallEvent.
PetSendAwayEvent(Pet) - Constructor for class de.Keyle.MyPet.api.event.PetSendAwayEvent
Creates the event for a pet being dismissed from the world.
PetSitEvent - Class in de.Keyle.MyPet.api.event
Fired when a pet's sit / follow toggle is about to flip.
PetSitEvent(Pet, PetSitEvent.Action) - Constructor for class de.Keyle.MyPet.api.event.PetSitEvent
Creates the event for a pending sit / follow toggle.
PetSitEvent.Action - Enum Class in de.Keyle.MyPet.api.event
The state a sit toggle switches the pet into.
PetSittable - Interface in de.Keyle.MyPet.api.entity
Marker for pet types whose underlying vanilla mob has a sit animation — Wolf, Cat, Camel, Panda, Fox.
PetSkillFlag - Class in de.Keyle.MyPet.api.config
A single per-pet boolean flag that applies to every pet type, declared once at the feature that owns it rather than in a central loader.
PetState - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.PetState
Transitional state during spawn pipeline.
PetStatusEvent - Class in de.Keyle.MyPet.api.event
Fired when a pet's lifecycle PetState transitions — e.g., from Here (entity in the world) to Despawned (entity removed but pet still active) or to Dead (post-death respawn timer).
PetStatusEvent(Pet, Pet.PetState) - Constructor for class de.Keyle.MyPet.api.event.PetStatusEvent
Creates the event for a completed lifecycle state transition.
PETSTORAGE_LIMIT_ALL - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to store up to the configured maximum number of pets, rather than a fixed tier.
PetSunSensitive - Interface in de.Keyle.MyPet.api.entity
Marker for pet types whose underlying vanilla mob combusts in direct sunlight — the cohort whose Mojang counterpart returns true from Mob#isSunSensitive() (zombies, skeletons, and their variants) plus Phantom (which has its own sunlight check on aiStep).
PetSwimmingEntity - Interface in de.Keyle.MyPet.api.entity
Marker for pet types whose underlying vanilla mob can swim — implies MyPet's movement layer should treat the pet as a swimmer when it's in water (aquatic follow path, no float goal).
PetTameable - Interface in de.Keyle.MyPet.api.entity
Marker for pets that expose the tamed creation flag (sets the underlying mob's tamed state to true at spawn).
PetTargetFilter - Class in de.Keyle.MyPet.api.util
The single answer to "may this pet target or damage that entity?".
petType() - Method in class de.Keyle.MyPet.api.behavior.PetBehavior
Pet type name (e.g.
petType() - Method in class de.Keyle.MyPet.api.config.ConfigKey
Pet type name (e.g.
petType() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the petType record component.
petType() - Method in class de.Keyle.MyPet.api.goal.PetGoalRetention
Returns the pet type this declaration applies to.
petType() - Method in class de.Keyle.MyPet.api.lifecycle.PetLifecycleHook
Returns the pet type this hook is bound to.
petType(PetType) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the species; also seeds health from the type's starting HP when health is still unset.
PetType - Class in de.Keyle.MyPet.api.entity
Registry of all available pet types.
PetTypeNotFoundException - Exception Class in de.Keyle.MyPet.api.exceptions
Thrown by PetType.byName(String) and PetType.byEntityTypeName(String) when the requested name does not match any registered pet type.
PetTypeNotFoundException(String) - Constructor for exception class de.Keyle.MyPet.api.exceptions.PetTypeNotFoundException
Reports a pet type name that is not registered.
PetWaterSensitive - Interface in de.Keyle.MyPet.api.entity
Marker for pet types whose underlying vanilla mob is hurt by water and rain — the cohort whose Mojang counterpart returns true from LivingEntity#isSensitiveToWater() (Enderman, Blaze, Snow Golem, Strider).
PetZombifiable - Interface in de.Keyle.MyPet.api.entity
Marker for nether-native pet types that vanilla converts to a zombified form when they spend too long in the Overworld (Hoglin → Zoglin, Piglin → ZombifiedPiglin, PiglinBrute → ZombifiedPiglin).
Pickup - Interface in de.Keyle.MyPet.api.skill.skills
Skill that allows the pet to automatically pick up nearby dropped items and experience orbs on behalf of its owner.
PICKUP - Enum constant in enum class de.Keyle.MyPet.api.event.PetInventoryActionEvent.Action
The Pickup skill is about to deposit an item.
Pickup.State - Record Class in de.Keyle.MyPet.api.skill.skills
Snapshot of the Pickup auto-toggle (persisted or live).
pitch() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Fixed
Returns the value of the pitch record component.
pitch() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Range
Returns the value of the pitch record component.
PlaceholderCatalog - Class in de.Keyle.MyPet.api.gui
Mutable carrier for the TagResolvers a section renderer assembles per rendered item.
PlaceholderCatalog() - Constructor for class de.Keyle.MyPet.api.gui.PlaceholderCatalog
Creates an empty catalog.
placeholders(C, String, int) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Placeholders for one rendered item.
playAnimation(Pet, String, boolean) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Best-effort: play a named model animation.
PLAYER_CLOSED - Enum constant in enum class de.Keyle.MyPet.api.gui.CloseReason
ESC on a root or non-back-supporting menu.
PLAYER_COMMAND - Enum constant in enum class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent.Source
The owner picked it.
playerCanMount(MyPetPlayer, Entity) - Method in interface de.Keyle.MyPet.api.util.hooks.types.MountInsideHook
Returns whether a player may mount a pet where it currently stands.
PlayerManager - Class in de.Keyle.MyPet.api.repository
Manages the online MyPetPlayer cache.
PlayerManager() - Constructor for class de.Keyle.MyPet.api.repository.PlayerManager
Creates a manager.
PlayerVersusEntityHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook checks if players can attack an entity
PlayerVersusPlayerHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook checks if players can do PvP
playSound(SoundSpec) - Method in interface de.Keyle.MyPet.api.gui.MenuInstance
Fire a one-off sound at the viewer (for ad-hoc feedback like error pings).
PLUGIN_CLOSED - Enum constant in enum class de.Keyle.MyPet.api.gui.CloseReason
PLUGIN_CONFIG_PATTERN - Static variable in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Pattern matching plugin-config-style custom names (e.g.
PLUGIN_DISABLE - Enum constant in enum class de.Keyle.MyPet.api.gui.CloseReason
Server shutdown or plugin disable.
Poison - Interface in de.Keyle.MyPet.api.skill.skills
Skill that gives the pet a chance to apply the Poison potion effect to targets on hit.
POOL_SIZE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository.MySQL
Size of the connection pool.
popBack() - Method in interface de.Keyle.MyPet.api.gui.MenuInstance
ESC-as-back from a click handler.
POPPED_BACK - Enum constant in enum class de.Keyle.MyPet.api.gui.CloseReason
ESC popped this menu; the parent is being reopened.
PORT - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository.MySQL
Port of the MySQL server.
Potion - Interface in de.Keyle.MyPet.api.skill.skills
Skill that turns the pet into a field alchemist: the skilltree grants, per level, which splash potions the pet may throw (its arsenal), each with its own cooldown.
Potion.Entry - Record Class in de.Keyle.MyPet.api.skill.skills
One permitted potion and how many seconds must pass between throws of it.
potionColor() - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Returns the value of the potionColor record component.
POWER_EXPONENT - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Curve
How sharply cost accelerates under the Power curve.
POWER_FACTOR - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Curve
Scales the whole Power curve.
PowerExperienceCalculator - Class in de.Keyle.MyPet.api.skill.experience
Polynomial experience curve: each level l costs Factor * l^Exponent, summed from level 1 up to the target.
PowerExperienceCalculator() - Constructor for class de.Keyle.MyPet.api.skill.experience.PowerExperienceCalculator
Creates a polynomial curve.
PREFIX - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Name.Tag
Text placed in front of the name tag.
PREFIX - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository.MySQL
Table prefix, for when the database is shared with other applications.
prepare(LivingEntity) - Method in interface de.Keyle.MyPet.api.util.hooks.types.LeashEntityHook
Prepares a mob that is about to be leashed, and reports whether it survives the process.
PREVENT_FROM_SPAWN_REASON - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Experience
Spawn reasons whose mobs grant no experience, as CreatureSpawnEvent.SpawnReason names.
PREVENT_LEVELLING_WITHOUT_SKILLTREE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree
Whether a pet with no skilltree is barred from gaining experience.
PREVENT_TELEPORTATION - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Ride
Whether a player is blocked from teleporting while riding a pet.
preventDaylightBurn() - Method in interface de.Keyle.MyPet.api.entity.PetSunSensitive
Whether MyPet stops this pet burning in daylight.
preventNaturalGrowup() - Method in interface de.Keyle.MyPet.api.entity.PetBaby
When true (the default), this pet type's vanilla aging timer is locked so it never grows up on its own; the grow-up item still matures it.
preventSuffocation() - Method in interface de.Keyle.MyPet.api.entity.PetAquaticEntity
Whether MyPet stops this pet drowning when it is out of water.
preventWaterDamage() - Method in interface de.Keyle.MyPet.api.entity.PetWaterSensitive
Whether MyPet stops water and rain hurting this pet.
previousPageSectionId() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the previousPageSectionId record component.
price() - Element in annotation interface de.Keyle.MyPet.api.entity.ShopInfo
The price to purchase this pet in the main shop.
priority() - Method in class de.Keyle.MyPet.api.behavior.PetBehavior
Bukkit event priority — most behaviors are EventPriority.NORMAL.
prompt() - Method in record class de.Keyle.MyPet.api.dialog.TextPromptSpec
Returns the value of the prompt record component.
promptConfirm(Player, ConfirmPromptSpec, Runnable, Runnable) - Method in interface de.Keyle.MyPet.api.dialog.DialogService
Opens a yes/no confirm prompt.
promptText(Player, TextPromptSpec, Consumer<String>, Runnable) - Method in interface de.Keyle.MyPet.api.dialog.DialogService
Opens a text-input prompt.
PURGE - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to purge stored pets in bulk.

R

Raid - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Behavior.BehaviorMode
Like Behavior.BehaviorMode.Normal, except the pet does not attack players or their pets.
RANDOM_SKILLTREE_ASSIGNMENT - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree
Whether the automatic assignment picks a skilltree at random.
Range(Key, FloatRange, FloatRange, Sound.Source) - Constructor for record class de.Keyle.MyPet.api.gui.SoundSpec.Range
Creates an instance of a Range record class.
Ranged - Interface in de.Keyle.MyPet.api.skill.skills
Skill that enables the pet to perform ranged attacks by launching projectiles at targets.
Ranged.Projectile - Enum Class in de.Keyle.MyPet.api.skill.skills
Enumerates the projectile types the pet can fire with the Ranged skill.
raw() - Method in record class de.Keyle.MyPet.api.gui.CustomSection
Returns the value of the raw record component.
read(CompoundBinaryTag) - Method in interface de.Keyle.MyPet.api.skill.SkillStateCodec
Reads a skill's state back.
readBool(String, String, boolean) - Static method in class de.Keyle.MyPet.api.config.ConfigKeyRegistry
readUrlContent(String) - Static method in class de.Keyle.MyPet.api.Util
Deprecated, for removal: This API element is subject to removal in a future version.
no replacement in the API; this was only used by MyPet itself, which now keeps its own copy. Use HttpClient directly.
readUrlContent(String, int) - Static method in class de.Keyle.MyPet.api.Util
Deprecated, for removal: This API element is subject to removal in a future version.
no replacement in the API; this was only used by MyPet itself, which now keeps its own copy. Use HttpClient directly.
RECALL_PET_AFTER_DESPAWN - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether a pet that despawned for being too far from its owner stays active and can be recalled, rather than being removed outright.
receiver() - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.State
Returns the value of the receiver record component.
redeclareAll() - Static method in class de.Keyle.MyPet.api.config.PetSkillFlag
Replays every declared flag against the current PetType set, adding rows only for (type, key) pairs that have none yet.
REFRESH_SECTION - Enum constant in enum class de.Keyle.MyPet.api.gui.SectionRenderer.ClickResult
Re-render the section that owns the slot.
refreshMenu(Player) - Method in interface de.Keyle.MyPet.api.gui.GuiService
Re-render the menu the viewer is currently in.
refreshOwnership(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PetManager
Asynchronously re-derives the cached PetManager.ownsAnyPet(UUID) flag for the given owner from the repository.
refreshSection(String) - Method in interface de.Keyle.MyPet.api.gui.MenuInstance
Re-render one section.
Regeneration - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The regeneration( potion effect.
region() - Method in record class de.Keyle.MyPet.api.gui.FillSection
Returns the value of the region record component.
Region(int, int, int, int) - Constructor for record class de.Keyle.MyPet.api.gui.FillSection.Region
Rejects a non-positive width or height.
register(SectionType<?>) - Static method in class de.Keyle.MyPet.api.gui.SectionTypeRegistry
Registers a section type under its own id.
register(String, Class<? extends Pet>) - Static method in class de.Keyle.MyPet.api.entity.PetType
Registers a custom pet type.
register(String, Class<? extends Pet>, Class<? extends Mob>) - Static method in class de.Keyle.MyPet.api.entity.PetType
Registers a custom pet type with an explicit host mob class.
register(String, Class<S>, SectionRenderer<S>, JsonCodec<S>) - Static method in record class de.Keyle.MyPet.api.gui.SectionType
Builds a section type and registers it in one step, so a type-holder class can assign the result straight to a static final field.
register(Supplier<Listener>) - Static method in class de.Keyle.MyPet.api.listener.PetListenerRegistry
Records a listener supplier and returns it so the caller can assign the result to a public static final Supplier<Listener> field.
registerCalculator(String, Class<? extends ExperienceCalculator>) - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
Registers an experience calculator class under the given identifier.
registerCodec(Class<S>, Class<T>, SkillStateCodec<T>) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Registers a typed SkillStateCodec for skillClass.
registerLeashFlag(LeashFlag) - Method in class de.Keyle.MyPet.api.entity.leashing.LeashFlagManager
Registers a flag instance.
registerMenu(MenuId<C>, MenuHandler<C>, Supplier<InputStream>) - Method in interface de.Keyle.MyPet.api.gui.GuiService
Register a menu.
registerMyPetPlayer(Player) - Method in class de.Keyle.MyPet.api.repository.PlayerManager
Loads or creates a MyPetPlayer for the given Bukkit player and adds them to the online cache.
registerPetEntity(UUID, Pet) - Method in class de.Keyle.MyPet.api.repository.PetManager
Registers the live entity→pet binding.
registerRequirement(Requirement) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Registers a requirement implementation, keyed by the name from its RequirementName annotation (case-insensitive).
registerService(Class<? extends ServiceContainer>) - Method in class de.Keyle.MyPet.api.util.service.ServiceManager
register new services here.
registerSkill(Class<? extends Skill>) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Registers a skill class with the manager.
registerSkilltree(Skilltree) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Registers a skilltree, keyed by its name.
registerUpgradeParser(Class<S>, UpgradeSchema, UpgradeParser<S>) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Registers the upgrade parser and its UpgradeSchema for a skill.
release() - Method in record class de.Keyle.MyPet.api.entity.PetDistanceMath.Band
Returns the value of the release record component.
RELEASE - Enum constant in enum class de.Keyle.MyPet.api.event.PetRemoveEvent.Source
The owner released the pet.
releaseSq() - Method in record class de.Keyle.MyPet.api.entity.PetDistanceMath.Band
Squared PetDistanceMath.Band.release(), for comparing against squared distances.
RELOAD - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to reload MyPet's configuration.
Remove - Enum constant in enum class de.Keyle.MyPet.api.skill.UpgradeComputer.CallbackReason
An upgrade was withdrawn.
REMOVE - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to delete another player's pet.
removeAllUpgrades() - Method in class de.Keyle.MyPet.api.skill.UpgradeComputer
Clears all modifiers and resets the current value to the base value.
removeCallback(UpgradeComputer.UpgradeCallback<T>) - Method in class de.Keyle.MyPet.api.skill.UpgradeComputer
Removes a previously registered callback.
removeCurrentExp(double) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Removes experience from the current level's progress only (will not drop below the current level's XP threshold).
removeDescriptionLine(int) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Removes the description line at the specified index.
removeDrop(Sniff.DropEntry) - Method in interface de.Keyle.MyPet.api.skill.skills.Sniff
Removes a previously-added drop entry (skilltree level-down / invert).
removeEntity() - Method in interface de.Keyle.MyPet.api.entity.Pet
Removes the Bukkit entity from the world without changing pet state.
removeEntry(Potion.Entry) - Method in interface de.Keyle.MyPet.api.skill.skills.Potion
Removes a permitted potion from the arsenal (upgrade inversion).
removeExp(double) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Removes experience from total XP, potentially causing level-down events.
removeFlag(LeashFlag) - Method in class de.Keyle.MyPet.api.entity.leashing.LeashFlagManager
Removes a flag by deriving its name from the class annotation.
removeFlag(String) - Method in class de.Keyle.MyPet.api.entity.leashing.LeashFlagManager
Removes a flag by its config name (case-sensitive).
removeItem(int, int) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Removes up to the requested amount from the specified slot and returns the removed items as a separate stack.
removeItemNoUpdate(int) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Removes and returns the item currently in the specified slot without triggering any additional logic.
removeModifier(String) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Removes a named experience modifier.
removePet() - Method in interface de.Keyle.MyPet.api.entity.Pet
Despawns and deactivates the pet.
removePet(boolean) - Method in interface de.Keyle.MyPet.api.entity.Pet
Despawns and deactivates the pet.
removeRequirement(Requirement) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Unregisters a requirement by resolving the name from its class annotation.
removeRequirement(String) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Unregisters a requirement by name.
removeSpeedModifier(String) - Method in class de.Keyle.MyPet.api.entity.ai.navigation.NavigationParameters
Removes a previously registered speed modifier by ID.
removeUpgrade(UpgradeModifier<T>) - Method in class de.Keyle.MyPet.api.skill.UpgradeComputer
Removes the last occurrence of the given modifier from the history, then recomputes the current value from scratch (base + remaining modifiers).
removeUpgrades(Collection<UpgradeModifier<T>>) - Method in class de.Keyle.MyPet.api.skill.UpgradeComputer
Removes the last occurrence of each modifier in the collection, then recomputes the current value from scratch.
render(S, Inventory, RenderContext) - Method in interface de.Keyle.MyPet.api.gui.SectionRenderer
Render this section's items into the inventory.
RenderContext - Record Class in de.Keyle.MyPet.api.gui
Per-render scratchpad.
RenderContext(Player, MenuInstance, PlaceholderCatalog) - Constructor for record class de.Keyle.MyPet.api.gui.RenderContext
Creates an instance of a RenderContext record class.
renderer() - Method in record class de.Keyle.MyPet.api.gui.SectionType
Returns the value of the renderer record component.
renderOn(Mob, String) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Render modelId on an arbitrary (non-pet) mob and hide it — e.g.
renderPlain(String, String) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Renders a translation key to plain text against the given locale.
renderPlainAll(String) - Static method in class de.Keyle.MyPet.api.util.locale.Locale
Plain-text renderings of key in every loaded bundle that contains it.
replaceCustomExperience(Map<String, MonsterExperience>) - Static method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Replaces the whole custom experience table with the given entries.
report(String, Throwable) - Static method in class de.Keyle.MyPet.api.util.ErrorUtil
Reports an error with SEVERE level and custom message.
report(Throwable) - Static method in class de.Keyle.MyPet.api.util.ErrorUtil
Reports an error with SEVERE level.
reportError(String, Throwable) - Static method in class de.Keyle.MyPet.api.util.ErrorUtil
Reports an error-level error with custom message.
reportError(Throwable) - Static method in class de.Keyle.MyPet.api.util.ErrorUtil
Reports an error-level error.
reportSevere(String, Throwable) - Static method in class de.Keyle.MyPet.api.util.ErrorUtil
Reports a severe-level error with custom message.
reportSevere(Throwable) - Static method in class de.Keyle.MyPet.api.util.ErrorUtil
Reports a severe-level error.
reportWarning(String, Throwable) - Static method in class de.Keyle.MyPet.api.util.ErrorUtil
Reports a warning-level error with custom message.
reportWarning(Throwable) - Static method in class de.Keyle.MyPet.api.util.ErrorUtil
Reports a warning-level error.
REPOSITORY_TYPE - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository
Where pets are stored.
requiredLevel - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Level a pet must reach before it may select this skilltree.
requireInBounds(String, int, int) - Method in record class de.Keyle.MyPet.api.gui.CodecContext
Checks that a single slot lies inside the menu.
Requirement - Interface in de.Keyle.MyPet.api.skill.skilltree.requirements
A condition that must be satisfied before a pet can use a particular Skilltree.
RequirementName - Annotation Interface in de.Keyle.MyPet.api.skill.skilltree.requirements
Annotation that assigns a unique name to a Requirement implementation.
requirementSettings - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Requirement blocks gating who may select this skilltree.
requireRegionInBounds(String, int, int, int, int) - Method in record class de.Keyle.MyPet.api.gui.CodecContext
Checks that a rectangular region fits inside the menu.
requireSibling(String, String) - Method in record class de.Keyle.MyPet.api.gui.CodecContext
Checks that a section this one refers to actually exists in the same menu.
requiresNode(String) - Static method in class de.Keyle.MyPet.api.player.AdminPermissions
A Brigadier .requires() predicate that admits non-player senders (console, command blocks) unconditionally and gates players on node.
RequiresPlugin - Annotation Interface in de.Keyle.MyPet.api.util.service
Marks a ServiceContainer that bridges to a specific third-party Bukkit plugin.
reset() - Method in interface de.Keyle.MyPet.api.skill.skilltree.Skill
Resets this skill to its initial inactive state, undoing all upgrades.
Resistance - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The resistance( potion effect.
resolve(List<T>, Function<T, UUID>, ToLongFunction<T>, UUID) - Static method in class de.Keyle.MyPet.api.util.SelectedPetResolver
Picks the pet to act on: the selected one while it is out, else the most recently brought out, with ties going to the later activation.
resolve(RandomGenerator) - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Choice
 
resolve(RandomGenerator) - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Fixed
 
resolve(RandomGenerator) - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Range
 
resolve(RandomGenerator) - Method in interface de.Keyle.MyPet.api.gui.SoundSpec
Resolves this spec into a playable sound.
resolve(RandomGenerator) - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Silent
 
RESPAWN - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to revive a dead pet immediately.
respawnTime() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the respawnTime record component.
respawnTime(int) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the respawn timer, in seconds.
restorePet(StoredPet) - Method in class de.Keyle.MyPet.api.repository.PetManager
Activates like PetManager.activatePet(de.Keyle.MyPet.api.entity.StoredPet) but without making the pet the owner's selected pet.
retainEquipmentOnTame() - Method in interface de.Keyle.MyPet.api.entity.PetEquipment
When true (the default), a wild mob tamed with a lead keeps whatever armor and weapons it was wearing, and that gear becomes real MyPet equipment — readable through PetEquipment.getEquipment(EquipmentSlot) and dropped by PetEquipment.dropEquipment() on death and release.
Ride - Interface in de.Keyle.MyPet.api.skill.skills
Skill that allows the pet's owner to mount and ride the pet as a controllable mount.
RIDE_ITEM - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Ride
Item a player holds to mount a pet with the Ride skill.
RIGHT_CLICK_COMMAND - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
A command run when a player right-clicks their own pet.
ROSTER_FILTER - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The roster's filter screen: which rows the list shows.
ROSTER_SORT - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The roster's sort screen: which order the list is in, and which way.
row() - Method in record class de.Keyle.MyPet.api.gui.FillSection.Region
Returns the value of the row record component.
row() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the row record component.
row() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns the value of the row record component.
row() - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Returns the value of the row record component.
row() - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns the value of the row record component.
rows() - Method in record class de.Keyle.MyPet.api.gui.CodecContext
Returns the value of the rows record component.
rows() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns the value of the rows record component.
rule() - Method in record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.NotificationEntry
Returns the value of the rule record component.
rule() - Method in record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.UpgradeEntry
Returns the value of the rule record component.
run(T, UpgradeComputer.CallbackReason) - Method in interface de.Keyle.MyPet.api.skill.UpgradeComputer.UpgradeCallback
Called after the computed value changes.

S

sample(RandomGenerator) - Method in record class de.Keyle.MyPet.api.gui.FloatRange
Draws a value uniformly from this range.
SANITIZED_MINIMESSAGE - Static variable in class de.Keyle.MyPet.api.Util
A restricted MiniMessage instance that only resolves safe visual tags.
saturation() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the saturation record component.
saturation(double) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the hunger level.
save() - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCache
Persists the in-memory cache to the GZIP-compressed exp.cache file.
save() - Method in interface de.Keyle.MyPet.api.util.NBTStorage
Writes this object's state.
save(CompoundBinaryTag) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Serializes the inventory contents into an Adventure NBT compound.
saveConfig() - Method in class de.Keyle.MyPet.api.util.configuration.ConfigurationYAML
Writes the current contents back to disk.
saveSkillState(Skill) - Method in class de.Keyle.MyPet.api.skill.SkillManager
Serializes a skill's runtime state into NBT via its registered SkillStateCodec (driven by Skill.getState()).
Scale - Interface in de.Keyle.MyPet.api.skill.skills
Skill that changes the pet's size through the vanilla minecraft:scale attribute.
schedule() - Method in interface de.Keyle.MyPet.api.util.Scheduler
Runs one tick of this object's recurring work.
Scheduler - Interface in de.Keyle.MyPet.api.util
Something with recurring work MyPet should run on a schedule.
seatRider(Pet, Player, boolean) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Seat rider in the model's driver seat.
section(String, Class<S>) - Method in interface de.Keyle.MyPet.api.gui.MenuInstance
Typed access to a section by id; throws if id is unknown or type mismatches.
Section - Interface in de.Keyle.MyPet.api.gui
Sealed marker for every section record.
sectionClass() - Method in record class de.Keyle.MyPet.api.gui.SectionType
Returns the value of the sectionClass record component.
SectionRenderer<S> - Interface in de.Keyle.MyPet.api.gui
Interface a section type implements to render itself into a Bukkit Inventory and respond to clicks on the slots it owns.
SectionRenderer.ClickResult - Enum Class in de.Keyle.MyPet.api.gui
What the menu should do after a renderer has handled a click.
sections() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns the value of the sections record component.
SectionType<S> - Record Class in de.Keyle.MyPet.api.gui
Pairs a section's type id with its concrete record class, renderer, and codec.
SectionType(String, Class<S>, SectionRenderer<S>, JsonCodec<S>) - Constructor for record class de.Keyle.MyPet.api.gui.SectionType
Creates an instance of a SectionType record class.
SectionTypeRegistry - Class in de.Keyle.MyPet.api.gui
Process-wide registry of SectionTypes by id.
SelectedPetResolver - Class in de.Keyle.MyPet.api.util
Decides which of a player's active pets a command with no pet named acts on.
selectPet(UUID) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Marks a pet as the player's selected pet: the one /pet and every other command that takes an optional pet act on when none is named.
SELF_FEED - Enum constant in enum class de.Keyle.MyPet.api.event.PetFeedEvent.Result
No player interaction -- the pet ate from its own backpack or AI behavior.
sendActionBar(Component) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Sends an Adventure Component as an action bar message.
sendAway() - Method in interface de.Keyle.MyPet.api.entity.Pet
Sends the pet away — equivalent to removePet(false).
SENDAWAY - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to send another player's pet away with /petadmin sendaway.
sendError(Throwable, String...) - Method in interface de.Keyle.MyPet.api.util.ErrorReporter
Reports one error.
sendMessage(Component) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Sends an Adventure Component chat message to the player.
sendMessage(Component, int) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Sends a message with a cooldown (seconds).
serialize(ItemStack) - Static method in class de.Keyle.MyPet.api.util.ItemStrings
Serialize a full item (incl.
ServiceContainer - Interface in de.Keyle.MyPet.api.util.service
Services are a way to register possible functionality
ServiceManager - Class in de.Keyle.MyPet.api.util.service
The ServiceManager manages all interactions with other plugins.
ServiceManager() - Constructor for class de.Keyle.MyPet.api.util.service.ServiceManager
Creates a manager.
ServiceName - Annotation Interface in de.Keyle.MyPet.api.util.service
Annotation to add name information to the ServiceContainer class
setAmount(int) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Sets the stack size displayed in the slot (min 1).
setAutoRespawnEnabled(boolean) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Enables or disables automatic respawning after death timer expires.
setAutoRespawnMin(int) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Sets the minimum respawn time (seconds) before auto-respawn fires.
setBaby(boolean) - Method in interface de.Keyle.MyPet.api.entity.PetBaby
Sets the baby/adult state.
setBehavior(Behavior.BehaviorMode) - Method in interface de.Keyle.MyPet.api.skill.skills.Behavior
Sets the pet's behavior mode.
setBukkitEntity(Mob) - Method in interface de.Keyle.MyPet.api.entity.Pet
Binds a freshly spawned Bukkit mob to this pet instance.
setCancelled(boolean) - Method in class de.Keyle.MyPet.api.event.CancellablePetEvent
Sets whether this event is vetoed.
setCaptureHelperActive(boolean) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Toggles the leash-flag helper overlay during taming attempts.
setCustomRespawnTimeFactor(PetType, int) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Sets the per-level term of a type's respawn wait.
setCustomRespawnTimeFixed(PetType, int) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Sets the flat term of a type's respawn wait.
setDamage(double) - Method in class de.Keyle.MyPet.api.event.PetDamageEvent
Sets the damage this strike deals, clamped to zero at the low end so a negative value cannot heal the target.
setData(int) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Sets the legacy data/damage value (unused on modern servers).
setDispatchHook(Consumer<PetBehavior<?>>) - Static method in class de.Keyle.MyPet.api.behavior.PetBehaviorRegistry
Installs a callback fired for every subsequent PetBehaviorRegistry.register(de.Keyle.MyPet.api.behavior.PetBehavior<?>).
setDispatchHook(Consumer<Supplier<Listener>>) - Static method in class de.Keyle.MyPet.api.listener.PetListenerRegistry
setDisplayName(String) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Name shown to players, or null to use Skilltree.getName().
setEnabled(boolean) - Method in interface de.Keyle.MyPet.api.skill.ToggleableSkill
Switches this skill on or off for the pet.
setEquipment(EquipmentSlot, ItemStack) - Method in interface de.Keyle.MyPet.api.entity.PetEquipment
Equips an item in the given slot (persisted across despawns).
setExp(double) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets raw XP.
setExp(double) - Method in class de.Keyle.MyPet.api.event.PetExpEvent
The signed experience delta about to be applied -- positive for a gain, negative for a loss.
setExp(double) - Method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Sets both min and max to the same value, making this a fixed-experience entry.
setExp(double) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Sets the pet's total experience to an absolute value, firing level-change events if the resulting level differs from the current one.
setFlySpeed(PetType, double) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Sets a type's ride flight speed.
setGlowing(boolean) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Enables or disables the enchantment glint effect.
setGlowing(boolean) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeIcon
Whether the icon is drawn with the enchantment glint.
setHealth(double) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets the pet's current health, clamped to [0, getMaxHealth()].
setHealthBarActive(boolean) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Toggles the under-name health bar display.
setHostAwaitingAdoption(boolean) - Method in interface de.Keyle.MyPet.api.entity.Pet
Marks whether the pet's current host is still awaiting adoption.
setIcon(SkilltreeIcon) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Icon shown in the selection menu, or null for the default.
setInheritedSkilltreeName(String) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Name of the skilltree this one inherits upgrades from, or null when it stands alone.
setItem(int, ItemStack) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Sets the item for the specified slot.
setLastUsed(long) - Method in interface de.Keyle.MyPet.api.entity.Pet
Records when the pet was last active.
setLeashItem(PetType, ConfigItem) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Sets the item used to tame a type.
setLocation(Location) - Method in interface de.Keyle.MyPet.api.entity.Pet
Async-teleports the pet to the given location.
setLore(String...) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Replaces all legacy lore with the given lines.
setMaterial(String) - Method in class de.Keyle.MyPet.api.skill.skilltree.SkilltreeIcon
Material the icon is drawn as.
setMaterial(Material) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Sets the display material for this menu slot.
setMax(double) - Method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Sets the maximum experience.
setMaxDistanceStep(int) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets how far the pet may fall behind before it starts following.
setMaxLevel(int) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Sets the maximum achievable level for this pet.
setMaxLevel(int) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Sets the maximum level for this skilltree, clamped to the global level cap.
setMaxStackSize(int) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Sets the maximum stack size applied to the backing Bukkit inventory and updates the cached value used before initialization.
setMeta(ItemMeta, boolean, boolean) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Applies fields from an existing ItemMeta onto this item.
setMin(double) - Method in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Sets the minimum experience.
setMinDistanceStep(int) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets how close the pet lets itself get to its owner before stepping back.
setMobTypes(Collection<PetType>) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Replaces the set of pet types that are allowed to use this skilltree.
setModifier(double) - Method in class de.Keyle.MyPet.api.skill.experience.modifier.AdditiveModifier
The amount added to the incoming experience.
setModifier(double) - Method in class de.Keyle.MyPet.api.skill.experience.modifier.MultiplicativeModifier
The amount multiplied into the incoming experience.
setName(String) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Sets the inventory GUI title from a String.
setName(Component) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Sets the inventory GUI title from a Component.
setNewName(String) - Method in class de.Keyle.MyPet.api.event.PetNameEvent
The name that will be applied, in MiniMessage format.
setOffline(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PlayerManager
Removes a player from the online cache and persists their data.
setOnline(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PlayerManager
Adds a player to the online cache.
setOnSpeedChange(Runnable) - Method in class de.Keyle.MyPet.api.entity.ai.navigation.NavigationParameters
Optional callback fired whenever a speed modifier is added or removed.
setOrder(int) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Sort position in the selection menu; lower comes first.
setOverrideFlySpeed(PetType, boolean) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Sets whether a type overrides the ride flight speed.
setOwner(MyPetPlayer) - Method in interface de.Keyle.MyPet.api.entity.Pet
Transfers the pet to a different owner.
setOwnsPet(UUID, boolean) - Method in class de.Keyle.MyPet.api.repository.PetManager
Updates the cached ownership flag for a player.
setPetForWorldGroup(WorldGroup, UUID) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Binds a pet UUID as the active pet for the given world group.
setPetForWorldGroup(String, UUID) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Binds a pet UUID as the active pet for the given world group name.
setPetName(String) - Method in interface de.Keyle.MyPet.api.entity.Pet
Updates the pet's display name (MiniMessage format).
setPetType(PetType) - Method in interface de.Keyle.MyPet.api.entity.Pet
Changes which species the pet is.
setPetVolume(float) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Sets the volume multiplier for sounds the pet emits.
setPickupEnabled(boolean) - Method in interface de.Keyle.MyPet.api.skill.skills.Pickup
Sets the pickup auto-toggle directly (skips the ActiveSkill.activate() owner messaging).
setPlugin(MyPetPlugin) - Static method in class de.Keyle.MyPet.MyPetApi
Binds the plugin instance.
setReleaseOnDeath(PetType, boolean) - Method in class de.Keyle.MyPet.api.entity.PetInfo
If true, the pet is permanently released (deleted) when it dies instead of entering the respawn timer.
setRemoveAfterRelease(PetType, boolean) - Method in class de.Keyle.MyPet.api.entity.PetInfo
If true, the Bukkit entity is removed from the world immediately after releasing the pet (rather than leaving the mob alive as a wild entity).
setRequiredLevel(int) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Sets the minimum pet level required before this skilltree becomes available.
setRespawnTime(int) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets the respawn countdown in seconds.
setResult(PetFeedEvent.Result) - Method in class de.Keyle.MyPet.api.event.PetFeedEvent
The reaction the pet plays for this feed.
setSaturation(double) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets saturation (1–100).
setSaturation(double) - Method in class de.Keyle.MyPet.api.event.PetFeedEvent
The saturation this feed restores.
setSitting(boolean) - Method in interface de.Keyle.MyPet.api.entity.Pet
Puts the pet into or takes it out of its sitting/stay pose.
setSize(int) - Method in class de.Keyle.MyPet.api.util.inventory.CustomInventory
Sets the inventory size in slots.
setSkilltree(Skilltree) - Method in interface de.Keyle.MyPet.api.entity.Pet
Single-arg form that updates the skilltree without firing PetSelectSkilltreeEvent.
setSkilltree(Skilltree, PetSelectSkilltreeEvent.Source) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets the skilltree and fires PetSelectSkilltreeEvent, allowing cancellation.
setSlotState(String, String) - Method in interface de.Keyle.MyPet.api.gui.MenuInstance
Flip a multi-state SlotSection's state and refresh that section.
setSpeed(double) - Method in class de.Keyle.MyPet.api.entity.ai.navigation.NavigationParameters
Base movement speed (excluding modifiers).
setSpeed(PetType, double) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Sets a type's walk speed.
setStartHP(PetType, double) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Sets the health a newly tamed pet of a type starts with.
setStatus(Pet.PetState) - Method in interface de.Keyle.MyPet.api.entity.Pet
Moves the pet into a different lifecycle state.
setTarget(LivingEntity) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets a combat target with TargetPriority.Overwrite.
setTarget(LivingEntity, TargetPriority) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets a combat target if the given priority is higher than the current one.
setTeleportDistance(PetType, double) - Method in class de.Keyle.MyPet.api.entity.PetInfo
Sets the teleport distance for type.
Setting - Class in de.Keyle.MyPet.api.util.configuration.settings
One token parsed out of a Settings string.
Setting(String) - Constructor for class de.Keyle.MyPet.api.util.configuration.settings.Setting
Creates a positional entry, one with no = in it.
Setting(String, String) - Constructor for class de.Keyle.MyPet.api.util.configuration.settings.Setting
Creates a keyed entry parsed from k=v.
Settings - Class in de.Keyle.MyPet.api.util.configuration.settings
Parsed key=value bag from a Requirement or LeashFlag string like "MinHealth:min=20:max=50".
Settings(String) - Constructor for class de.Keyle.MyPet.api.util.configuration.settings.Settings
Creates an empty bag for the named flag or requirement.
setTitle(String) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Sets the display name as a legacy string.
setTitle(Component) - Method in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Sets the display name as an Adventure Component.
setUUID(UUID) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets the pet's unique id.
setVolume(OptionalDouble) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets this pet's sound-volume override.
setWantsToRespawn(boolean) - Method in interface de.Keyle.MyPet.api.entity.Pet
Sets whether the pet should return on its own after being despawned.
setWeight(double) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Default weight used by random assignment when no per-type override exists.
setWeightOverride(PetType, double) - Method in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Per-type override for random-assignment weighting.
setWorldGroup(String) - Method in interface de.Keyle.MyPet.api.entity.Pet
Moves the pet into a different world group.
sharedStorageKey(C) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Identity of the mutable store this menu's storage sections read and write, or null (the default) for menus with no storage or none that another viewer can reach.
Shield - Interface in de.Keyle.MyPet.api.skill.skills
Skill that gives the pet a chance to intercept damage aimed at its owner, redirecting a percentage of the incoming damage to itself instead.
shift() - Method in record class de.Keyle.MyPet.api.gui.ClickPayload
Returns the value of the shift record component.
SHOP - Enum constant in enum class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent.Source
Assigned as part of a shop purchase.
SHOP_OTHER - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to open the pet shop on another player's behalf.
ShopInfo - Annotation Interface in de.Keyle.MyPet.api.entity
Annotation to define shop information for a pet type.
SHOW - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Name.Tag
Whether pets display a name tag at all.
SHOW_OP - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Update
Whether operators are told when a new version is available.
showPotionParticles(Color) - Method in interface de.Keyle.MyPet.api.entity.Pet
Displays a coloured potion-swirl particle above the pet.
siblingSectionIds() - Method in record class de.Keyle.MyPet.api.gui.CodecContext
Returns the value of the siblingSectionIds record component.
Silent() - Constructor for record class de.Keyle.MyPet.api.gui.SoundSpec.Silent
Creates an instance of a Silent record class.
singleQuote(String) - Static method in class de.Keyle.MyPet.api.util.YamlScalar
Wraps value as a YAML single-quoted scalar.
Skill - Interface in de.Keyle.MyPet.api.skill.skilltree
Base interface for all pet skills in the MyPet skill system.
SKILL - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to run /petadmin skill against another player.
skillInfo() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the skillInfo record component.
skillInfo(CompoundBinaryTag) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the per-skill persisted state; empty when null.
SkillManager - Class in de.Keyle.MyPet.api.skill
Central registry for all Skill classes, their UpgradeParsers, and SkillStateCodecs.
SkillManager() - Constructor for class de.Keyle.MyPet.api.skill.SkillManager
Creates an empty manager.
SkillName - Annotation Interface in de.Keyle.MyPet.api.skill
Annotation that declares the canonical name of a Skill implementation.
Skills - Class in de.Keyle.MyPet.api.skill
Container holding all Skill instances for a single Pet.
Skills(Pet) - Constructor for class de.Keyle.MyPet.api.skill.Skills
Creates a new skill container for the given pet, instantiating all registered skills and indexing them by name and class hierarchy.
skillState(Class<S>, Class<T>) - Method in interface de.Keyle.MyPet.api.entity.StoredPet
Typed access to a skill's persisted or live state.
SkillState - Interface in de.Keyle.MyPet.api.skill
Marker interface for the typed, immutable state record exposed by a Skill.
SkillStateCodec<T> - Interface in de.Keyle.MyPet.api.skill
Bundles the write and read halves of a skill's persisted state into one object.
SkillStateCodecs - Class in de.Keyle.MyPet.api.skill
Self-registering handle pairing a skill's SkillStateCodec with its state class, declared as a static field on the skill's impl class.
skilltree() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the skilltree record component.
skilltree(Skilltree) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the assigned skilltree.
Skilltree - Class in de.Keyle.MyPet.api.skill.skilltree
Represents a named skilltree that defines how a pet's skills progress as it levels up.
Skilltree(String) - Constructor for class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Creates a new skilltree with the given internal name.
SKILLTREE - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to assign a skilltree to another player's pet.
Skilltree.NotificationEntry - Record Class in de.Keyle.MyPet.api.skill.skilltree
A level-gated notification binding.
Skilltree.UpgradeEntry - Record Class in de.Keyle.MyPet.api.skill.skilltree
A level-gated upgrade binding.
SkilltreeIcon - Class in de.Keyle.MyPet.api.skill.skilltree
Represents the visual icon displayed for a Skilltree in inventory-based selection GUIs.
SkilltreeIcon() - Constructor for class de.Keyle.MyPet.api.skill.skilltree.SkilltreeIcon
Creates an icon showing an oak sapling without a glint.
SkilltreeManager - Class in de.Keyle.MyPet.api.skill.skilltree
Central service for managing all registered Skilltrees and Requirements.
SkilltreeManager() - Constructor for class de.Keyle.MyPet.api.skill.skilltree.SkilltreeManager
Creates an empty manager.
skilltreeName - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
This skilltree's unique name, as the file that defines it is called.
SkillUpgrades - Class in de.Keyle.MyPet.api.skill
Self-registering handle pairing a skill's UpgradeSchema with its UpgradeParser, declared as a static field on the skill's impl class.
slot() - Method in record class de.Keyle.MyPet.api.gui.ClickPayload
Returns the value of the slot record component.
slotCapacity() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns how many items fit on one page.
slotCapacity() - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Returns how many item slots this section holds.
slotCount() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns how many slots this menu has.
SlotSection - Record Class in de.Keyle.MyPet.api.gui
Single-slot section.
SlotSection(String, SectionType<SlotSection>, int, int, ItemAppearance, Map<String, ItemAppearance>, String, SoundSpec, boolean) - Constructor for record class de.Keyle.MyPet.api.gui.SlotSection
Rejects a slot that sets neither or both of item and states.
slotStates() - Method in record class de.Keyle.MyPet.api.gui.MenuInstanceSnapshot
Returns the value of the slotStates record component.
Slow - Interface in de.Keyle.MyPet.api.skill.skills
Skill that gives the pet a chance to apply the Slowness potion effect to targets on hit, reducing their movement speed.
Smaller - Enum constant in enum class de.Keyle.MyPet.api.util.ConfigItem.DurabilityMode
Matches when the held item's durability is lower than the configured one's.
SmallFireball - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Launches a small fireball.
SMITHING_TABLE - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
The s m i t h i n g_ t a b l e( workstation.
snapshot(Pet) - Method in class de.Keyle.MyPet.api.repository.PetManager
Returns an immutable point-in-time snapshot of an active pet, suitable for hand-off across an active/inactive boundary (deactivation, trade, admin clone).
Sniff - Interface in de.Keyle.MyPet.api.skill.skills
Skill that lets the pet periodically "sniff out" a drop and leave it beside itself.
Sniff.DropEntry - Record Class in de.Keyle.MyPet.api.skill.skills
One weighted drop: a full item and the random stack-size range [amountMin, amountMax].
Snowball - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Launches a snowball.
soundOnBack() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns the value of the soundOnBack record component.
soundOnClick() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns the value of the soundOnClick record component.
soundOnClick() - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns the value of the soundOnClick record component.
soundOnClose() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns the value of the soundOnClose record component.
soundOnOpen() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns the value of the soundOnOpen record component.
soundOnPageChange() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the soundOnPageChange record component.
soundOnTemplateClick() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the soundOnTemplateClick record component.
SoundSpec - Interface in de.Keyle.MyPet.api.gui
Polymorphic sound description: a fixed sound, a sound with pitch/volume ranges, a uniform-random choice among other specs, or silence.
SoundSpec.Choice - Record Class in de.Keyle.MyPet.api.gui
Picks uniformly among other specs on each play.
SoundSpec.Fixed - Record Class in de.Keyle.MyPet.api.gui
A sound played at a fixed volume and pitch.
SoundSpec.Range - Record Class in de.Keyle.MyPet.api.gui
A sound whose volume and pitch are sampled from a range on each play.
SoundSpec.Silent - Record Class in de.Keyle.MyPet.api.gui
Plays nothing.
source() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Fixed
Returns the value of the source record component.
source() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Range
Returns the value of the source record component.
sourceIdOf(Entity) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelSourceHook
Normalised source id (matchable to a PetType name) if entity is this provider's creature.
SourceUnavailable - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
A source-driven pet's real creature could not be produced; the summon was refused rather than substituting a plain mob.
spawnSource(String, Location) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelSourceHook
Spawn the source creature whose id matches typeId and return it as a Bukkit Mob so the caller can adopt it; empty if this provider does not own that id.
specialFloat() - Method in class de.Keyle.MyPet.api.entity.PetType
Whether this type needs custom float logic beyond standard swim.
Spectator - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
The owner is in spectator mode.
Speed - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The speed( potion effect.
speedModifier() - Method in class de.Keyle.MyPet.api.entity.ai.navigation.NavigationParameters
Returns the sum of all active speed modifiers.
Sprint - Interface in de.Keyle.MyPet.api.skill.skills
Skill that enables the pet to sprint (move at increased speed) when its owner is sprinting.
start() - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Dynamic
Returns the value of the start record component.
State(boolean) - Constructor for record class de.Keyle.MyPet.api.skill.skills.Pickup.State
Creates an instance of a State record class.
State(Behavior.BehaviorMode) - Constructor for record class de.Keyle.MyPet.api.skill.skills.Behavior.State
Creates an instance of a State record class.
State(List<Beacon.Buff>, boolean, Beacon.BuffReceiver) - Constructor for record class de.Keyle.MyPet.api.skill.skills.Beacon.State
Creates an instance of a State record class.
State(ItemStack[]) - Constructor for record class de.Keyle.MyPet.api.skill.skills.Backpack.State
Creates an instance of a State record class.
states() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns the value of the states record component.
Static(Set<Integer>) - Constructor for record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Static
Defensively copies the level set.
STAY - Enum constant in enum class de.Keyle.MyPet.api.event.PetSitEvent.Action
The pet is being told to sit and stay put.
STEVE - Enum constant in enum class de.Keyle.MyPet.api.gui.HeadSkin
Vanilla's default head appearance.
Stomp - Interface in de.Keyle.MyPet.api.skill.skills
Skill that gives the pet a chance to perform a ground-stomp area-of-effect attack on hit, dealing bonus damage to all nearby entities around the target.
STONECUTTER - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
The s t o n e c u t t e r( workstation.
stop() - Method in class de.Keyle.MyPet.api.entity.ai.navigation.AbstractNavigation
Cancels any active pathfinding and halts the pet.
stopAnimation(Pet, String) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Best-effort: stop a named animation on the pet's model.
storageContents(C, String) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Initial contents for a storage section.
storageId() - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Returns the value of the storageId record component.
StorageSection - Record Class in de.Keyle.MyPet.api.gui
Free-input slots backed by an ItemStack[] supplied by the menu handler at open time and persisted via the handler at close time.
StorageSection(String, SectionType<StorageSection>, int, int, int, int, String) - Constructor for record class de.Keyle.MyPet.api.gui.StorageSection
Rejects a non-positive region or a blank storage id.
STORE_OLDEST_WHEN_FULL - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether acquiring a pet with every slot full stores the least recently switched-to pet and proceeds, instead of refusing.
StoredPet - Interface in de.Keyle.MyPet.api.entity
Read-only view of a pet at rest.
Strength - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The strength( potion effect.
string(String) - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Declares a free-text field.
STRING - Enum constant in enum class de.Keyle.MyPet.api.skill.UpgradeSchema.FieldType
Free text.
stringList(String, String, String...) - Static method in class de.Keyle.MyPet.api.config.ConfigKey
Per-pet string-list key.
Subtract - Enum constant in enum class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier.Type
Subtracts the modifier value from the current parameter value.
Success - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
The pet was spawned.
suffix(String) - Method in class de.Keyle.MyPet.api.skill.UpgradeSchema.Builder
Sets the unit shown after the value of the field declared last.
SUFFIX - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Name.Tag
Text appended to the name tag.
SWITCH - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to switch another player's active pet.
SWITCH_FEE_ADMIN - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree
Whether admins pay the switch fee like everyone else.
SWITCH_FEE_FIXED - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree
Flat experience a pet pays to switch skilltree.
SWITCH_FEE_PERCENT - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree
Percentage of its experience a pet pays to switch skilltree.
switchCalculator(String) - Method in class de.Keyle.MyPet.api.skill.experience.ExperienceCalculatorManager
Switches the active experience calculator to the one registered under the given identifier.
syncScale(Pet, Mob) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Re-apply the host's minecraft:scale to the rendered model, for renderers that don't follow the attribute themselves (ModelEngine sizes its model and hitbox from its own scale and never reads the attribute).

T

tag - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Extra NBT written onto the built item.
TargetPriority - Enum Class in de.Keyle.MyPet.api.entity.ai.target
Determines which targeting goal wins when multiple goals attempt to assign a combat target simultaneously.
Taunt - Interface in de.Keyle.MyPet.api.skill.skills
Skill that lets the pet growl at nearby hostile mobs, diverting their attention away from the owner and onto the pet.
template() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the template record component.
templateItems(C, String) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Items for a paginated-list section.
test(LivingEntity) - Method in class de.Keyle.MyPet.api.entity.leashing.WildAngerCheck
Runs the check.
TextPromptSpec - Record Class in de.Keyle.MyPet.api.dialog
TextPromptSpec(Component, Component, String, int) - Constructor for record class de.Keyle.MyPet.api.dialog.TextPromptSpec
Substitutes a default for every field left null or out of range.
thickness() - Method in record class de.Keyle.MyPet.api.gui.BorderSection
Returns the value of the thickness record component.
Thorns - Interface in de.Keyle.MyPet.api.skill.skills
Skill that gives the pet a chance to reflect a portion of incoming melee damage back to the attacker.
THROW_PLAYER_MOVE_EVENT_WHILE_RIDING - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
Whether PlayerMoveEvent is fired while a player rides a pet.
tick() - Method in class de.Keyle.MyPet.api.entity.ai.navigation.AbstractNavigation
Called once per pet tick to perform any per-frame navigation bookkeeping (e.g., re-applying parameters, checking path completion).
TICKET - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to use the support-ticket command.
tickRespawnTimer() - Method in interface de.Keyle.MyPet.api.entity.Pet
Ticks the respawn countdown for a dead pet.
TIME_FACTOR - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Respawn
Per-level term of the respawn wait after a non-player kill: time = Factor * level + Fixed, in seconds.
TIME_FIXED - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Respawn
Flat term of the respawn wait after a non-player kill, in seconds.
TIME_PLAYER_FACTOR - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Respawn
Per-level term of the respawn wait after a player kill: time = Factor * level + Fixed, in seconds.
TIME_PLAYER_FIXED - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Respawn
Flat term of the respawn wait after a player kill, in seconds.
title - Variable in class de.Keyle.MyPet.api.gui.IconMenuItem
Deprecated.
Legacy string title.
title() - Method in record class de.Keyle.MyPet.api.dialog.ConfirmPromptSpec
Returns the value of the title record component.
title() - Method in record class de.Keyle.MyPet.api.dialog.TextPromptSpec
Returns the value of the title record component.
title() - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Returns the value of the title record component.
titleMiniMessage() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns the value of the titleMiniMessage record component.
titlePlaceholders(C) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Placeholders resolved into the JSON title when the menu is built.
toBuilder() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Starts building from this pet's current values.
TOGGLE_CODEC - Static variable in interface de.Keyle.MyPet.api.skill.ToggleableSkill
Shared NBT codec for the on/off flag — reuse it for every toggleable skill's state codec.
ToggleableSkill - Interface in de.Keyle.MyPet.api.skill
A skill the owner can switch on or off at runtime (from the pet menu) independently of whether the skilltree granted it.
ToggleableSkill.ToggleState - Record Class in de.Keyle.MyPet.api.skill
Persisted on/off flag for a toggleable skill.
ToggleState(boolean) - Constructor for record class de.Keyle.MyPet.api.skill.ToggleableSkill.ToggleState
Creates an instance of a ToggleState record class.
Toolbox - Interface in de.Keyle.MyPet.api.skill.skills
Skill that turns the pet into a set of portable utility workstations (crafting table, anvil, grindstone, etc.).
TOOLBOX - Static variable in class de.Keyle.MyPet.api.gui.MenuIds
The workstation picker for the Toolbox skill.
Toolbox.Station - Enum Class in de.Keyle.MyPet.api.skill.skills
Enumerates the workstations the Toolbox skill can unlock.
toPrettyComponent(String) - Method in interface de.Keyle.MyPet.api.skill.skilltree.Skill
Builds a human-readable component summarizing this skill's current state for display in the pet's skill info panel.
toString() - Method in record class de.Keyle.MyPet.api.dialog.ConfirmPromptSpec
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.dialog.TextPromptSpec
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.entity.PetDistanceMath.Band
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.BorderSection
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.ClickPayload
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.CodecContext
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.CustomSection
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.FillSection.Region
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.FillSection
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.FloatRange
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.ItemAppearance
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.MenuDefinition
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.MenuId
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.MenuInstanceSnapshot
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.RenderContext
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.SectionType
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Choice
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Fixed
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Range
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Silent
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeEnumModifier
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeIntegerModifier
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skills.Backpack.State
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.MenuContext
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.State
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skills.Behavior.State
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skills.Pickup.State
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skills.Potion.Entry
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skills.Sniff.DropEntry
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Dynamic
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skilltree.levelrule.LevelRule.Static
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.NotificationEntry
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.UpgradeEntry
Returns a string representation of this record class.
toString() - Method in record class de.Keyle.MyPet.api.skill.ToggleableSkill.ToggleState
Returns a string representation of this record class.
transfer(MyPetPlayer, MyPetPlayer, double) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Moves money between two pet owners.
transfer(UUID, UUID, double) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Moves money between two players.
transfer(OfflinePlayer, OfflinePlayer, double) - Method in interface de.Keyle.MyPet.api.util.hooks.types.EconomyHook
Moves money between two players.
transformDefinition(C, MenuDefinition) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Reshape the loaded MenuDefinition based on the open-time context.
translate(String, Locale) - Method in class de.Keyle.MyPet.api.util.locale.Locale
 
translate(TranslatableComponent, Locale) - Method in class de.Keyle.MyPet.api.util.locale.Locale
 
translationNode() - Element in annotation interface de.Keyle.MyPet.api.entity.leashing.LeashFlagName
Optional translation node for showing this flag's name in the player's language.
translationNode() - Element in annotation interface de.Keyle.MyPet.api.skill.SkillName
Optional translation key for the skill's display name.
translationNode() - Element in annotation interface de.Keyle.MyPet.api.skill.skilltree.requirements.RequirementName
Optional translation node for localizing the requirement name in player UIs.
Trident - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Launches a trident.
trigger() - Method in interface de.Keyle.MyPet.api.skill.OnDamageByEntitySkill
Determines whether this skill should fire for the current damage event.
trigger() - Method in interface de.Keyle.MyPet.api.skill.OnHitSkill
Determines whether this skill should fire for the current hit.
trimToActivePetCap(MyPetPlayer) - Method in class de.Keyle.MyPet.api.repository.PetManager
Deactivates pets, oldest activation first, until owner is back inside the cap.
True - Enum constant in enum class de.Keyle.MyPet.api.skill.modifier.UpgradeBooleanModifier
Modifier that sets the parameter to true.
Try - Interface in de.Keyle.MyPet.api.util.configuration
A load step whose failure should be reported as an InvalidSkilltreeException naming the part that failed.
tryLoad() - Method in interface de.Keyle.MyPet.api.util.configuration.Try
Performs the load.
tryToLoad(String, Try) - Static method in interface de.Keyle.MyPet.api.util.configuration.Try
Runs a load step, rethrowing any failure as an InvalidSkilltreeException that names part.
Two things that catch people out - Search tag in Overview
Section
type() - Method in record class de.Keyle.MyPet.api.gui.BorderSection
Returns the value of the type record component.
type() - Method in record class de.Keyle.MyPet.api.gui.CustomSection
Returns the value of the type record component.
type() - Method in record class de.Keyle.MyPet.api.gui.FillSection
Returns the value of the type record component.
type() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the type record component.
type() - Method in interface de.Keyle.MyPet.api.gui.Section
Returns the handle describing this section's type.
type() - Method in record class de.Keyle.MyPet.api.gui.SlotSection
Returns the value of the type record component.
type() - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Returns the value of the type record component.
type() - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns the value of the type record component.
type() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeIntegerModifier
Returns the value of the type record component.
type() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier
Returns the value of the type record component.
type() - Method in record class de.Keyle.MyPet.api.skill.skills.Potion.Entry
Returns the value of the type record component.

U

unbindPetFromWorldGroup(WorldGroup, UUID) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Removes one pet's binding, leaving the group's other pets bound.
unbindPetFromWorldGroup(String, UUID) - Method in interface de.Keyle.MyPet.api.player.MyPetPlayer
Removes one pet's binding, leaving the group's other pets bound.
UNKNOWN - Static variable in class de.Keyle.MyPet.api.skill.experience.MonsterExperience
Fallback experience entry used when no mapping exists for a given entity.
unquote(String) - Static method in class de.Keyle.MyPet.api.util.YamlScalar
Reverses singleQuote(String) when value is wrapped in a matching pair of single quotes; otherwise returns value unchanged.
unregister(String) - Static method in class de.Keyle.MyPet.api.entity.PetType
Removes a previously registered pet type.
unregisterPetEntity(UUID) - Method in class de.Keyle.MyPet.api.repository.PetManager
Removes a live entity→pet binding.
unseatAll(Pet) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Empty every seat on pet's model.
unseatRider(Pet, Player) - Method in interface de.Keyle.MyPet.api.util.hooks.types.PetModelHook
Remove rider from whatever seat this renderer has them in.
update(T) - Method in class de.Keyle.MyPet.api.config.ConfigKey
Publishes a new value via volatile write.
UPDATE - Static variable in class de.Keyle.MyPet.api.player.AdminPermissions
Permission to trigger an update check or download.
updateExp(double, boolean) - Method in class de.Keyle.MyPet.api.skill.PetExperience
Core XP mutation method.
updateExp(double, boolean, boolean) - Method in class de.Keyle.MyPet.api.skill.PetExperience
updateNameTag() - Method in interface de.Keyle.MyPet.api.entity.Pet
Re-renders the pet's name tag from the current state and config.
updateVisuals() - Method in interface de.Keyle.MyPet.api.entity.Pet
Pushes all visual states (variant, baby, collar, etc.) to the mob.
upgrade() - Method in record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.UpgradeEntry
Returns the value of the upgrade record component.
Upgrade<T> - Interface in de.Keyle.MyPet.api.skill
Represents a single level-up upgrade for a skill.
UpgradeBooleanModifier - Enum Class in de.Keyle.MyPet.api.skill.modifier
An UpgradeModifier for boolean skill parameters.
UpgradeComputer<T> - Class in de.Keyle.MyPet.api.skill
Tracks the cumulative value of a single skill property (e.g.
UpgradeComputer(T) - Constructor for class de.Keyle.MyPet.api.skill.UpgradeComputer
Creates a new computer with the given base (default) value.
UpgradeComputer.CallbackReason - Enum Class in de.Keyle.MyPet.api.skill
Indicates whether the value change was caused by adding or removing modifiers.
UpgradeComputer.UpgradeCallback<T> - Interface in de.Keyle.MyPet.api.skill
Listener interface notified whenever the UpgradeComputer's current value changes due to modifier addition or removal.
UpgradeEntry(LevelRule, Upgrade<?>) - Constructor for record class de.Keyle.MyPet.api.skill.skilltree.Skilltree.UpgradeEntry
Creates an instance of a UpgradeEntry record class.
UpgradeEnumModifier<T> - Record Class in de.Keyle.MyPet.api.skill.modifier
An UpgradeModifier for enum-typed skill parameters.
UpgradeEnumModifier(T) - Constructor for record class de.Keyle.MyPet.api.skill.modifier.UpgradeEnumModifier
Creates an instance of a UpgradeEnumModifier record class.
UpgradeIntegerModifier - Record Class in de.Keyle.MyPet.api.skill.modifier
An UpgradeModifier for integer-typed skill parameters.
UpgradeIntegerModifier(Integer, UpgradeNumberModifier.Type) - Constructor for record class de.Keyle.MyPet.api.skill.modifier.UpgradeIntegerModifier
Creates an instance of a UpgradeIntegerModifier record class.
UpgradeModifier<T> - Interface in de.Keyle.MyPet.api.skill.modifier
A typed modifier that transforms a skill parameter value when a skilltree upgrade is applied.
UpgradeNumberModifier - Record Class in de.Keyle.MyPet.api.skill.modifier
An UpgradeModifier for generic numeric skill parameters (doubles, floats, etc.).
UpgradeNumberModifier(Number, UpgradeNumberModifier.Type) - Constructor for record class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier
Creates an instance of a UpgradeNumberModifier record class.
UpgradeNumberModifier.Type - Enum Class in de.Keyle.MyPet.api.skill.modifier
The arithmetic operation a numeric upgrade modifier can perform.
UpgradeParser<S> - Interface in de.Keyle.MyPet.api.skill
Reads one level's upgrade for a skill out of a skilltree's JSON.
UpgradeParsers - Class in de.Keyle.MyPet.api.skill
Helpers for UpgradeParser implementations.
upgrades - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Level-gated upgrades, ordered by rule priority.
UpgradeSchema - Class in de.Keyle.MyPet.api.skill
Declarative description of a skill's upgrade JSON fields, registered alongside the UpgradeParser and shipped to the web editor as skill metadata.
UpgradeSchema.Builder - Class in de.Keyle.MyPet.api.skill
Collects the fields a skill's upgrade JSON declares.
UpgradeSchema.Field - Class in de.Keyle.MyPet.api.skill
One upgrade field: name (the exact JSON key the parser reads), type, and display hints.
UpgradeSchema.FieldType - Enum Class in de.Keyle.MyPet.api.skill
The kinds of field a skill's upgrade JSON can declare.
USE - Enum constant in enum class de.Keyle.MyPet.api.event.PetInventoryActionEvent.Action
The pet is about to use a stored item rather than keep it.
USE_HUNGER_SYSTEM - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.HungerSystem
Whether pets need food at all.
USER - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Repository.MySQL
Username MyPet connects as.
Util - Class in de.Keyle.MyPet.api
Small helpers shared across the API: the sanitized MiniMessage instance for player-controlled text, a shared random source, and a few collection and HTTP conveniences.
Util() - Constructor for class de.Keyle.MyPet.api.Util
Not intended for instantiation -- every member of this class is static.
uuid() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the uuid record component.
uuid(UUID) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the pet's persistent id.

V

ValidationException - Exception Class in de.Keyle.MyPet.api.gui
Thrown by SectionType codecs and the menu loader when a JSON definition fails validation.
ValidationException(String) - Constructor for exception class de.Keyle.MyPet.api.gui.ValidationException
Reports a JSON menu definition that failed validation.
ValidationException(String, Throwable) - Constructor for exception class de.Keyle.MyPet.api.gui.ValidationException
Reports a JSON menu definition that failed validation, wrapping the cause.
value() - Element in annotation interface de.Keyle.MyPet.api.entity.leashing.LeashFlagName
The name server owners write in the config to enable this flag.
value() - Method in enum class de.Keyle.MyPet.api.skill.modifier.UpgradeBooleanModifier
 
value() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeEnumModifier
Returns the value of the value record component.
value() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeIntegerModifier
Returns the value of the value record component.
value() - Method in interface de.Keyle.MyPet.api.skill.modifier.UpgradeModifier
Returns the raw modifier value carried by this instance.
value() - Method in record class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier
Returns the value of the value record component.
value() - Element in annotation interface de.Keyle.MyPet.api.skill.SkillName
The unique skill identifier used in skilltree files and registration.
value() - Element in annotation interface de.Keyle.MyPet.api.skill.skilltree.requirements.RequirementName
The unique identifier for this requirement (used in .st.json files).
value() - Element in annotation interface de.Keyle.MyPet.api.util.service.Load
The startup phase this service loads at.
value() - Element in annotation interface de.Keyle.MyPet.api.util.service.RequiresPlugin
The plugin this service bridges to.
value() - Element in annotation interface de.Keyle.MyPet.api.util.service.ServiceName
The name this service is registered and logged under.
valueBarPosition(C, String) - Method in interface de.Keyle.MyPet.api.gui.MenuHandler
Current 0-indexed fill position for a value-bar section (0..width-1).
ValueBarSection - Record Class in de.Keyle.MyPet.api.gui
One-row horizontal slider.
ValueBarSection(String, SectionType<ValueBarSection>, int, int, int, ItemAppearance, ItemAppearance, SoundSpec) - Constructor for record class de.Keyle.MyPet.api.gui.ValueBarSection
Rejects an out-of-range width or absent cell appearance, and substitutes silence for an absent sound.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.entity.Pet.PetState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in class de.Keyle.MyPet.api.entity.PetType
Looks up a type by its CamelCase name (case-insensitive).
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.event.PetCreateEvent.Source
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.event.PetFeedEvent.Result
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.event.PetInventoryActionEvent.Action
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.event.PetRemoveEvent.Source
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent.Source
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.event.PetSitEvent.Action
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.gui.CloseReason
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.gui.HeadSkin
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.gui.SectionRenderer.ClickResult
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.skill.modifier.UpgradeBooleanModifier
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.skill.skills.Beacon.BuffReceiver
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.skill.skills.Behavior.BehaviorMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.skill.UpgradeComputer.CallbackReason
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.skill.UpgradeSchema.FieldType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.util.ConfigItem.DurabilityMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class de.Keyle.MyPet.api.util.service.Load.State
Returns the enum constant of this class with the specified name.
values() - Static method in enum class de.Keyle.MyPet.api.entity.ai.target.TargetPriority
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.entity.Pet.PetState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in class de.Keyle.MyPet.api.entity.PetType
Returns an unmodifiable snapshot of all registered types in registration order.
values() - Static method in enum class de.Keyle.MyPet.api.event.PetCreateEvent.Source
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.event.PetFeedEvent.Result
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.event.PetInventoryActionEvent.Action
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.event.PetRemoveEvent.Source
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.event.PetSelectSkilltreeEvent.Source
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.event.PetSitEvent.Action
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.gui.CloseReason
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.gui.HeadSkin
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.gui.SectionRenderer.ClickResult
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.skill.modifier.UpgradeBooleanModifier
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.skill.modifier.UpgradeNumberModifier.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.skill.skills.Beacon.BuffReceiver
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.skill.skills.Behavior.BehaviorMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.skill.skills.Toolbox.Station
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.skill.UpgradeComputer.CallbackReason
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.skill.UpgradeSchema.FieldType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.util.ConfigItem.DurabilityMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class de.Keyle.MyPet.api.util.service.Load.State
Returns an array containing the constants of this enum class, in the order they are declared.
VanishedHook - Interface in de.Keyle.MyPet.api.util.hooks.types
This interface defines that the hook handles party checks
viewer() - Method in interface de.Keyle.MyPet.api.gui.MenuInstance
Returns who has this menu open.
viewer() - Method in record class de.Keyle.MyPet.api.gui.RenderContext
Returns the value of the viewer record component.
viewer() - Method in record class de.Keyle.MyPet.api.skill.skills.Beacon.MenuContext
Returns the value of the viewer record component.
VIEWER - Enum constant in enum class de.Keyle.MyPet.api.gui.HeadSkin
The menu viewer's own player profile.
volume() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the volume record component.
volume() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Fixed
Returns the value of the volume record component.
volume() - Method in record class de.Keyle.MyPet.api.gui.SoundSpec.Range
Returns the value of the volume record component.
volume(OptionalDouble) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the sound-volume override; empty (inherit the owner's setting) when null.

W

walkSpeed() - Element in annotation interface de.Keyle.MyPet.api.entity.DefaultInfo
Base movement speed (Bukkit MOVEMENT_SPEED attribute value).
wantsToRespawn() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the wantsToRespawn record component.
wantsToRespawn() - Method in interface de.Keyle.MyPet.api.entity.StoredPet
If true, the pet will auto-spawn on the owner's next login.
wantsToRespawn(boolean) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets whether the pet returns on the owner's next login.
WaterBreathing - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Beacon.Buff
The water breathing( potion effect.
weight - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Relative chance of being picked when skilltrees are assigned at random.
weight() - Method in record class de.Keyle.MyPet.api.skill.skills.Sniff.DropEntry
Returns the value of the weight record component.
weightOverrides - Variable in class de.Keyle.MyPet.api.skill.skilltree.Skilltree
Per-pet-type overrides of Skilltree.weight.
Where to start - Search tag in Overview
Section
width() - Method in record class de.Keyle.MyPet.api.gui.FillSection.Region
Returns the value of the width record component.
width() - Method in record class de.Keyle.MyPet.api.gui.PaginatedListSection
Returns the value of the width record component.
width() - Method in record class de.Keyle.MyPet.api.gui.StorageSection
Returns the value of the width record component.
width() - Method in record class de.Keyle.MyPet.api.gui.ValueBarSection
Returns the value of the width record component.
WIKI_URL - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Misc
The wiki address MyPet points players at.
WildAngerCheck<T> - Class in de.Keyle.MyPet.api.entity.leashing
Per-species predicate that decides whether a wild Bukkit mob is currently "angry" — consumed by capture-time leash flags (see AngryFlag).
WildAngerCheck(Class<T>, Predicate<T>) - Constructor for class de.Keyle.MyPet.api.entity.leashing.WildAngerCheck
Declares an anger check for one mob type, registering itself as it is built.
WildAngerCheckRegistry - Class in de.Keyle.MyPet.api.entity.leashing
Central registry of every WildAngerCheck declared as a static field on a pet class.
Wither - Interface in de.Keyle.MyPet.api.skill.skills
Skill that gives the pet a chance to apply the Wither potion effect to targets on hit, dealing damage over time and turning hearts black.
WitherSkull - Enum constant in enum class de.Keyle.MyPet.api.skill.skills.Ranged.Projectile
Launches a wither skull.
withExp(double) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the accumulated experience replaced and every other field carried over.
withHealth(double) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the current health replaced and every other field carried over.
withLastUsed(long) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the last-activity timestamp replaced and every other field carried over.
withMaxDistanceStep(int) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the follow-distance step replaced and every other field carried over.
withMinDistanceStep(int) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the personal-space step replaced and every other field carried over.
withOwner(MyPetPlayer) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the owning player replaced and every other field carried over.
withPetName(String) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the raw name, in MiniMessage form replaced and every other field carried over.
withPetType(PetType) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the species replaced and every other field carried over.
withRespawnTime(int) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the respawn timer, in seconds replaced and every other field carried over.
withSaturation(double) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns this unchanged (with a logged warning) when v is NaN or Infinite, preserving the prior value rather than coercing — silently substituting a default would mask data corruption.
withSkillInfo(CompoundBinaryTag) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the per-skill persisted state replaced and every other field carried over.
withSkills(Collection<Skill>) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Merges per-skill NBT into the existing PersistedPet.skillInfo, preserving any keys not produced by the active skills collection so removing a skill from the live tree does not erase its persisted state.
withSkilltree(Skilltree) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the assigned skilltree replaced and every other field carried over.
withUuid(UUID) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the pet's persistent id replaced and every other field carried over.
withVolume(OptionalDouble) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the sound-volume override replaced and every other field carried over.
withWantsToRespawn(boolean) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with whether the pet returns on the owner's next login replaced and every other field carried over.
withWorldGroup(String) - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns a copy with the world group replaced and every other field carried over.
worldGroup() - Method in record class de.Keyle.MyPet.api.entity.PersistedPet
Returns the value of the worldGroup record component.
worldGroup(String) - Method in class de.Keyle.MyPet.api.entity.PersistedPet.Builder
Sets the world group; ignored when null.
WorldGroup - Class in de.Keyle.MyPet.api
A named set of worlds that share pets.
WorldGroup(String, boolean) - Constructor for class de.Keyle.MyPet.api.WorldGroup
Creates a group and registers it.
write(T) - Method in interface de.Keyle.MyPet.api.skill.SkillStateCodec
Writes a skill's state out for persistence.
writeDefaults(Configuration) - Static method in class de.Keyle.MyPet.api.config.ConfigKeyRegistry
Writes ConfigKey.yamlDefault for every registered key into config.
writeGlobalDefaults(Configuration) - Static method in class de.Keyle.MyPet.api.config.ConfigKeyRegistry
Writes every global key's default into config (config.yml).
WrongWorldGroup - Enum constant in enum class de.Keyle.MyPet.api.entity.Pet.SpawnFlags
The owner is not in the world group the pet belongs to.

Y

yamlDefault() - Method in class de.Keyle.MyPet.api.config.ConfigKey
yamlFile - Variable in class de.Keyle.MyPet.api.util.configuration.ConfigurationYAML
The file this configuration reads from and writes to.
yamlPath() - Method in class de.Keyle.MyPet.api.config.ConfigKey
Full YAML path.
YamlScalar - Class in de.Keyle.MyPet.api.util
Helpers for item strings that travel through YAML as a single-quoted scalar.
yesLabel() - Method in record class de.Keyle.MyPet.api.dialog.ConfirmPromptSpec
Returns the value of the yesLabel record component.

Z

ZONE_MESSAGES - Static variable in class de.Keyle.MyPet.api.MyPetGlobal.Skilltree.Skill.Beacon
Whether players are told as they enter and leave a pet's Beacon aura.
A B C D E F G H I J K L M N O P R S T U V W Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form