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>
A simple profile of a brain. Indicates what types of memory modules and
sensors a brain can have.
- Mappings:
Namespace Name official auo$b
intermediary net/minecraft/class_4095$class_5303
named net/minecraft/entity/ai/brain/Brain$Profile
-
Field Summary
Modifier and TypeFieldDescriptionprivate Collection<? extends MemoryModuleType<?>>
private Collection<? extends SensorType<? extends Sensor<? super E>>>
-
Constructor Summary
ConstructorDescriptionProfile(Collection<? extends MemoryModuleType<?>> collection, Collection<? extends SensorType<? extends Sensor<? super E>>> collection2)
-
Method Summary
-
Field Details
-
memoryModules
- Mappings:
Namespace Name Mixin selector official a
Lauo$b;a:Ljava/util/Collection;
intermediary field_24663
Lnet/minecraft/class_4095$class_5303;field_24663:Ljava/util/Collection;
named memoryModules
Lnet/minecraft/entity/ai/brain/Brain$Profile;memoryModules:Ljava/util/Collection;
-
sensors
private final Collection<? extends SensorType<? extends Sensor<? super E extends LivingEntity>>> sensors- Mappings:
Namespace Name Mixin selector official b
Lauo$b;b:Ljava/util/Collection;
intermediary field_24664
Lnet/minecraft/class_4095$class_5303;field_24664:Ljava/util/Collection;
named sensors
Lnet/minecraft/entity/ai/brain/Brain$Profile;sensors:Ljava/util/Collection;
-
codec
- Mappings:
Namespace Name Mixin selector official c
Lauo$b;c:Lcom/mojang/serialization/Codec;
intermediary field_24665
Lnet/minecraft/class_4095$class_5303;field_24665:Lcom/mojang/serialization/Codec;
named codec
Lnet/minecraft/entity/ai/brain/Brain$Profile;codec:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
Profile
Profile(Collection<? extends MemoryModuleType<?>> collection, Collection<? extends SensorType<? extends Sensor<? super E>>> collection2)
-
-
Method Details
-
deserialize
- Mappings:
Namespace Name Mixin selector official a
Lauo$b;a(Lcom/mojang/serialization/Dynamic;)Lauo;
intermediary method_28335
Lnet/minecraft/class_4095$class_5303;method_28335(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
named deserialize
Lnet/minecraft/entity/ai/brain/Brain$Profile;deserialize(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-