public class CopyMemoryWithExpiry<E extends Mob, T>
extends Behavior<E>
arw | |
net.minecraft.world.entity.ai.behavior.CopyMemoryWithExpiry | |
net.minecraft.class_4809 | |
net.minecraft.entity.ai.brain.task.MemoryTransferTask | |
net.minecraft.entity.ai.brain.task.PiglinIdleActivityTask | |
net.minecraft.server.v1_16_R2.BehaviorExpirableMemory |
Field summary
Modifier and Type | Field | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
private final Predicate<E> |
| ||||||||||
private final MemoryModuleType<? extends T> |
| ||||||||||
private final MemoryModuleType<T> |
| ||||||||||
private final IntRange |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (Predicate<E> runPredicate, MemoryModuleType<? extends T> arg1, MemoryModuleType<T> arg2, IntRange duration) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected boolean |
| ||||||||||
protected void |
|