net.minecraft.world.entity.ai

final class Brain$MemoryValue<U>

arf$a
net.minecraft.world.entity.ai.Brain$MemoryValue
net.minecraft.class_4095$class_5302
net.minecraft.entity.ai.brain.Brain$MemoryEntry
net.minecraft.entity.ai.brain.Brain$MemoryCodec
net.minecraft.server.v1_16_R3.BehaviorController$a

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private static <U> Brain$MemoryValue<U>
b(ayd<U> arg0, Optional<? extends ayc<?>> 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)
func_233743_b_(MemoryModuleType<U> arg0, Optional<? extends Memory<?>> arg1)
private void
a(arf<?> arg0)
setMemoryInternal(Brain<?> arg0)
method_28328(class_4095<?> arg0)
apply(Brain<?> brain)
func_233738_a_(Brain<?> 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)
func_233740_a_(com.mojang.serialization.DynamicOps<T> arg0, com.mojang.serialization.RecordBuilder<T> arg1)