Package net.minecraft.entity.ai.brain
Class Brain.BrainCodec<E extends LivingEntity>
- java.lang.Object
-
- net.minecraft.entity.ai.brain.Brain.BrainCodec<E>
-
- Enclosing class:
- Brain<E extends LivingEntity>
public static final class Brain.BrainCodec<E extends LivingEntity> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.serialization.Codec<Brain<E>>
codec
private java.util.Collection<? extends MemoryModuleType<?>>
memoryTypes
private java.util.Collection<? extends SensorType<? extends Sensor<? super E>>>
sensorTypes
-
Constructor Summary
Constructors Modifier Constructor Description private
BrainCodec(java.util.Collection<? extends MemoryModuleType<?>> p_i231498_1_, java.util.Collection<? extends SensorType<? extends Sensor<? super E>>> p_i231498_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Brain<E>
makeBrain(com.mojang.serialization.Dynamic<?> p_233748_1_)
-
-
-
Field Detail
-
memoryTypes
private final java.util.Collection<? extends MemoryModuleType<?>> memoryTypes
-
sensorTypes
private final java.util.Collection<? extends SensorType<? extends Sensor<? super E extends LivingEntity>>> sensorTypes
-
codec
private final com.mojang.serialization.Codec<Brain<E extends LivingEntity>> codec
-
-
Constructor Detail
-
BrainCodec
private BrainCodec(java.util.Collection<? extends MemoryModuleType<?>> p_i231498_1_, java.util.Collection<? extends SensorType<? extends Sensor<? super E>>> p_i231498_2_)
-
-