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