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

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

ble
net.minecraft.world.entity.ai.behavior.declarative.MemoryAccessor
net.minecraft.class_7906
net.minecraft.unmapped.C_ujlmiamh
net.minecraft.entity.ai.brain.MemoryQueryResult
net.minecraft.unmapped.C_ujlmiamh
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
f_axwodfij
brain
brain
f_256902_
private final MemoryModuleType<Value>
b
memoryType
field_41026
f_nnqvfqwh
memory
f_257027_
private final com.mojang.datafixers.kinds.App<F, Value>
c
value
field_41027
f_powfpjln
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()
m_nrhekywp()
getValue()
m_258035_()
public void
a(Value arg0)
set(Value arg0)
method_47249(Value arg0)
m_klbizcog(Value arg0)
remember(Value value)
m_257512_(Value arg0)
public void
a(Optional<Value> arg0)
setOrErase(Optional<Value> arg0)
method_47251(Optional<Value> arg0)
m_bczdgokz(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)
m_zjdztcmb(Value arg0, long arg1)
remember(Value value, long expiry)
m_257465_(Value p_260310_, long arg1)
public void
b()
erase()
method_47252()
m_gfsxfard()
forget()
m_257971_()