Package | Description |
---|---|
com.destroystokyo.paper.entity | |
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.imanity.imanityspigot.ai |
Modifier and Type | Interface and Description |
---|---|
interface |
RangedEntity
Represents an entity with ranged attacks
|
Modifier and Type | Method and Description |
---|---|
@NotNull Mob |
Pathfinder.getEntity() |
Modifier and Type | Interface and Description |
---|---|
interface |
Ageable
Represents an entity that can age and breed.
|
interface |
Ambient
Represents an ambient mob
|
interface |
Animals
Represents an Animal.
|
interface |
Bat
Represents a Bat
|
interface |
Blaze
Represents a Blaze monster
|
interface |
CaveSpider
Represents a Spider.
|
interface |
Chicken
Represents a Chicken.
|
interface |
ComplexLivingEntity
Represents a complex living entity - one that is made up of various smaller
parts
|
interface |
Cow
Represents a Cow.
|
interface |
Creature
Represents a Creature.
|
interface |
Creeper
Represents a Creeper
|
interface |
EnderDragon
Represents an Ender Dragon
|
interface |
Enderman
Represents an Enderman.
|
interface |
Endermite |
interface |
Flying
Represents a Flying Entity.
|
interface |
Ghast
Represents a Ghast.
|
interface |
Giant
Represents a Giant.
|
interface |
Golem
A mechanical creature that may harm enemies.
|
interface |
Guardian |
interface |
Horse
Represents a Horse.
|
interface |
IronGolem
An iron Golem that protects Villages.
|
interface |
MagmaCube
Represents a MagmaCube.
|
interface |
Monster
Represents a Monster.
|
interface |
MushroomCow
Represents a mushroom
Cow |
interface |
NPC
Represents a non-player character
|
interface |
Ocelot
A wild tameable cat
|
interface |
Pig
Represents a Pig.
|
interface |
PigZombie
Represents a Pig Zombie.
|
interface |
Rabbit |
interface |
Sheep
Represents a Sheep.
|
interface |
Silverfish
Represents a Silverfish.
|
interface |
Skeleton
Represents a Skeleton.
|
interface |
Slime
Represents a Slime.
|
interface |
Snowman
Represents a snowman entity
|
interface |
Spider
Represents a Spider.
|
interface |
Squid
Represents a Squid.
|
interface |
Tameable |
interface |
Villager
Represents a villager NPC
|
interface |
WaterMob
Represents a Water Mob
|
interface |
Witch
Represents a Witch
|
interface |
Wither
Represents a Wither boss
|
interface |
Wolf
Represents a Wolf
|
interface |
Zombie
Represents a Zombie.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Goal<T extends Mob>
Represents an AI goal of an entity
|
class |
GoalKey<T extends Mob>
Used to identify a Goal.
|
static class |
MobGoals.EntityMobGoals<T extends Mob> |
interface |
VanillaGoal<T extends Mob>
Represents a vanilla goal.
|
Modifier and Type | Field and Description |
---|---|
static GoalKey<Mob> |
VanillaGoal.BREAK_DOOR |
static GoalKey<Mob> |
VanillaGoal.EAT_TILE |
static GoalKey<Mob> |
VanillaGoal.FLOAT |
static GoalKey<Mob> |
VanillaGoal.INTERACT |
static GoalKey<Mob> |
VanillaGoal.LEAP_AT_TARGET |
static GoalKey<Mob> |
VanillaGoal.LOOK_AT_PLAYER |
static GoalKey<Mob> |
VanillaGoal.NEAREST_ATTACKABLE_TARGET_INSENTIENT |
static GoalKey<Mob> |
VanillaGoal.OCELOT_ATTACK |
static GoalKey<Mob> |
VanillaGoal.OPEN_DOOR |
static GoalKey<Mob> |
VanillaGoal.PASSENGER_CARROT_STICK |
static GoalKey<Mob> |
VanillaGoal.RANDOM_LOOKAROUND |
static GoalKey<Mob> |
VanillaGoal.TARGET_NEAREST_PLAYER |
Modifier and Type | Method and Description |
---|---|
<T extends Mob> |
MobGoals.addGoal(T mob,
int priority,
@NotNull Goal<T> goal)
Add a goal to the target mob
|
<T extends Mob> |
MobGoals.getAllGoals(T mob)
Get every goal instances from target mob
|
<T extends Mob> |
MobGoals.getAllGoals(T mob,
GoalType type)
Get every goal instances based on goal type from target mob
|
<T extends Mob> |
MobGoals.getAllGoalsWithout(T mob,
GoalType type)
Get every goal instances that aren't the specific type from target mob
|
<T extends Mob> |
MobGoals.getEntityGoals(T mob)
Wrap a instance of MobGoals for target mob
|
<T extends Mob> |
MobGoals.getGoal(T mob,
@NotNull GoalKey<T> key)
Get the goal instance based on key from target mob
|
<T extends Mob> |
MobGoals.getGoals(T mob,
@NotNull GoalKey<T> key)
Get the goal instances based on key from target mob
|
<T extends Mob> |
MobGoals.getRunningGoals(T mob)
Get every running goals from target mob
|
<T extends Mob> |
MobGoals.getRunningGoals(T mob,
GoalType type)
Get every running goals based on goal type from target mob
|
<T extends Mob> |
MobGoals.getRunningGoalsWithout(T mob,
GoalType type)
Get every running goal instances that aren't the specific type from target mob
|
<T extends Mob> |
MobGoals.hasGoal(T mob,
@NotNull GoalKey<T> key)
Check if the mob has a goal with the key
|
static <A extends Mob> |
GoalKey.of(@NotNull Class<A> entityClass,
@NotNull NamespacedKey namespacedKey) |
<T extends Mob> |
MobGoals.removeAllGoals(T mob)
Remove every goals from target mob
|
<T extends Mob> |
MobGoals.removeAllGoals(T mob,
GoalType type)
Remove every goals based on goal type from target mob
|
<T extends Mob> |
MobGoals.removeGoal(T mob,
@NotNull Goal<T> goal)
Remove a goal from the target mob
|
<T extends Mob> |
MobGoals.removeGoal(T mob,
@NotNull GoalKey<T> key)
Remove a goal based on key from target mob
|
Copyright © 2022. All rights reserved.