net.minecraft.world.entity.ai.behavior

public class CopyMemoryWithExpiry<E extends Mob, T>

extends Behavior<E>

azo
net.minecraft.world.entity.ai.behavior.CopyMemoryWithExpiry
net.minecraft.class_4809
net.minecraft.unmapped.C_ylgoridw
net.minecraft.entity.ai.brain.task.MemoryTransferTask
net.minecraft.entity.ai.brain.task.MemoryTransferTask
net.minecraft.src.C_574_
net.minecraft.world.entity.ai.behavior.BehaviorExpirableMemory

Field summary

Modifier and TypeField
private final Predicate<E>
a
predicate
field_22288
f_ojfsekgv
runPredicate
runPredicate
f_22719_
private final MemoryModuleType<? extends T>
c
sourceMemory
field_22289
f_vpgoxqix
sourceType
sourceType
f_22720_
private final MemoryModuleType<T>
d
targetMemory
field_22290
f_snkskuvu
targetType
targetType
f_22721_
private final UniformInt
e
durationOfCopy
field_22291
f_samcpjdp
duration
duration
f_22722_

Constructor summary

ModifierConstructor
public (Predicate<E> runPredicate, MemoryModuleType<? extends T> sourceType, MemoryModuleType<T> targetType, UniformInt duration)

Method summary

Modifier and TypeMethod
protected boolean
a(adw arg0, E arg1)
checkExtraStartConditions(ServerLevel arg0, E arg1)
method_24566(class_3218 arg0, E arg1)
m_yakkaivq(C_bdwnwhiu arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
shouldRun(ServerWorld arg0, E arg1)
m_6114_(C_12_ p_22737_, E arg1)
protected void
a(adw arg0, E arg1, long arg2)
start(ServerLevel arg0, E arg1, long arg2)
method_24567(class_3218 arg0, E arg1, long arg2)
m_llocmasz(C_bdwnwhiu arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
run(ServerWorld arg0, E arg1, long arg2)
m_6735_(C_12_ p_22740_, E p_22741_, long arg2)