Class GoToPotentialJobSite
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Villager>
net.minecraft.world.entity.ai.behavior.GoToPotentialJobSite
- All Implemented Interfaces:
BehaviorControl<Villager>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescription(package private) final float
private static final int
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canStillUse
(ServerLevel p_23106_, Villager p_23107_, long p_23108_) protected boolean
checkExtraStartConditions
(ServerLevel p_23103_, Villager p_23104_) protected void
stop
(ServerLevel p_23129_, Villager p_23130_, long p_23131_) protected void
tick
(ServerLevel p_23121_, Villager p_23122_, long p_23123_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
debugString, doStop, getStatus, hasRequiredMemories, start, tickOrStop, timedOut, tryStart
-
Field Details
-
TICKS_UNTIL_TIMEOUT
private static final int TICKS_UNTIL_TIMEOUT- See Also:
-
speedModifier
final float speedModifier
-
-
Constructor Details
-
GoToPotentialJobSite
public GoToPotentialJobSite(float p_23098_)
-
-
Method Details