net.minecraft.world.entity.ai.behavior

public class EraseMemoryIf<E extends LivingEntity>

extends Behavior<E>

aqq
net.minecraft.world.entity.ai.behavior.EraseMemoryIf
net.minecraft.class_4813
net.minecraft.entity.ai.brain.task.ForgetTask
net.minecraft.entity.ai.brain.task.PredicateTask
net.minecraft.server.v1_16_R1.BehaviorRemoveMemory

Field summary

Modifier and TypeField
private final Predicate<E>
b
predicate
field_22302
condition
field_233895_b_
private final MemoryModuleType<?>
c
memoryType
field_22303
memory
field_233896_c_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected boolean
a(zd arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_18919(class_3218 arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
func_212832_a_(ServerWorld arg0, E arg1)
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)
run(ServerWorld arg0, E arg1, long arg2)
func_212831_a_(ServerWorld arg0, E arg1, long arg2)