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.AVOID_ENTITY
VanillaGoal.AVOID_RABID_WOLF
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.BREAK_DOOR
VanillaGoal.BREATH_AIR
VanillaGoal.BREED
VanillaGoal.CAT_AVOID_ENTITY
VanillaGoal.CAT_LIE_ON_BED
VanillaGoal.CAT_RELAX_ON_OWNER
VanillaGoal.CAT_SIT_ON_BLOCK
VanillaGoal.CAT_TEMPT
VanillaGoal.CLIMB_ON_TOP_OF_POWDER_SNOW
VanillaGoal.DEFEND_TRUSTED
VanillaGoal.DEFEND_VILLAGE
VanillaGoal.DOLPHIN_JUMP
VanillaGoal.DOLPHIN_SWIM_TO_TREASURE
VanillaGoal.DOLPHIN_SWIM_WITH_PLAYER
VanillaGoal.DROWNED_ATTACK
VanillaGoal.DROWNED_ATTACK_VILLAGER
VanillaGoal.DROWNED_GO_TO_BEACH
VanillaGoal.DROWNED_GO_TO_WATER
VanillaGoal.DROWNED_SWIM_UP
static final GoalKey
<RangedEntity> VanillaGoal.DROWNED_TRIDENT_ATTACK
VanillaGoal.EAT_BLOCK
VanillaGoal.ENDERMAN_FREEZE_WHEN_LOOKED_AT
VanillaGoal.ENDERMAN_LEAVE_BLOCK
VanillaGoal.ENDERMAN_LOOK_FOR_PLAYER
VanillaGoal.ENDERMAN_TAKE_BLOCK
VanillaGoal.EVOKER_ATTACK_SPELL
VanillaGoal.EVOKER_CASTING_SPELL
VanillaGoal.EVOKER_SUMMON_SPELL
VanillaGoal.EVOKER_WOLOLO_SPELL
VanillaGoal.FACEPLANT
VanillaGoal.FIND_CRYSTAL
VanillaGoal.FISH_SWIM
VanillaGoal.FLEE_SUN
VanillaGoal.FLOAT
VanillaGoal.FOLLOW_BOAT
static final GoalKey
<SchoolableFish> VanillaGoal.FOLLOW_FLOCK_LEADER
VanillaGoal.FOLLOW_MOB
VanillaGoal.FOLLOW_OWNER
VanillaGoal.FOLLOW_PARENT
VanillaGoal.FOX_BREED
VanillaGoal.FOX_EAT_BERRIES
VanillaGoal.FOX_FLOAT
VanillaGoal.FOX_FOLLOW_PARENT
VanillaGoal.FOX_LOOK_AT_PLAYER
VanillaGoal.FOX_MELEE_ATTACK
VanillaGoal.FOX_PANIC
VanillaGoal.FOX_POUNCE
VanillaGoal.FOX_SEARCH_FOR_ITEMS
VanillaGoal.FOX_STROLL_THROUGH_VILLAGE
VanillaGoal.GHAST_LOOK
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
VanillaGoal.HURT_BY
static final GoalKey
<Illusioner> VanillaGoal.ILLUSIONER_BLINDNESS_SPELL
static final GoalKey
<Illusioner> VanillaGoal.ILLUSIONER_MIRROR_SPELL
VanillaGoal.INTERACT
VanillaGoal.LAND_ON_OWNERS_SHOULDER
VanillaGoal.LEAP_AT
VanillaGoal.LLAMA_ATTACK_WOLF
VanillaGoal.LLAMA_FOLLOW_CARAVAN
VanillaGoal.LLAMA_HAS_RIDER
VanillaGoal.LLAMA_HURT_BY
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.NEAREST_ATTACKABLE
VanillaGoal.NEAREST_ATTACKABLE_WITCH
VanillaGoal.NEAREST_HEALABLE_RAIDER
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.PANDA_ATTACK
VanillaGoal.PANDA_AVOID
VanillaGoal.PANDA_BREED
VanillaGoal.PANDA_HURT_BY
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_AND_SEARCH
VanillaGoal.PHANTOM_ATTACK_PLAYER
VanillaGoal.PHANTOM_ATTACK_STRATEGY
VanillaGoal.PHANTOM_CIRCLE_AROUND_ANCHOR
VanillaGoal.PHANTOM_SWEEP_ATTACK
VanillaGoal.PLAY_WITH_ITEMS
VanillaGoal.POLAR_BEAR_ATTACK_PLAYERS
VanillaGoal.POLAR_BEAR_HURT_BY
VanillaGoal.POLAR_BEAR_MELEE_ATTACK
static final GoalKey
<PufferFish> VanillaGoal.PUFFERFISH_PUFF
VanillaGoal.RABBIT_AVOID_ENTITY
VanillaGoal.RABBIT_PANIC
VanillaGoal.RAID_GARDEN
VanillaGoal.RAIDER_CELEBRATION
VanillaGoal.RAIDER_MOVE_THROUGH_VILLAGE
VanillaGoal.RAIDER_OPEN_DOOR
VanillaGoal.RANDOM_FLOAT_AROUND
VanillaGoal.RANDOM_LOOK_AROUND
static final GoalKey
<AbstractHorse> VanillaGoal.RANDOM_STAND
VanillaGoal.RANDOM_STROLL
VanillaGoal.RANDOM_SWIMMING
static final GoalKey
<RangedEntity> VanillaGoal.RANGED_ATTACK
VanillaGoal.RANGED_BOW_ATTACK
VanillaGoal.RANGED_CROSSBOW_ATTACK
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_ATTACK
VanillaGoal.SHULKER_NEAREST_ATTACK
VanillaGoal.SHULKER_PEEK
static final GoalKey
<Silverfish> VanillaGoal.SILVERFISH_MERGE_WITH_STONE
static final GoalKey
<Silverfish> VanillaGoal.SILVERFISH_WAKE_UP_FRIENDS
VanillaGoal.SIT_WHEN_ORDERED_TO
static final GoalKey
<SkeletonHorse> VanillaGoal.SKELETON_TRAP
VanillaGoal.SLEEP
VanillaGoal.SLIME_ATTACK
VanillaGoal.SLIME_FLOAT
VanillaGoal.SLIME_KEEP_ON_JUMPING
VanillaGoal.SLIME_RANDOM_DIRECTION
static final GoalKey
<Spellcaster> VanillaGoal.SPELLCASTER_CASTING_SPELL
VanillaGoal.SPIDER
VanillaGoal.SPIDER_ATTACK
VanillaGoal.SQUID_FLEE
VanillaGoal.SQUID_RANDOM_MOVEMENT
VanillaGoal.STALK_PREY
VanillaGoal.STRIDER_GO_TO_LAVA
VanillaGoal.STROLL_THROUGH_VILLAGE
VanillaGoal.SWELL
VanillaGoal.TAMABLE_ANIMAL_PANIC
VanillaGoal.TEMPT
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_LAY_EGG
VanillaGoal.TURTLE_PANIC
VanillaGoal.TURTLE_RANDOM_STROLL
VanillaGoal.TURTLE_TRAVEL
VanillaGoal.USE_ITEM
VanillaGoal.VALIDATE_FLOWER
VanillaGoal.VALIDATE_HIVE
VanillaGoal.VEX_CHARGE_ATTACK
VanillaGoal.VEX_COPY_OWNER
VanillaGoal.VEX_RANDOM_MOVE
VanillaGoal.VINDICATOR_BREAK_DOOR
static final GoalKey
<Vindicator> VanillaGoal.VINDICATOR_JOHNNY_ATTACK
static final GoalKey
<WanderingTrader> VanillaGoal.WANDER_TO_POSITION
VanillaGoal.WATER_AVOIDING_RANDOM_FLYING
VanillaGoal.WATER_AVOIDING_RANDOM_STROLL
VanillaGoal.WITHER_DO_NOTHING
VanillaGoal.WOLF_AVOID_ENTITY
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
(Class<A> entityClass, NamespacedKey namespacedKey) Modifier and TypeMethodDescription<T extends Mob>
Collection<Goal<T>> <T extends Mob>
boolean<T extends Mob>
voidMobGoals.removeGoal
(T mob, GoalKey<T> key)