net.minecraft.world.entity.ai.behavior

public class RunIf<E extends LivingEntity>

extends Behavior<E>

awz
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.src.C_618_
net.minecraft.world.entity.ai.behavior.BehaviorRunIf

Field summary

Modifier and TypeField
private final Predicate<E>
a
predicate
field_22313
f_hylqqopy
condition
f_23795_
private final Behavior<? super E>
c
wrappedBehavior
field_22314
f_eeaoirrd
delegate
f_23796_
private final boolean
d
checkWhileRunningAlso
field_22315
f_jfbnxrii
allowsContinuation
f_23797_

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, boolean allowsContinuation)
public (Predicate<E> condition, Behavior<? super E> delegate)
public (Map<MemoryModuleType<?>, MemoryStatus> memory, Behavior<? super E> delegate)

Method summary

Modifier and TypeMethod
private static Map<MemoryModuleType<?>, MemoryStatus>
a(Map<bbt<?>, bbu> arg0, Map<bbt<?>, bbu> 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)
m_23815_(Map<C_753_<?>, C_754_> p_23816_, Map<C_753_<?>, C_754_> p_23817_)
protected boolean
a(abr 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)
m_6114_(C_12_ p_23810_, E arg1)
protected boolean
b(abr 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)
m_6737_(C_12_ p_23820_, E p_23821_, long arg2)
protected boolean
a(long arg0)
timedOut(long arg0)
method_18915(long arg0)
m_eghfkoeo(long arg0)
isTimeLimitExceeded(long arg0)
m_7773_(long arg0)
protected void
a(abr 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)
m_6735_(C_12_ p_23813_, E p_23814_, long arg2)
protected void
d(abr 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)
m_6725_(C_12_ p_23828_, E p_23829_, long arg2)
protected void
c(abr 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)
m_6732_(C_12_ p_23824_, E p_23825_, long arg2)