Class StopAdmiringIfTiredOfTryingToReachItem<E extends Piglin>
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<E>
net.minecraft.world.entity.monster.piglin.StopAdmiringIfTiredOfTryingToReachItem<E>
-
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
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerLevel p_35240_, E p_35241_) protected void
start
(ServerLevel p_35243_, E p_35244_, long p_35245_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
maxTimeToReachItem
private final int maxTimeToReachItem -
disableTime
private final int disableTime
-
-
Constructor Details
-
StopAdmiringIfTiredOfTryingToReachItem
public StopAdmiringIfTiredOfTryingToReachItem(int p_35230_, int p_35231_)
-
-
Method Details