Class Brain.MemoryCodec<U>

  • Enclosing class:
    Brain<E extends LivingEntity>

    static final class Brain.MemoryCodec<U>
    extends java.lang.Object
    • Constructor Detail

      • MemoryCodec

        private MemoryCodec​(MemoryModuleType<U> p_i231496_1_,
                            java.util.Optional<? extends Memory<U>> p_i231496_2_)
    • Method Detail

      • setMemoryInternal

        private void setMemoryInternal​(Brain<?> p_233738_1_)
      • serialize

        public <T> void serialize​(com.mojang.serialization.DynamicOps<T> p_233740_1_,
                                  com.mojang.serialization.RecordBuilder<T> p_233740_2_)