类 LookAndFollowTradingPlayerSink
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.LookAndFollowTradingPlayerSink
- 所有已实现的接口:
BehaviorControl<Villager>
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
字段概要
字段从类继承的字段 net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected boolean
canStillUse
(ServerLevel p_23448_, Villager p_23449_, long p_23450_) protected boolean
checkExtraStartConditions
(ServerLevel p_23445_, Villager p_23446_) private void
followPlayer
(Villager p_23452_) protected void
start
(ServerLevel p_23458_, Villager p_23459_, long p_23460_) protected void
stop
(ServerLevel p_23466_, Villager p_23467_, long p_23468_) protected void
tick
(ServerLevel p_23474_, Villager p_23475_, long p_23476_) protected boolean
timedOut
(long p_23436_) 从类继承的方法 net.minecraft.world.entity.ai.behavior.Behavior
debugString, doStop, getStatus, hasRequiredMemories, tickOrStop, tryStart
-
字段详细资料
-
speedModifier
private final float speedModifier
-
-
构造器详细资料
-
LookAndFollowTradingPlayerSink
public LookAndFollowTradingPlayerSink(float p_23434_)
-
-
方法详细资料
-
checkExtraStartConditions
- 覆盖:
checkExtraStartConditions
在类中Behavior<Villager>
-
canStillUse
- 覆盖:
canStillUse
在类中Behavior<Villager>
-
start
-
stop
-
tick
-
timedOut
protected boolean timedOut(long p_23436_) -
followPlayer
-