Package net.minecraft.entity.ai.brain
Class Brain.Profile<E extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.brain.Brain.Profile<E>
- Enclosing class:
- Brain<E extends LivingEntity>
public static final class Brain.Profile<E extends LivingEntity> extends Object
A simple profile of a brain. Indicates what types of memory modules and
sensors a brain can have.
-
Field Summary
Fields Modifier and Type Field Description private com.mojang.serialization.Codec<Brain<E>>
codec
private Collection<? extends MemoryModuleType<?>>
memoryModules
private Collection<? extends SensorType<? extends Sensor<? super E>>>
sensors
-
Constructor Summary
Constructors Modifier Constructor Description private
Profile(Collection<? extends MemoryModuleType<?>> memoryModules, Collection<? extends SensorType<? extends Sensor<? super E>>> sensors)
-
Method Summary
Modifier and Type Method Description Brain<E>
deserialize(com.mojang.serialization.Dynamic<?> data)
-
Field Details
-
memoryModules
-
sensors
private final Collection<? extends SensorType<? extends Sensor<? super E extends LivingEntity>>> sensors -
codec
-
-
Constructor Details
-
Profile
private Profile(Collection<? extends MemoryModuleType<?>> memoryModules, Collection<? extends SensorType<? extends Sensor<? super E>>> sensors)
-
-
Method Details
-
deserialize
-