net.minecraft.world.entity.ai.behavior

public class EraseMemoryIf<E extends LivingEntity>

extends Behavior<E>

avr
net.minecraft.world.entity.ai.behavior.EraseMemoryIf
net.minecraft.class_4813
net.minecraft.unmapped.C_xfnsqgyk
net.minecraft.entity.ai.brain.task.ForgetTask
net.minecraft.src.C_582_
net.minecraft.world.entity.ai.behavior.BehaviorRemoveMemory

Field summary

Modifier and TypeField
private final Predicate<E>
a
predicate
field_22302
f_fmcsxebf
condition
f_22856_
private final MemoryModuleType<?>
c
memoryType
field_22303
f_aikvnypv
memory
f_22857_

Constructor summary

ModifierConstructor
public (Predicate<E> condition, MemoryModuleType<?> memory)

Method summary

Modifier and TypeMethod
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_22863_, E arg1)
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_22866_, E p_22867_, long arg2)