net.minecraft.world.entity.ai

final class Brain$MemoryValue<U>

bwk$a
net.minecraft.world.entity.ai.Brain$MemoryValue
net.minecraft.class_4095$class_5302
net.minecraft.entity.ai.brain.Brain$MemoryEntry
net.minecraft.world.entity.ai.BehaviorController$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
static <U> Brain$MemoryValue<U>
a(cem<U> arg0, Optional<? extends cel<?>> 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)
void
a(bwk<?> arg0)
setMemoryInternal(Brain<?> arg0)
method_28328(class_4095<?> arg0)
apply(Brain<?> brain)
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)