net.minecraft.world.entity.ai.behavior

public class RunIf<E extends LivingEntity>

extends Behavior<E>

art
net.minecraft.world.entity.ai.behavior.RunIf
net.minecraft.class_4820
net.minecraft.unmapped.C_xtgteiqy
net.minecraft.entity.ai.brain.task.ConditionalTask
net.minecraft.entity.ai.brain.task.SupplementedTask
net.minecraft.server.v1_16_R1.BehaviorRunIf

Field summary

Modifier and TypeField
private final Predicate<E>
b
predicate
field_22313
f_hylqqopy
condition
field_233940_b_
private final Behavior<? super E>
c
wrappedBehavior
field_22314
f_eeaoirrd
delegate
field_233941_c_
private final boolean
d
checkWhileRunningAlso
field_22315
f_jfbnxrii
allowsContinuation
field_233942_d_

Constructor summary

ModifierConstructor
public (Map<MemoryModuleType<?>, MemoryStatus> requiredMemoryStates, Predicate<E> condition, Behavior<? super E> delegate, boolean allowsContinuation)
public (Predicate<E> condition, Behavior<? super E> delegate)

Method summary

Modifier and TypeMethod
private static Map<MemoryModuleType<?>, MemoryStatus>
a(Map<awp<?>, awq> arg0, Map<awp<?>, awq> arg1)
mergeMaps(Map<MemoryModuleType<?>, MemoryStatus> arg0, Map<MemoryModuleType<?>, MemoryStatus> arg1)
method_24597(Map<class_4140<?>, class_4141> arg0, Map<class_4140<?>, class_4141> arg1)
m_mgnxmbne(Map<C_vbbyoqyw<?>, C_nbxzedfr> arg0, Map<C_vbbyoqyw<?>, C_nbxzedfr> arg1)
merge(Map<MemoryModuleType<?>, MemoryModuleState> first, Map<MemoryModuleType<?>, MemoryModuleState> second)
func_233943_a_(Map<MemoryModuleType<?>, MemoryModuleStatus> arg0, Map<MemoryModuleType<?>, MemoryModuleStatus> arg1)
protected boolean
a(zd 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 boolean
b(zd 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 boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
m_eghfkoeo(long arg0)
isTimeLimitExceeded(long arg0)
func_220383_a(long arg0)
protected void
a(zd 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 void
d(zd 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(zd 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)