net.minecraft.world.entity.ai.behavior

public class CopyMemoryWithExpiry<E extends Mob, T>

extends Behavior<E>

aql
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.PiglinIdleActivityTask
net.minecraft.server.v1_16_R1.BehaviorExpirableMemory

Field summary

Modifier and TypeField
private final Predicate<E>
b
predicate
field_22288
f_ojfsekgv
runPredicate
field_233881_b_
private final MemoryModuleType<? extends T>
c
sourceMemory
field_22289
f_vpgoxqix
sourceType
field_233882_c_
private final MemoryModuleType<T>
d
targetMemory
field_22290
f_snkskuvu
targetType
field_233883_d_
private final IntRange
e
durationOfCopy
field_22291
f_samcpjdp
duration
field_233884_e_

Constructor summary

ModifierConstructor
public (Predicate<E> runPredicate, MemoryModuleType<? extends T> arg1, MemoryModuleType<T> arg2, IntRange duration)

Method summary

Modifier and TypeMethod
protected boolean
a(zd 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)
func_212832_a_(ServerWorld arg0, E arg1)
protected void
a(zd 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)
func_212831_a_(ServerWorld arg0, E arg1, long arg2)