# Uses of Class
com.destroystokyo.paper.entity.ai.GoalKey

Packages that use GoalKey
Package
Description
com.destroystokyo.paper.entity.ai

## Uses of GoalKey in com.destroystokyo.paper.entity.ai

Fields in com.destroystokyo.paper.entity.ai declared as GoalKey
Modifier and Type
Field
Description
`static final GoalKey<PigZombie>`
VanillaGoal.`ANGER`
Deprecated.
removed in 1.16
`static final GoalKey<PigZombie>`
VanillaGoal.`ANGER_OTHER`
Deprecated.
removed in 1.16
`static final GoalKey<RangedEntity>`
VanillaGoal.`ARROW_ATTACK`
Deprecated.
`static final GoalKey<Creature>`
VanillaGoal.`AVOID_ENTITY`
`static final GoalKey<Creature>`
VanillaGoal.`AVOID_TARGET`
Deprecated.
`static final GoalKey<Bee>`
VanillaGoal.`BEE_ATTACK`
`static final GoalKey<Bee>`
VanillaGoal.`BEE_BECOME_ANGRY`
`static final GoalKey<Bee>`
VanillaGoal.`BEE_ENTER_HIVE`
`static final GoalKey<Bee>`
VanillaGoal.`BEE_GO_TO_HIVE`
`static final GoalKey<Bee>`
VanillaGoal.`BEE_GO_TO_KNOWN_FLOWER`
`static final GoalKey<Bee>`
VanillaGoal.`BEE_GROW_CROP`
`static final GoalKey<Bee>`
VanillaGoal.`BEE_HURT_BY_OTHER`
`static final GoalKey<Bee>`
VanillaGoal.`BEE_LOCATE_HIVE`
`static final GoalKey<Bee>`
VanillaGoal.`BEE_POLLINATE`
`static final GoalKey<Bee>`
VanillaGoal.`BEE_WANDER`
`static final GoalKey<Wolf>`
VanillaGoal.`BEG`
`static final GoalKey<Blaze>`
VanillaGoal.`BLAZE_ATTACK`
`static final GoalKey<Blaze>`
VanillaGoal.`BLAZE_FIREBALL`
Deprecated.
`static final GoalKey<Monster>`
VanillaGoal.`BOW_SHOOT`
Deprecated.
`static final GoalKey<Mob>`
VanillaGoal.`BREAK_DOOR`
`static final GoalKey<Creature>`
VanillaGoal.`BREATH`
Deprecated.
`static final GoalKey<Creature>`
VanillaGoal.`BREATH_AIR`
`static final GoalKey<Animals>`
VanillaGoal.`BREED`
`static final GoalKey<Cat>`
VanillaGoal.`CAT_AVOID_ENTITY`
`static final GoalKey<Cat>`
VanillaGoal.`CAT_LIE_ON_BED`
`static final GoalKey<Cat>`
VanillaGoal.`CAT_RELAX_ON_OWNER`
`static final GoalKey<Cat>`
VanillaGoal.`CAT_SIT_ON_BED`
Deprecated.
`static final GoalKey<Cat>`
VanillaGoal.`CAT_SIT_ON_BLOCK`
`static final GoalKey<Cat>`
VanillaGoal.`CAT_TEMPT`
`static final GoalKey<Mob>`
VanillaGoal.`CLIMB_ON_TOP_OF_POWDER_SNOW`
`static final GoalKey<Monster>`
VanillaGoal.`CROSSBOW_ATTACK`
Deprecated.
`static final GoalKey<Fox>`
VanillaGoal.`DEFEND_TRUSTED`
`static final GoalKey<IronGolem>`
VanillaGoal.`DEFEND_VILLAGE`
`static final GoalKey<Dolphin>`
VanillaGoal.`DOLPHIN_JUMP`
`static final GoalKey<Dolphin>`
VanillaGoal.`DOLPHIN_PLAY_WITH_ITEMS`
Deprecated.
`static final GoalKey<Dolphin>`
VanillaGoal.`DOLPHIN_SWIM_TO_TREASURE`
`static final GoalKey<Dolphin>`
VanillaGoal.`DOLPHIN_SWIM_WITH_PLAYER`
`static final GoalKey<Mob>`
VanillaGoal.`DOOR_OPEN`
Deprecated.
`static final GoalKey<Drowned>`
VanillaGoal.`DROWNED_ATTACK`
`static final GoalKey<Drowned>`
VanillaGoal.`DROWNED_GO_TO_BEACH`
`static final GoalKey<Creature>`
VanillaGoal.`DROWNED_GO_TO_WATER`
`static final GoalKey<Drowned>`
VanillaGoal.`DROWNED_GOTO_BEACH`
Deprecated.
`static final GoalKey<Creature>`
VanillaGoal.`DROWNED_GOTO_WATER`
Deprecated.
`static final GoalKey<Drowned>`
VanillaGoal.`DROWNED_SWIM_UP`
`static final GoalKey<RangedEntity>`
VanillaGoal.`DROWNED_TRIDENT_ATTACK`
`static final GoalKey<Mob>`
VanillaGoal.`EAT_BLOCK`
`static final GoalKey<Rabbit>`
VanillaGoal.`EAT_CARROTS`
Deprecated.
`static final GoalKey<Mob>`
VanillaGoal.`EAT_TILE`
Deprecated.
`static final GoalKey<Enderman>`
VanillaGoal.`ENDERMAN_FREEZE_WHEN_LOOKED_AT`
`static final GoalKey<Enderman>`
VanillaGoal.`ENDERMAN_LEAVE_BLOCK`
`static final GoalKey<Enderman>`
VanillaGoal.`ENDERMAN_LOOK_FOR_PLAYER`
`static final GoalKey<Enderman>`
VanillaGoal.`ENDERMAN_PICKUP_BLOCK`
Deprecated.
`static final GoalKey<Enderman>`
VanillaGoal.`ENDERMAN_PLACE_BLOCK`
Deprecated.
`static final GoalKey<Enderman>`
VanillaGoal.`ENDERMAN_TAKE_BLOCK`
`static final GoalKey<Rabbit>`
VanillaGoal.`EVIL_RABBIT_ATTACK`
`static final GoalKey<Evoker>`
VanillaGoal.`EVOKER_ATTACK_SPELL`
`static final GoalKey<Evoker>`
VanillaGoal.`EVOKER_CAST_SPELL`
Deprecated.
`static final GoalKey<Evoker>`
VanillaGoal.`EVOKER_CASTING_SPELL`
`static final GoalKey<Evoker>`
VanillaGoal.`EVOKER_SUMMON_SPELL`
`static final GoalKey<Evoker>`
VanillaGoal.`EVOKER_WOLOLO_SPELL`
`static final GoalKey<Fox>`
VanillaGoal.`FACEPLANT`
`static final GoalKey<Fish>`
VanillaGoal.`FISH_SCHOOL`
Deprecated.
`static final GoalKey<Fish>`
VanillaGoal.`FISH_SWIM`
`static final GoalKey<Creature>`
VanillaGoal.`FLEE_SUN`
`static final GoalKey<Mob>`
VanillaGoal.`FLOAT`
`static final GoalKey<Creature>`
VanillaGoal.`FOLLOW_BOAT`
`static final GoalKey<Mob>`
VanillaGoal.`FOLLOW_ENTITY`
Deprecated.
`static final GoalKey<SchoolableFish>`
VanillaGoal.`FOLLOW_FLOCK_LEADER`
`static final GoalKey<Mob>`
VanillaGoal.`FOLLOW_MOB`
`static final GoalKey<Tameable>`
VanillaGoal.`FOLLOW_OWNER`
`static final GoalKey<Animals>`
VanillaGoal.`FOLLOW_PARENT`
`static final GoalKey<Fox>`
VanillaGoal.`FOX_BREED`
`static final GoalKey<Fox>`
VanillaGoal.`FOX_DEFEND_TRUSTED`
Deprecated.
`static final GoalKey<Fox>`
VanillaGoal.`FOX_EAT_BERRIES`
`static final GoalKey<Fox>`
VanillaGoal.`FOX_FACEPLANT`
Deprecated.
`static final GoalKey<Fox>`
VanillaGoal.`FOX_FLOAT`
`static final GoalKey<Fox>`
VanillaGoal.`FOX_FOLLOW_PARENT`
`static final GoalKey<Fox>`
VanillaGoal.`FOX_LOOK_AT_PLAYER`
`static final GoalKey<Fox>`
VanillaGoal.`FOX_MELEE_ATTACK`
`static final GoalKey<Fox>`
VanillaGoal.`FOX_PANIC`
`static final GoalKey<Fox>`
VanillaGoal.`FOX_PERCH_AND_SEARCH`
Deprecated.
`static final GoalKey<Fox>`
VanillaGoal.`FOX_POUNCE`
`static final GoalKey<Fox>`
VanillaGoal.`FOX_SEARCH_FOR_ITEMS`
`static final GoalKey<Fox>`
VanillaGoal.`FOX_SEEK_SHELTER`
Deprecated.
`static final GoalKey<Fox>`
VanillaGoal.`FOX_SLEEP`
Deprecated.
`static final GoalKey<Fox>`
VanillaGoal.`FOX_STALK_PREY`
Deprecated.
`static final GoalKey<Fox>`
VanillaGoal.`FOX_STROLL_THROUGH_VILLAGE`
`static final GoalKey<Ghast>`
VanillaGoal.`GHAST_ATTACK_TARGET`
Deprecated.
`static final GoalKey<Ghast>`
VanillaGoal.`GHAST_IDLE_MOVE`
Deprecated.
`static final GoalKey<Ghast>`
VanillaGoal.`GHAST_LOOK`
`static final GoalKey<Ghast>`
VanillaGoal.`GHAST_MOVE_TOWARDS_TARGET`
Deprecated.
`static final GoalKey<Ghast>`
VanillaGoal.`GHAST_SHOOT_FIREBALL`
`static final GoalKey<Creature>`
VanillaGoal.`GOLEM_RANDOM_STROLL_IN_VILLAGE`
`static final GoalKey<Guardian>`
VanillaGoal.`GUARDIAN_ATTACK`
`static final GoalKey<Raider>`
VanillaGoal.`HOLD_GROUND_ATTACK`
`static final GoalKey<SkeletonHorse>`
VanillaGoal.`HORSE_TRAP`
Deprecated.
`static final GoalKey<Creature>`
VanillaGoal.`HURT_BY`
`static final GoalKey<Creature>`
VanillaGoal.`HURT_BY_TARGET`
Deprecated.
`static final GoalKey<Illusioner>`
VanillaGoal.`ILLUSIONER_BLINDNESS_SPELL`
`static final GoalKey<Illusioner>`
VanillaGoal.`ILLUSIONER_MIRROR_SPELL`
`static final GoalKey<Mob>`
VanillaGoal.`INTERACT`
`static final GoalKey<Cat>`
VanillaGoal.`JUMP_ON_BLOCK`
Deprecated.
`static final GoalKey<Rabbit>`
VanillaGoal.`KILLER_RABBIT_MELEE_ATTACK`
Deprecated.
`static final GoalKey<Parrot>`
VanillaGoal.`LAND_ON_OWNERS_SHOULDER`
`static final GoalKey<Mob>`
VanillaGoal.`LEAP_AT`
`static final GoalKey<Mob>`
VanillaGoal.`LEAP_AT_TARGET`
Deprecated.
`static final GoalKey<Llama>`
VanillaGoal.`LLAMA_ATTACK_WOLF`
`static final GoalKey<Llama>`
VanillaGoal.`LLAMA_FOLLOW`
Deprecated.
`static final GoalKey<Llama>`
VanillaGoal.`LLAMA_FOLLOW_CARAVAN`
`static final GoalKey<Llama>`
VanillaGoal.`LLAMA_HURT_BY`
`static final GoalKey<TraderLlama>`
VanillaGoal.`LLAMATRADER_DEFENDED_WANDERING_TRADER`
Deprecated.
`static final GoalKey<Raider>`
VanillaGoal.`LONG_DISTANCE_PATROL`
`static final GoalKey<Mob>`
VanillaGoal.`LOOK_AT_PLAYER`
`static final GoalKey<AbstractVillager>`
VanillaGoal.`LOOK_AT_TRADING_PLAYER`
`static final GoalKey<Creature>`
VanillaGoal.`MELEE_ATTACK`
`static final GoalKey<Creature>`
VanillaGoal.`MOVE_BACK_TO_VILLAGE`
`static final GoalKey<Creature>`
VanillaGoal.`MOVE_THROUGH_VILLAGE`
`static final GoalKey<Creature>`
VanillaGoal.`MOVE_TOWARDS`
`static final GoalKey<Creature>`
VanillaGoal.`MOVE_TOWARDS_RESTRICTION`
`static final GoalKey<Creature>`
VanillaGoal.`MOVE_TOWARDS_TARGET`
Deprecated.
`static final GoalKey<Mob>`
VanillaGoal.`NEAREST_ATTACKABLE`
`static final GoalKey<Mob>`
VanillaGoal.`NEAREST_ATTACKABLE_TARGET`
Deprecated.
`static final GoalKey<Raider>`
VanillaGoal.`NEAREST_ATTACKABLE_TARGET_WITCH`
Deprecated.
`static final GoalKey<Raider>`
VanillaGoal.`NEAREST_ATTACKABLE_WITCH`
`static final GoalKey<Raider>`
VanillaGoal.`NEAREST_HEALABLE_RAIDER`
`static final GoalKey<Creature>`
VanillaGoal.`NEAREST_VILLAGE`
Deprecated.
`static final GoalKey<Tameable>`
VanillaGoal.`NON_TAME_RANDOM`
`static final GoalKey<Raider>`
VanillaGoal.`OBTAIN_RAID_LEADER_BANNER`
`static final GoalKey<Mob>`
VanillaGoal.`OCELOT_ATTACK`
`static final GoalKey<Ocelot>`
VanillaGoal.`OCELOT_AVOID_ENTITY`
`static final GoalKey<Ocelot>`
VanillaGoal.`OCELOT_TEMPT`
`static final GoalKey<IronGolem>`
VanillaGoal.`OFFER_FLOWER`
`static final GoalKey<Mob>`
VanillaGoal.`OPEN_DOOR`
`static final GoalKey<Tameable>`
VanillaGoal.`OWNER_HURT`
`static final GoalKey<Tameable>`
VanillaGoal.`OWNER_HURT_BY`
`static final GoalKey<Tameable>`
VanillaGoal.`OWNER_HURT_BY_TARGET`
Deprecated.
`static final GoalKey<Tameable>`
VanillaGoal.`OWNER_HURT_TARGET`
Deprecated.
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_ATTACK`
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_AVOID`
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_BREED`
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_HURT_BY`
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_HURT_BY_TARGET`
Deprecated.
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_LIE_ON_BACK`
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_LOOK_AT_PLAYER`
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_PANIC`
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_ROLL`
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_SIT`
`static final GoalKey<Panda>`
VanillaGoal.`PANDA_SNEEZE`
`static final GoalKey<Creature>`
VanillaGoal.`PANIC`
`static final GoalKey<Creature>`
VanillaGoal.`PARROT_WANDER`
`static final GoalKey<Raider>`
VanillaGoal.`PATHFIND_TO_RAID`
`static final GoalKey<Parrot>`
VanillaGoal.`PERCH`
Deprecated.
`static final GoalKey<Fox>`
VanillaGoal.`PERCH_AND_SEARCH`
`static final GoalKey<Phantom>`
VanillaGoal.`PHANTOM_ATTACK_PLAYER`
`static final GoalKey<Phantom>`
VanillaGoal.`PHANTOM_ATTACK_STRATEGY`
`static final GoalKey<Phantom>`
VanillaGoal.`PHANTOM_CIRCLE_AROUND_ANCHOR`
`static final GoalKey<Phantom>`
VanillaGoal.`PHANTOM_SWEEP_ATTACK`
`static final GoalKey<Dolphin>`
VanillaGoal.`PLAY_WITH_ITEMS`
`static final GoalKey<Enderman>`
VanillaGoal.`PLAYER_WHO_LOOKED_AT_TARGET`
Deprecated.
`static final GoalKey<PolarBear>`
VanillaGoal.`POLAR_BEAR_ATTACK_PLAYERS`
`static final GoalKey<PolarBear>`
VanillaGoal.`POLAR_BEAR_HURT_BY`
`static final GoalKey<PolarBear>`
VanillaGoal.`POLAR_BEAR_MELEE_ATTACK`
`static final GoalKey<PolarBear>`
VanillaGoal.`POLAR_BEAR_PANIC`
`static final GoalKey<PolarBear>`
VanillaGoal.`POLARBEAR_ATTACK_PLAYERS`
Deprecated.
`static final GoalKey<PolarBear>`
VanillaGoal.`POLARBEAR_HURT_BY`
Deprecated.
`static final GoalKey<PolarBear>`
VanillaGoal.`POLARBEAR_MELEE`
Deprecated.
`static final GoalKey<PolarBear>`
VanillaGoal.`POLARBEAR_PANIC`
Deprecated.
`static final GoalKey<PufferFish>`
VanillaGoal.`PUFFERFISH_PUFF`
`static final GoalKey<Rabbit>`
VanillaGoal.`RABBIT_AVOID_ENTITY`
`static final GoalKey<Rabbit>`
VanillaGoal.`RABBIT_AVOID_TARGET`
Deprecated.
`static final GoalKey<Rabbit>`
VanillaGoal.`RABBIT_PANIC`
`static final GoalKey<Raider>`
VanillaGoal.`RAID`
Deprecated.
`static final GoalKey<Rabbit>`
VanillaGoal.`RAID_GARDEN`
`static final GoalKey<Raider>`
VanillaGoal.`RAIDER_CELEBRATION`
`static final GoalKey<Raider>`
VanillaGoal.`RAIDER_HOLD_GROUND`
Deprecated.
`static final GoalKey<Raider>`
VanillaGoal.`RAIDER_MOVE_THROUGH_VILLAGE`
`static final GoalKey<Raider>`
VanillaGoal.`RAIDER_OBTAIN_BANNER`
Deprecated.
`static final GoalKey<Illager>`
VanillaGoal.`RAIDER_OPEN_DOOR`
`static final GoalKey<Ghast>`
VanillaGoal.`RANDOM_FLOAT_AROUND`
`static final GoalKey<Creature>`
VanillaGoal.`RANDOM_FLY`
Deprecated.
`static final GoalKey<Mob>`
VanillaGoal.`RANDOM_LOOK_AROUND`
`static final GoalKey<Mob>`
VanillaGoal.`RANDOM_LOOKAROUND`
Deprecated.
`static final GoalKey<AbstractHorse>`
VanillaGoal.`RANDOM_STAND`
`static final GoalKey<Creature>`
VanillaGoal.`RANDOM_STROLL`
`static final GoalKey<Creature>`
VanillaGoal.`RANDOM_STROLL_LAND`
Deprecated.
`static final GoalKey<Creature>`
VanillaGoal.`RANDOM_SWIM`
Deprecated.
`static final GoalKey<Creature>`
VanillaGoal.`RANDOM_SWIMMING`
`static final GoalKey<Tameable>`
VanillaGoal.`RANDOM_TARGET_NON_TAMED`
Deprecated.
`static final GoalKey<RangedEntity>`
VanillaGoal.`RANGED_ATTACK`
`static final GoalKey<Monster>`
VanillaGoal.`RANGED_BOW_ATTACK`
`static final GoalKey<Monster>`
VanillaGoal.`RANGED_CROSSBOW_ATTACK`
`static final GoalKey<Ravager>`
VanillaGoal.`RAVAGER_MELEE_ATTACK`
`static final GoalKey<Creature>`
VanillaGoal.`REMOVE_BLOCK`
`static final GoalKey<Mob>`
VanillaGoal.`RESET_UNIVERSAL_ANGER`
`static final GoalKey<Creature>`
VanillaGoal.`RESTRICT_SUN`
`static final GoalKey<AbstractHorse>`
VanillaGoal.`RUN_AROUND_LIKE_CRAZY`
`static final GoalKey<Fox>`
VanillaGoal.`SEEK_SHELTER`
`static final GoalKey<Shulker>`
VanillaGoal.`SHULKER_ATTACK`
`static final GoalKey<Shulker>`
VanillaGoal.`SHULKER_DEFENSE`
Deprecated.
`static final GoalKey<Shulker>`
VanillaGoal.`SHULKER_DEFENSE_ATTACK`
`static final GoalKey<Shulker>`
VanillaGoal.`SHULKER_NEAREST`
Deprecated.
`static final GoalKey<Shulker>`
VanillaGoal.`SHULKER_NEAREST_ATTACK`
`static final GoalKey<Shulker>`
VanillaGoal.`SHULKER_PEEK`
`static final GoalKey<Silverfish>`
VanillaGoal.`SILVERFISH_HIDE_IN_BLOCK`
Deprecated.
`static final GoalKey<Silverfish>`
VanillaGoal.`SILVERFISH_MERGE_WITH_STONE`
`static final GoalKey<Silverfish>`
VanillaGoal.`SILVERFISH_WAKE_OTHERS`
Deprecated.
`static final GoalKey<Silverfish>`
VanillaGoal.`SILVERFISH_WAKE_UP_FRIENDS`
`static final GoalKey<Tameable>`
VanillaGoal.`SIT`
Deprecated.
`static final GoalKey<Tameable>`
VanillaGoal.`SIT_WHEN_ORDERED_TO`
`static final GoalKey<AbstractSkeleton>`
VanillaGoal.`SKELETON_MELEE`
`static final GoalKey<SkeletonHorse>`
VanillaGoal.`SKELETON_TRAP`
`static final GoalKey<Fox>`
VanillaGoal.`SLEEP`
`static final GoalKey<Slime>`
VanillaGoal.`SLIME_ATTACK`
`static final GoalKey<Slime>`
VanillaGoal.`SLIME_FLOAT`
`static final GoalKey<Slime>`
VanillaGoal.`SLIME_IDLE`
Deprecated.
`static final GoalKey<Slime>`
VanillaGoal.`SLIME_KEEP_ON_JUMPING`
`static final GoalKey<Slime>`
VanillaGoal.`SLIME_NEAREST_PLAYER`
Deprecated.
`static final GoalKey<Slime>`
VanillaGoal.`SLIME_RANDOM_DIRECTION`
`static final GoalKey<Slime>`
VanillaGoal.`SLIME_RANDOM_JUMP`
Deprecated.
`static final GoalKey<Spellcaster>`
VanillaGoal.`SPELLCASTER_CAST_SPELL`
Deprecated.
`static final GoalKey<Spellcaster>`
VanillaGoal.`SPELLCASTER_CASTING_SPELL`
`static final GoalKey<Spider>`
VanillaGoal.`SPIDER`
`static final GoalKey<Spider>`
VanillaGoal.`SPIDER_ATTACK`
`static final GoalKey<Spider>`
VanillaGoal.`SPIDER_MELEE_ATTACK`
Deprecated.
`static final GoalKey<Spider>`
VanillaGoal.`SPIDER_NEAREST_ATTACKABLE_TARGET`
Deprecated.
`static final GoalKey<Squid>`
VanillaGoal.`SQUID`
Deprecated.
`static final GoalKey<Squid>`
VanillaGoal.`SQUID_FLEE`
`static final GoalKey<Squid>`
VanillaGoal.`SQUID_RANDOM_MOVEMENT`
`static final GoalKey<Fox>`
VanillaGoal.`STALK_PREY`
`static final GoalKey<Strider>`
VanillaGoal.`STRIDER_GO_TO_LAVA`
`static final GoalKey<Creature>`
VanillaGoal.`STROLL_THROUGH_VILLAGE`
`static final GoalKey<Creature>`
VanillaGoal.`STROLL_VILLAGE`
Deprecated.
`static final GoalKey<Creature>`
VanillaGoal.`STROLL_VILLAGE_GOLEM`
Deprecated.
`static final GoalKey<Creeper>`
VanillaGoal.`SWELL`
`static final GoalKey<AbstractHorse>`
VanillaGoal.`TAME`
Deprecated.
`static final GoalKey<Creature>`
VanillaGoal.`TEMPT`
`static final GoalKey<Cat>`
VanillaGoal.`TEMPT_CHANCE`
Deprecated.
`static final GoalKey<AbstractVillager>`
VanillaGoal.`TRADE_WITH_PLAYER`
`static final GoalKey<Llama>`
VanillaGoal.`TRADER_LLAMA_DEFEND_WANDERING_TRADER`
`static final GoalKey<Creature>`
VanillaGoal.`TRY_FIND_WATER`
`static final GoalKey<Turtle>`
VanillaGoal.`TURTLE_BREED`
`static final GoalKey<Turtle>`
VanillaGoal.`TURTLE_GO_HOME`
`static final GoalKey<Turtle>`
VanillaGoal.`TURTLE_GO_TO_WATER`
`static final GoalKey<Turtle>`
VanillaGoal.`TURTLE_GOTO_WATER`
Deprecated.
`static final GoalKey<Turtle>`
VanillaGoal.`TURTLE_LAY_EGG`
`static final GoalKey<Turtle>`
VanillaGoal.`TURTLE_PANIC`
`static final GoalKey<Turtle>`
VanillaGoal.`TURTLE_RANDOM_STROLL`
`static final GoalKey<Turtle>`
VanillaGoal.`TURTLE_TEMPT`
Deprecated.
`static final GoalKey<Turtle>`
VanillaGoal.`TURTLE_TRAVEL`
`static final GoalKey<Mob>`
VanillaGoal.`UNIVERSAL_ANGER_RESET`
Deprecated.
`static final GoalKey<Mob>`
VanillaGoal.`USE_ITEM`
`static final GoalKey<Vex>`
VanillaGoal.`VEX_CHARGE_ATTACK`
`static final GoalKey<Vex>`
VanillaGoal.`VEX_COPY_OWNER`
`static final GoalKey<Vex>`
VanillaGoal.`VEX_COPY_TARGET_OF_OWNER`
Deprecated.
`static final GoalKey<Vex>`
VanillaGoal.`VEX_RANDOM_MOVE`
`static final GoalKey<WanderingTrader>`
VanillaGoal.`VILLAGERTRADER_WANDER_TO_POSITION`
Deprecated.
`static final GoalKey<Mob>`
VanillaGoal.`VINDICATOR_BREAK_DOOR`
`static final GoalKey<Vindicator>`
VanillaGoal.`VINDICATOR_JOHNNY_ATTACK`
`static final GoalKey<Vindicator>`
VanillaGoal.`VINDICATOR_MELEE_ATTACK`
`static final GoalKey<WanderingTrader>`
VanillaGoal.`WANDER_TO_POSITION`
`static final GoalKey<Creature>`
VanillaGoal.`WATER`
Deprecated.
`static final GoalKey<Creature>`
VanillaGoal.`WATER_AVOIDING_RANDOM_FLYING`
`static final GoalKey<Creature>`
VanillaGoal.`WATER_AVOIDING_RANDOM_STROLL`
`static final GoalKey<Dolphin>`
VanillaGoal.`WATER_JUMP`
Deprecated.
`static final GoalKey<Wither>`
VanillaGoal.`WITHER_DO_NOTHING`
`static final GoalKey<Wolf>`
VanillaGoal.`WOLF_AVOID_ENTITY`
`static final GoalKey<Wolf>`
VanillaGoal.`WOLF_PANIC`
`static final GoalKey<Zombie>`
VanillaGoal.`ZOMBIE_ATTACK`
`static final GoalKey<Zombie>`
VanillaGoal.`ZOMBIE_ATTACK_TURTLE_EGG`
Methods in com.destroystokyo.paper.entity.ai that return GoalKey
Modifier and Type
Method
Description
`@NotNull GoalKey<T>`
Goal.`getKey()`
A unique key that identifies this type of goal.
`static <A extends Mob>
@NotNull GoalKey<A>`
GoalKey.`of(@NotNull Class<A> entityClass, @NotNull NamespacedKey namespacedKey)`
Methods in com.destroystokyo.paper.entity.ai with parameters of type GoalKey
Modifier and Type
Method
Description
`<T extends Mob>
@Nullable Goal<T>`
MobGoals.`getGoal(T mob, @NotNull GoalKey<T> key)`
`<T extends Mob>
@NotNull Collection<Goal<T>>`
MobGoals.`getGoals(T mob, @NotNull GoalKey<T> key)`
`<T extends Mob>
boolean`
MobGoals.`hasGoal(T mob, @NotNull GoalKey<T> key)`
`<T extends Mob>
void`
MobGoals.`removeGoal(T mob, @NotNull GoalKey<T> key)`