net.minecraft.world.entity.ai.behavior

public class RunSometimes<E extends LivingEntity>

extends Behavior<E>

beq
net.minecraft.world.entity.ai.behavior.RunSometimes
net.minecraft.class_4821
net.minecraft.unmapped.C_ovapzwdv
net.minecraft.entity.ai.brain.task.TimeLimitedTask
net.minecraft.entity.ai.brain.task.TimeLimitedTask
net.minecraft.src.C_620_
net.minecraft.world.entity.ai.behavior.BehaviorRunSometimes

Field summary

Modifier and TypeField
private boolean
a
resetTicks
field_22316
f_unvmhyjx
needsTimeReset
needsTimeReset
f_23836_
private boolean
d
wasRunning
field_22317
f_emcsyjez
delegateRunning
delegateRunning
f_23837_
private final UniformInt
e
interval
field_22318
f_asfyplzo
timeRange
timeRange
f_23838_
private final Behavior<? super E>
f
wrappedBehavior
field_22319
f_iwdhmyiu
delegate
delegate
f_23839_
private int
g
ticksUntilNextStart
field_22320
f_ilfluzkh
timeLeft
timeLeft
f_23840_

Constructor summary

ModifierConstructor
public (Behavior<? super E> delegate, UniformInt timeRange)
public (Behavior<? super E> delegate, boolean skipFirstRun, UniformInt timeRange)

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_18919(class_3218 arg0, E arg1)
m_pwowjghk(C_bdwnwhiu arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_23854_, E arg1)
protected void
a(afo arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_18920(class_3218 arg0, E arg1, long arg2)
m_thxoqxcz(C_bdwnwhiu arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_23857_, E p_23858_, long arg2)
protected boolean
b(afo arg0, E arg1, long arg2)
canStillUse(ServerLevel arg0, E arg1, long arg2)
method_18927(class_3218 arg0, E arg1, long arg2)
m_xvrvizlg(C_bdwnwhiu arg0, E arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, E arg1, long arg2)
shouldKeepRunning(ServerWorld arg0, E arg1, long arg2)
m_6737_(C_12_ p_23861_, E p_23862_, long arg2)
protected void
d(afo arg0, E arg1, long arg2)
tick(ServerLevel arg0, E arg1, long arg2)
method_18924(class_3218 arg0, E arg1, long arg2)
m_jiotgmjk(C_bdwnwhiu arg0, E arg1, long arg2)
keepRunning(ServerWorld arg0, E arg1, long arg2)
keepRunning(ServerWorld arg0, E arg1, long arg2)
m_6725_(C_12_ p_23869_, E p_23870_, long arg2)
protected void
c(afo arg0, E arg1, long arg2)
stop(ServerLevel arg0, E arg1, long arg2)
method_18926(class_3218 arg0, E arg1, long arg2)
m_copsxmjv(C_bdwnwhiu arg0, E arg1, long arg2)
finishRunning(ServerWorld arg0, E arg1, long arg2)
finishRunning(ServerWorld arg0, E arg1, long arg2)
m_6732_(C_12_ p_23865_, E p_23866_, long arg2)
private void
a(afo arg0)
resetTicksUntilNextStart(ServerLevel arg0)
method_24598(class_3218 arg0)
m_mbflmllu(C_bdwnwhiu arg0)
resetTimeLeft(ServerWorld world)
resetTimeLeft(ServerWorld world)
m_23850_(C_12_ arg0)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
m_eghfkoeo(long arg0)
isTimeLimitExceeded(long arg0)
isTimeLimitExceeded(long arg0)
m_7773_(long arg0)