类 Swim
- 所有已实现的接口:
BehaviorControl<Mob>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected boolean
canStillUse
(ServerLevel pLevel, Mob pEntity, long pGameTime) protected boolean
checkExtraStartConditions
(ServerLevel pLevel, Mob pOwner) protected void
tick
(ServerLevel pLevel, Mob pOwner, long pGameTime) 从类继承的方法 net.minecraft.world.entity.ai.behavior.Behavior
debugString, doStop, getStatus, hasRequiredMemories, start, stop, tickOrStop, timedOut, tryStart
-
字段详细资料
-
chance
private final float chance
-
-
构造器详细资料
-
Swim
public Swim(float pChance)
-
-
方法详细资料
-
checkExtraStartConditions
- 覆盖:
checkExtraStartConditions
在类中Behavior<Mob>
-
canStillUse
- 覆盖:
canStillUse
在类中Behavior<Mob>
-
tick
-