Class StrollToPoiList
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.StrollToPoiList
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final MemoryModuleType<GlobalPos>
private long
private final float
private final MemoryModuleType<List<GlobalPos>>
private GlobalPos
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
ConstructorDescriptionStrollToPoiList
(MemoryModuleType<List<GlobalPos>> p_24362_, float p_24363_, int p_24364_, int p_24365_, MemoryModuleType<GlobalPos> p_24366_) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerLevel p_24375_, Villager p_24376_) protected void
start
(ServerLevel p_24378_, Villager p_24379_, long p_24380_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
strollToMemoryType
-
mustBeCloseToMemoryType
-
speedModifier
private final float speedModifier -
closeEnoughDist
private final int closeEnoughDist -
maxDistanceFromPoi
private final int maxDistanceFromPoi -
nextOkStartTime
private long nextOkStartTime -
targetPos
-
-
Constructor Details
-
StrollToPoiList
public StrollToPoiList(MemoryModuleType<List<GlobalPos>> p_24362_, float p_24363_, int p_24364_, int p_24365_, MemoryModuleType<GlobalPos> p_24366_)
-
-
Method Details