Class SetHiddenState
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.SetHiddenState
-
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 static final int
private final int
private int
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
start
(ServerLevel p_23934_, LivingEntity p_23935_, long p_23936_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, checkExtraStartConditions, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
HIDE_TIMEOUT
private static final int HIDE_TIMEOUT- See Also:
-
closeEnoughDist
private final int closeEnoughDist -
stayHiddenTicks
private final int stayHiddenTicks -
ticksHidden
private int ticksHidden
-
-
Constructor Details
-
SetHiddenState
public SetHiddenState(int p_23931_, int p_23932_)
-
-
Method Details
-
start
- Overrides:
start
in classBehavior<LivingEntity>
-