Class Sniffing<E extends Warden>
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<E>
net.minecraft.world.entity.ai.behavior.warden.Sniffing<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final double
private static final double
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_217653_, E p_217654_, long p_217655_) protected void
start
(ServerLevel p_217664_, E p_217665_, long p_217666_) protected void
stop
(ServerLevel p_217672_, E p_217673_, long p_217674_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
checkExtraStartConditions, doStop, getStatus, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
ANGER_FROM_SNIFFING_MAX_DISTANCE_XZ
private static final double ANGER_FROM_SNIFFING_MAX_DISTANCE_XZ- See Also:
-
ANGER_FROM_SNIFFING_MAX_DISTANCE_Y
private static final double ANGER_FROM_SNIFFING_MAX_DISTANCE_Y- See Also:
-
-
Constructor Details
-
Sniffing
public Sniffing(int p_217647_)
-
-
Method Details