Class StopAdmiringIfItemTooFarAway<E extends Piglin>
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<E>
net.minecraft.world.entity.monster.piglin.StopAdmiringIfItemTooFarAway<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerLevel p_35221_, E p_35222_) protected void
start
(ServerLevel p_35224_, E p_35225_, long p_35226_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
maxDistanceToItem
private final int maxDistanceToItem
-
-
Constructor Details
-
StopAdmiringIfItemTooFarAway
public StopAdmiringIfItemTooFarAway(int p_35212_)
-
-
Method Details