net.minecraft.world.entity.ai.behavior

public class EraseMemoryIf<E extends LivingEntity>

extends Behavior<E>

bdc
net.minecraft.world.entity.ai.behavior.EraseMemoryIf
net.minecraft.class_4813
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
condition
f_22856_
private final MemoryModuleType<?>
d
memoryType
field_22303
memory
f_22857_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(afo arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_18919(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_22863_, 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)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_22866_, E p_22867_, long arg2)