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 Behavior
Behavior.Status -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final floatprivate static final intFields inherited from class Behavior
DEFAULT_DURATION, entryCondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanStillUse(ServerLevel level, Villager body, long timestamp) protected booleancheckExtraStartConditions(ServerLevel level, Villager body) protected voidstop(ServerLevel level, Villager body, long timestamp) protected voidtick(ServerLevel level, Villager body, long timestamp) Methods inherited from class Behavior
debugString, doStop, getRequiredMemories, 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 speedModifier)
-
-
Method Details