类 PanicGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.PanicGoal
- 直接已知子类:
Fox.FoxPanicGoal
,Panda.PandaPanicGoal
,PolarBear.PolarBearPanicGoal
,Rabbit.RabbitPanicGoal
,Turtle.TurtlePanicGoal
,Wolf.WolfPanicGoal
-
嵌套类概要
-
字段概要
字段修饰符和类型字段说明protected boolean
protected final PathfinderMob
protected double
protected double
protected double
protected final double
static final int
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
boolean
canUse()
protected boolean
boolean
protected BlockPos
lookForWater
(BlockGetter pLevel, Entity pEntity, int pRange) protected boolean
void
start()
void
stop()
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
字段详细资料
-
WATER_CHECK_DISTANCE_VERTICAL
public static final int WATER_CHECK_DISTANCE_VERTICAL- 另请参阅:
-
mob
-
speedModifier
protected final double speedModifier -
posX
protected double posX -
posY
protected double posY -
posZ
protected double posZ -
isRunning
protected boolean isRunning
-
-
构造器详细资料
-
PanicGoal
-
-
方法详细资料
-
canUse
public boolean canUse() -
shouldPanic
protected boolean shouldPanic() -
findRandomPosition
protected boolean findRandomPosition() -
isRunning
public boolean isRunning() -
start
public void start() -
stop
public void stop() -
canContinueToUse
public boolean canContinueToUse()- 覆盖:
canContinueToUse
在类中Goal
-
lookForWater
-