类 Ghast.RandomFloatAroundGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.Ghast.RandomFloatAroundGoal
- 封闭类:
Ghast
-
嵌套类概要
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
boolean
canUse()
private static Vec3
chooseRandomPosition
(Vec3 p_416643_, RandomSource p_416184_) private static Vec3
chooseRandomPositionWithRestriction
(Mob p_415643_, Vec3 p_415583_, RandomSource p_416214_) static Vec3
getSuitableFlyToPosition
(Mob p_415820_, int p_415837_) private static boolean
isGoodTarget
(Level p_415688_, Vec3 p_416409_, int p_415738_) void
start()
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, tick, toString
-
字段详细资料
-
MAX_ATTEMPTS
private static final int MAX_ATTEMPTS- 另请参阅:
-
ghast
-
distanceToBlocks
private final int distanceToBlocks
-
-
构造器详细资料
-
RandomFloatAroundGoal
-
RandomFloatAroundGoal
-
-
方法详细资料
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- 覆盖:
canContinueToUse
在类中Goal
-
start
public void start() -
getSuitableFlyToPosition
-
isGoodTarget
-
chooseRandomPosition
-
chooseRandomPositionWithRestriction
@Nullable private static Vec3 chooseRandomPositionWithRestriction(Mob p_415643_, Vec3 p_415583_, RandomSource p_416214_)
-