类 CatLieOnBedGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
net.minecraft.world.entity.ai.goal.CatLieOnBedGoal
-
嵌套类概要
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.goal.MoveToBlockGoal
blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
canUse()
protected boolean
isValidTarget
(LevelReader pLevel, BlockPos pPos) protected int
nextStartTick
(PathfinderMob pCreature) void
start()
void
stop()
void
tick()
从类继承的方法 net.minecraft.world.entity.ai.goal.MoveToBlockGoal
acceptedDistance, canContinueToUse, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, requiresUpdateEveryTick, shouldRecalculatePath
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, toString
-
字段详细资料
-
cat
-
-
构造器详细资料
-
CatLieOnBedGoal
-
-
方法详细资料
-
canUse
public boolean canUse()- 覆盖:
canUse
在类中MoveToBlockGoal
-
start
public void start()- 覆盖:
start
在类中MoveToBlockGoal
-
nextStartTick
- 覆盖:
nextStartTick
在类中MoveToBlockGoal
-
stop
public void stop() -
tick
public void tick()- 覆盖:
tick
在类中MoveToBlockGoal
-
isValidTarget
- 指定者:
isValidTarget
在类中MoveToBlockGoal
-