net.minecraft.entity.passive

public class ArmadilloBrain$RollUpTask

extends MultiTickTask<ArmadilloEntity>

All mapped superinterfaces:

Task

net.minecraft.world.entity.animal.armadillo.ArmadilloAi$ArmadilloBallUp
net.minecraft.class_9071$class_9072
net.minecraft.entity.passive.ArmadilloBrain$RollUpTask

Field summary

Modifier and TypeField
private static final int
BALL_UP_STAY_IN_STATE
field_49087
RUN_TIME_IN_TICKS
private static final int
TICKS_DELAY_TO_DETERMINE_IF_DANGER_IS_STILL_AROUND
field_49088
field_49088
private static final int
DANGER_DETECTED_RECENTLY_DANGER_THRESHOLD
field_49089
field_49089
private int
nextPeekTimer
field_49090
ticksUntilPeek
private boolean
dangerWasAround
field_49091
considerPeeking

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected void
tick(ServerLevel level, Armadillo body, long timestamp)
method_55741(class_3218 arg0, class_9069 arg1, long arg2)
keepRunning(ServerWorld arg0, ArmadilloEntity arg1, long arg2)
private int
pickNextPeekTimer(Armadillo body)
method_57001(class_9069 arg0)
calculateTicksUntilPeek(ArmadilloEntity entity)
protected boolean
checkExtraStartConditions(ServerLevel level, Armadillo body)
method_55740(class_3218 arg0, class_9069 arg1)
shouldRun(ServerWorld arg0, ArmadilloEntity arg1)
protected boolean
canStillUse(ServerLevel level, Armadillo body, long timestamp)
method_55742(class_3218 arg0, class_9069 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, ArmadilloEntity arg1, long arg2)
protected void
start(ServerLevel level, Armadillo body, long timestamp)
method_55743(class_3218 arg0, class_9069 arg1, long arg2)
run(ServerWorld arg0, ArmadilloEntity arg1, long arg2)
protected void
stop(ServerLevel level, Armadillo body, long timestamp)
method_55744(class_3218 arg0, class_9069 arg1, long arg2)
finishRunning(ServerWorld arg0, ArmadilloEntity arg1, long arg2)
protected boolean
checkExtraStartConditions(ServerLevel level, LivingEntity body)
method_18919(class_3218 arg0, class_1309 arg1)
shouldRun(ServerWorld arg0, LivingEntity arg1)
protected boolean
canStillUse(ServerLevel level, LivingEntity body, long timestamp)
method_18927(class_3218 arg0, class_1309 arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
protected void
stop(ServerLevel level, LivingEntity body, long timestamp)
method_18926(class_3218 arg0, class_1309 arg1, long arg2)
finishRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
protected void
tick(ServerLevel level, LivingEntity body, long timestamp)
method_18924(class_3218 arg0, class_1309 arg1, long arg2)
keepRunning(ServerWorld arg0, LivingEntity arg1, long arg2)
protected void
start(ServerLevel level, LivingEntity body, long timestamp)
method_18920(class_3218 arg0, class_1309 arg1, long arg2)
run(ServerWorld arg0, LivingEntity arg1, long arg2)