net.minecraft.world.entity.ai.behavior.declarative

public final class MemoryAccessor<F extends com.mojang.datafixers.kinds.K1, Value>

cbn
net.minecraft.world.entity.ai.behavior.declarative.MemoryAccessor
net.minecraft.class_7906
net.minecraft.entity.ai.brain.MemoryQueryResult
net.minecraft.world.entity.ai.behavior.declarative.MemoryAccessor

Field summary

Modifier and TypeField
private final Brain<?>
a
brain
field_41025
brain
private final MemoryModuleType<Value>
b
memoryType
field_41026
memory
private final com.mojang.datafixers.kinds.App<F, Value>
c
value
field_41027
value

Constructor summary

ModifierConstructor
public (Brain<?> brain, MemoryModuleType<Value> memory, com.mojang.datafixers.kinds.App<F, Value> value)

Method summary

Modifier and TypeMethod
public com.mojang.datafixers.kinds.App<F, Value>
a()
value()
method_47248()
getValue()
public void
a(Value arg0)
set(Value arg0)
method_47249(Value arg0)
remember(Value value)
public void
a(Optional<Value> arg0)
setOrErase(Optional<Value> arg0)
method_47251(Optional<Value> arg0)
remember(Optional<Value> value)
public void
a(Value arg0, long arg1)
setWithExpiry(Value arg0, long arg1)
method_47250(Value arg0, long arg1)
remember(Value value, long expiry)
public void
b()
erase()
method_47252()
forget()