Class Croak
- All Implemented Interfaces:
BehaviorControl<Frog>
-
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 int
private int
private static final int
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_217154_, Frog p_217155_, long p_217156_) protected boolean
checkExtraStartConditions
(ServerLevel p_217151_, Frog p_217152_) protected void
start
(ServerLevel p_217162_, Frog p_217163_, long p_217164_) protected void
stop
(ServerLevel p_217170_, Frog p_217171_, long p_217172_) protected void
tick
(ServerLevel p_217178_, Frog p_217179_, long p_217180_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
debugString, doStop, getStatus, hasRequiredMemories, tickOrStop, timedOut, tryStart
-
Field Details
-
CROAK_TICKS
private static final int CROAK_TICKS- See Also:
-
TIME_OUT_DURATION
private static final int TIME_OUT_DURATION- See Also:
-
croakCounter
private int croakCounter
-
-
Constructor Details
-
Croak
public Croak()
-
-
Method Details