net.minecraft.world.entity.ai.behavior

public class RunSometimes<E extends LivingEntity>

extends Behavior<E>

atg
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.RunSometimesTask
net.minecraft.server.v1_16_R2.BehaviorRunSometimes

Field summary

Modifier and TypeField
private boolean
b
resetTicks
field_22316
f_unvmhyjx
needsTimeReset
field_233944_b_
private boolean
c
wasRunning
field_22317
f_emcsyjez
delegateRunning
field_233945_c_
private final IntRange
d
interval
field_22318
f_asfyplzo
timeRange
field_233946_d_
private final Behavior<? super E>
e
wrappedBehavior
field_22319
f_iwdhmyiu
delegate
field_233947_e_
private int
f
ticksUntilNextStart
field_22320
f_ilfluzkh
timeLeft
field_233948_f_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(aag 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)
func_212832_a_(ServerWorld arg0, E arg1)
protected void
a(aag 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)
func_212831_a_(ServerWorld arg0, E arg1, long arg2)
protected boolean
b(aag 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)
func_212834_g_(ServerWorld arg0, E arg1, long arg2)
protected void
d(aag 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)
func_212833_d_(ServerWorld arg0, E arg1, long arg2)
protected void
c(aag 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)
func_212835_f_(ServerWorld arg0, E arg1, long arg2)
private void
a(aag arg0)
resetTicksUntilNextStart(ServerLevel arg0)
method_24598(class_3218 arg0)
m_mbflmllu(C_bdwnwhiu arg0)
resetTimeLeft(ServerWorld world)
func_233949_a_(ServerWorld arg0)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
m_eghfkoeo(long arg0)
isTimeLimitExceeded(long arg0)
func_220383_a(long arg0)