net.minecraft.world.entity.ai

final class Brain$MemoryValue<U>

bcx$a
net.minecraft.world.entity.ai.Brain$MemoryValue
net.minecraft.class_4095$class_5302
net.minecraft.entity.ai.brain.Brain$MemoryEntry
net.minecraft.src.C_550_
net.minecraft.world.entity.ai.BehaviorController$a

Field summary

Modifier and TypeField
private final MemoryModuleType<U>
a
type
field_24661
type
f_22030_
private final Optional<? extends ExpirableValue<U>>
b
value
field_24662
data
f_22031_

Constructor summary

ModifierConstructor
(MemoryModuleType<U> type, Optional<? extends ExpirableValue<U>> data)

Method summary

Modifier and TypeMethod
static <U> Brain$MemoryValue<U>
a(bku<U> arg0, Optional<? extends bkt<?>> arg1)
createUnchecked(MemoryModuleType<U> arg0, Optional<? extends ExpirableValue<?>> arg1)
method_28333(class_4140<U> arg0, Optional<? extends class_4831<?>> arg1)
of(MemoryModuleType<U> type, Optional<? extends Memory<?>> data)
m_22059_(C_753_<U> p_22060_, Optional<? extends C_752_<?>> p_22061_)
void
a(bcx<?> arg0)
setMemoryInternal(Brain<?> arg0)
method_28328(class_4095<?> arg0)
apply(Brain<?> brain)
m_22042_(C_548_<?> arg0)
public <T> void
a(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.serialization.RecordBuilder<T> arg1)
serialize(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.serialization.RecordBuilder<T> arg1)
method_28330(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.serialization.RecordBuilder<T> arg1)
serialize(com.mojang.serialization.DynamicOps<T> ops, com.mojang.serialization.RecordBuilder<T> builder)
m_22047_(com.mojang.serialization.DynamicOps<T> p_22049_, com.mojang.serialization.RecordBuilder<T> arg1)