Uses of Class
com.destroystokyo.paper.entity.ai.GoalKey
-
Uses of GoalKey in com.destroystokyo.paper.entity.ai
Modifier and TypeFieldDescriptionstatic final GoalKey<AbstractSkeleton>
VanillaGoal.ABSTRACT_SKELETON_MELEE
VanillaGoal.ANGER
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.ANGER_OTHER
Deprecated, for removal: This API element is subject to removal in a future version.static final GoalKey<RangedEntity>
VanillaGoal.ARROW_ATTACK
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.AVOID_ENTITY
VanillaGoal.AVOID_RABID_WOLF
VanillaGoal.AVOID_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.VanillaGoal.BOW_SHOOT
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.BREAK_DOOR
VanillaGoal.BREATH
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.VanillaGoal.CAT_SIT_ON_BLOCK
VanillaGoal.CAT_TEMPT
VanillaGoal.CLIMB_ON_TOP_OF_POWDER_SNOW
VanillaGoal.CROSSBOW_ATTACK
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.DEFEND_TRUSTED
VanillaGoal.DEFEND_VILLAGE
VanillaGoal.DOLPHIN_JUMP
VanillaGoal.DOLPHIN_PLAY_WITH_ITEMS
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.DOLPHIN_SWIM_TO_TREASURE
VanillaGoal.DOLPHIN_SWIM_WITH_PLAYER
VanillaGoal.DOOR_OPEN
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.DROWNED_ATTACK
VanillaGoal.DROWNED_ATTACK_VILLAGER
VanillaGoal.DROWNED_GO_TO_BEACH
VanillaGoal.DROWNED_GO_TO_WATER
VanillaGoal.DROWNED_GOTO_BEACH
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.DROWNED_GOTO_WATER
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.DROWNED_SWIM_UP
static final GoalKey<RangedEntity>
VanillaGoal.DROWNED_TRIDENT_ATTACK
VanillaGoal.EAT_BLOCK
VanillaGoal.EAT_CARROTS
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.EAT_TILE
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.ENDERMAN_FREEZE_WHEN_LOOKED_AT
VanillaGoal.ENDERMAN_LEAVE_BLOCK
VanillaGoal.ENDERMAN_LOOK_FOR_PLAYER
VanillaGoal.ENDERMAN_PICKUP_BLOCK
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.ENDERMAN_PLACE_BLOCK
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.ENDERMAN_TAKE_BLOCK
VanillaGoal.EVIL_RABBIT_ATTACK
Deprecated.VanillaGoal.EVOKER_ATTACK_SPELL
VanillaGoal.EVOKER_CAST_SPELL
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.EVOKER_CASTING_SPELL
VanillaGoal.EVOKER_SUMMON_SPELL
VanillaGoal.EVOKER_WOLOLO_SPELL
VanillaGoal.FACEPLANT
VanillaGoal.FIND_CRYSTAL
VanillaGoal.FISH_SCHOOL
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.FISH_SWIM
VanillaGoal.FLEE_SUN
VanillaGoal.FLOAT
VanillaGoal.FOLLOW_BOAT
VanillaGoal.FOLLOW_ENTITY
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.VanillaGoal.FOX_EAT_BERRIES
VanillaGoal.FOX_FACEPLANT
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.VanillaGoal.FOX_POUNCE
VanillaGoal.FOX_SEARCH_FOR_ITEMS
VanillaGoal.FOX_SEEK_SHELTER
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.FOX_SLEEP
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.FOX_STALK_PREY
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.FOX_STROLL_THROUGH_VILLAGE
VanillaGoal.GHAST_ATTACK_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.GHAST_IDLE_MOVE
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.GHAST_LOOK
VanillaGoal.GHAST_MOVE_TOWARDS_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.GHAST_SHOOT_FIREBALL
VanillaGoal.GOLEM_RANDOM_STROLL_IN_VILLAGE
VanillaGoal.GUARDIAN_ATTACK
VanillaGoal.HOLD_GROUND_ATTACK
static final GoalKey<AbstractHorse>
VanillaGoal.HORSE_HAS_RIDER
static final GoalKey<SkeletonHorse>
VanillaGoal.HORSE_TRAP
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.HURT_BY
VanillaGoal.HURT_BY_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.static final GoalKey<Illusioner>
VanillaGoal.ILLUSIONER_BLINDNESS_SPELL
static final GoalKey<Illusioner>
VanillaGoal.ILLUSIONER_MIRROR_SPELL
VanillaGoal.INTERACT
VanillaGoal.JUMP_ON_BLOCK
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.KILLER_RABBIT_MELEE_ATTACK
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.LAND_ON_OWNERS_SHOULDER
VanillaGoal.LEAP_AT
VanillaGoal.LEAP_AT_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.LLAMA_ATTACK_WOLF
VanillaGoal.LLAMA_FOLLOW
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.LLAMA_FOLLOW_CARAVAN
VanillaGoal.LLAMA_HAS_RIDER
VanillaGoal.LLAMA_HURT_BY
static final GoalKey<TraderLlama>
VanillaGoal.LLAMATRADER_DEFENDED_WANDERING_TRADER
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.LONG_DISTANCE_PATROL
VanillaGoal.LOOK_AT_PLAYER
static final GoalKey<AbstractVillager>
VanillaGoal.LOOK_AT_TRADING_PLAYER
VanillaGoal.MELEE_ATTACK
VanillaGoal.MOB_HAS_RIDER
VanillaGoal.MOVE_BACK_TO_VILLAGE
VanillaGoal.MOVE_THROUGH_VILLAGE
VanillaGoal.MOVE_TOWARDS
VanillaGoal.MOVE_TOWARDS_RESTRICTION
VanillaGoal.MOVE_TOWARDS_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.NEAREST_ATTACKABLE
VanillaGoal.NEAREST_ATTACKABLE_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.NEAREST_ATTACKABLE_TARGET_WITCH
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.NEAREST_ATTACKABLE_WITCH
VanillaGoal.NEAREST_HEALABLE_RAIDER
VanillaGoal.NEAREST_VILLAGE
Deprecated, for removal: This API element is subject to removal in a future version.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.ORBIT_CRYSTAL
VanillaGoal.OWNER_HURT
VanillaGoal.OWNER_HURT_BY
VanillaGoal.OWNER_HURT_BY_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.OWNER_HURT_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.PANDA_ATTACK
VanillaGoal.PANDA_AVOID
VanillaGoal.PANDA_BREED
VanillaGoal.PANDA_HURT_BY
VanillaGoal.PANDA_HURT_BY_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.VanillaGoal.POLAR_BEAR_ATTACK_PLAYERS
VanillaGoal.POLAR_BEAR_HURT_BY
VanillaGoal.POLAR_BEAR_MELEE_ATTACK
VanillaGoal.POLAR_BEAR_PANIC
VanillaGoal.POLARBEAR_ATTACK_PLAYERS
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.POLARBEAR_HURT_BY
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.POLARBEAR_MELEE
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.POLARBEAR_PANIC
Deprecated, for removal: This API element is subject to removal in a future version.static final GoalKey<PufferFish>
VanillaGoal.PUFFERFISH_PUFF
VanillaGoal.RABBIT_AVOID_ENTITY
VanillaGoal.RABBIT_AVOID_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.RABBIT_PANIC
VanillaGoal.RAID
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.RAID_GARDEN
VanillaGoal.RAIDER_CELEBRATION
VanillaGoal.RAIDER_HOLD_GROUND
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.RAIDER_MOVE_THROUGH_VILLAGE
VanillaGoal.RAIDER_OBTAIN_BANNER
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.RAIDER_OPEN_DOOR
VanillaGoal.RANDOM_FLOAT_AROUND
VanillaGoal.RANDOM_FLY
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.RANDOM_LOOK_AROUND
VanillaGoal.RANDOM_LOOKAROUND
Deprecated, for removal: This API element is subject to removal in a future version.static final GoalKey<AbstractHorse>
VanillaGoal.RANDOM_STAND
VanillaGoal.RANDOM_STROLL
VanillaGoal.RANDOM_STROLL_LAND
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.RANDOM_SWIM
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.RANDOM_SWIMMING
VanillaGoal.RANDOM_TARGET_NON_TAMED
Deprecated, for removal: This API element is subject to removal in a future version.static final GoalKey<RangedEntity>
VanillaGoal.RANGED_ATTACK
VanillaGoal.RANGED_BOW_ATTACK
VanillaGoal.RANGED_CROSSBOW_ATTACK
VanillaGoal.RAVAGER_MELEE_ATTACK
Deprecated.VanillaGoal.RECEIVE_FLOWER
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, for removal: This API element is subject to removal in a future version.VanillaGoal.SHULKER_DEFENSE_ATTACK
VanillaGoal.SHULKER_NEAREST
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.SHULKER_NEAREST_ATTACK
VanillaGoal.SHULKER_PEEK
static final GoalKey<Silverfish>
VanillaGoal.SILVERFISH_HIDE_IN_BLOCK
Deprecated, for removal: This API element is subject to removal in a future version.static final GoalKey<Silverfish>
VanillaGoal.SILVERFISH_MERGE_WITH_STONE
static final GoalKey<Silverfish>
VanillaGoal.SILVERFISH_WAKE_OTHERS
Deprecated, for removal: This API element is subject to removal in a future version.static final GoalKey<Silverfish>
VanillaGoal.SILVERFISH_WAKE_UP_FRIENDS
VanillaGoal.SIT
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.SIT_WHEN_ORDERED_TO
static final GoalKey<SkeletonHorse>
VanillaGoal.SKELETON_TRAP
VanillaGoal.SLEEP
VanillaGoal.SLIME_ATTACK
VanillaGoal.SLIME_FLOAT
VanillaGoal.SLIME_IDLE
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.SLIME_KEEP_ON_JUMPING
VanillaGoal.SLIME_NEAREST_PLAYER
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.SLIME_RANDOM_DIRECTION
VanillaGoal.SLIME_RANDOM_JUMP
Deprecated, for removal: This API element is subject to removal in a future version.static final GoalKey<Spellcaster>
VanillaGoal.SPELLCASTER_CAST_SPELL
Deprecated, for removal: This API element is subject to removal in a future version.static final GoalKey<Spellcaster>
VanillaGoal.SPELLCASTER_CASTING_SPELL
VanillaGoal.SPIDER
VanillaGoal.SPIDER_ATTACK
VanillaGoal.SPIDER_MELEE_ATTACK
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.SPIDER_NEAREST_ATTACKABLE_TARGET
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.SQUID
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.SQUID_FLEE
VanillaGoal.SQUID_RANDOM_MOVEMENT
VanillaGoal.STALK_PREY
VanillaGoal.STRIDER_GO_TO_LAVA
VanillaGoal.STROLL_THROUGH_VILLAGE
VanillaGoal.STROLL_VILLAGE
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.STROLL_VILLAGE_GOLEM
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.SWELL
static final GoalKey<AbstractHorse>
VanillaGoal.TAME
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.TEMPT
VanillaGoal.TEMPT_CHANCE
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.VanillaGoal.TURTLE_LAY_EGG
VanillaGoal.TURTLE_PANIC
VanillaGoal.TURTLE_RANDOM_STROLL
VanillaGoal.TURTLE_TEMPT
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.TURTLE_TRAVEL
VanillaGoal.UNIVERSAL_ANGER_RESET
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.USE_ITEM
VanillaGoal.VEX_CHARGE_ATTACK
VanillaGoal.VEX_COPY_OWNER
VanillaGoal.VEX_COPY_TARGET_OF_OWNER
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.VEX_RANDOM_MOVE
static final GoalKey<WanderingTrader>
VanillaGoal.VILLAGERTRADER_WANDER_TO_POSITION
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.VINDICATOR_BREAK_DOOR
static final GoalKey<Vindicator>
VanillaGoal.VINDICATOR_JOHNNY_ATTACK
static final GoalKey<Vindicator>
VanillaGoal.VINDICATOR_MELEE_ATTACK
Deprecated.static final GoalKey<WanderingTrader>
VanillaGoal.WANDER_TO_POSITION
VanillaGoal.WATER
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.WATER_AVOIDING_RANDOM_FLYING
VanillaGoal.WATER_AVOIDING_RANDOM_STROLL
VanillaGoal.WATER_JUMP
Deprecated, for removal: This API element is subject to removal in a future version.VanillaGoal.WITHER_DO_NOTHING
VanillaGoal.WOLF_AVOID_ENTITY
VanillaGoal.WOLF_PANIC
VanillaGoal.ZOMBIE_ATTACK
VanillaGoal.ZOMBIE_ATTACK_TURTLE_EGG
VanillaGoal.ZOMBIE_ATTACK_VILLAGER
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)