Uses of Class
net.minecraft.entity.ai.brain.Memory
-
Uses of Memory in net.minecraft.entity.ai.brain
Modifier and TypeFieldDescriptionprivate final Map<MemoryModuleType<?>,
Optional<? extends Memory<?>>> Brain.memories
Brain.MemoryCodec.value
Modifier and TypeMethodDescriptionstatic <T> Memory<T>
Memory.of
(T p_234068_0_) static <T> Memory<T>
Memory.of
(T p_234069_0_, long p_234069_1_) Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<Memory<T>>
Memory.codec
(com.mojang.serialization.Codec<T> p_234066_0_) Modifier and TypeMethodDescriptionprivate static <U> Brain.MemoryCodec<U>
Brain.MemoryCodec.createUnchecked
(MemoryModuleType<U> p_233743_0_, Optional<? extends Memory<?>> p_233743_1_) private <U> void
Brain.setMemoryInternal
(MemoryModuleType<U> p_233709_1_, Optional<? extends Memory<?>> p_233709_2_) ModifierConstructorDescriptionprivate
MemoryCodec
(MemoryModuleType<U> p_i231496_1_, Optional<? extends Memory<U>> p_i231496_2_) -
Uses of Memory in net.minecraft.entity.ai.brain.memory