Class StartAdmiringItemIfSeen<E extends Piglin>
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<E>
net.minecraft.world.entity.monster.piglin.StartAdmiringItemIfSeen<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
DEFAULT_DURATION, entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkExtraStartConditions
(ServerLevel p_35149_, E p_35150_) protected void
start
(ServerLevel p_35152_, E p_35153_, long p_35154_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
admireDuration
private final int admireDuration
-
-
Constructor Details
-
StartAdmiringItemIfSeen
public StartAdmiringItemIfSeen(int p_35140_)
-
-
Method Details