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

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

blc
net.minecraft.world.entity.ai.behavior.declarative.MemoryAccessor
net.minecraft.class_7906
net.minecraft.entity.ai.brain.MemoryQueryResult
net.minecraft.src.C_256705_
net.minecraft.world.entity.ai.behavior.declarative.MemoryAccessor

Field summary

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

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()
m_258035_()
public void
a(Value arg0)
set(Value arg0)
method_47249(Value arg0)
remember(Value value)
m_257512_(Value arg0)
public void
a(Optional<Value> arg0)
setOrErase(Optional<Value> arg0)
method_47251(Optional<Value> arg0)
remember(Optional<Value> value)
m_257564_(Optional<Value> arg0)
public void
a(Value arg0, long arg1)
setWithExpiry(Value arg0, long arg1)
method_47250(Value arg0, long arg1)
remember(Value value, long expiry)
m_257465_(Value p_260310_, long arg1)
public void
b()
erase()
method_47252()
forget()
m_257971_()