Class ArmadilloAi.ArmadilloBallUp
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Armadillo>
net.minecraft.world.entity.animal.armadillo.ArmadilloAi.ArmadilloBallUp
- All Implemented Interfaces:
BehaviorControl<Armadillo>
- Enclosing class:
ArmadilloAi
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescription(package private) static final int
(package private) static final int
(package private) boolean
(package private) int
(package 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_333827_, Armadillo p_332835_, long p_327907_) protected boolean
checkExtraStartConditions
(ServerLevel p_332996_, Armadillo p_331814_) private int
pickNextPeekTimer
(Armadillo p_335572_) protected void
start
(ServerLevel p_330354_, Armadillo p_328883_, long p_332299_) protected void
stop
(ServerLevel p_333949_, Armadillo p_328962_, long p_327908_) protected void
tick
(ServerLevel p_334605_, Armadillo p_330148_, long p_334278_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
debugString, doStop, getStatus, hasRequiredMemories, tickOrStop, timedOut, tryStart
-
Field Details
-
BALL_UP_STAY_IN_STATE
static final int BALL_UP_STAY_IN_STATE -
TICKS_DELAY_TO_DETERMINE_IF_DANGER_IS_STILL_AROUND
static final int TICKS_DELAY_TO_DETERMINE_IF_DANGER_IS_STILL_AROUND- See Also:
-
DANGER_DETECTED_RECENTLY_DANGER_THRESHOLD
static final int DANGER_DETECTED_RECENTLY_DANGER_THRESHOLD- See Also:
-
nextPeekTimer
int nextPeekTimer -
dangerWasAround
boolean dangerWasAround
-
-
Constructor Details
-
ArmadilloBallUp
public ArmadilloBallUp()
-
-
Method Details
-
tick
-
pickNextPeekTimer
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditions
in classBehavior<Armadillo>
-
canStillUse
- Overrides:
canStillUse
in classBehavior<Armadillo>
-
start
-
stop
-