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 bkg$b
intermediary net/minecraft/class_4095$class_5303
named net/minecraft/entity/ai/brain/Brain$Profile
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Collection<? extends MemoryModuleType<?>>
private final Collection<? extends SensorType<? extends Sensor<? super E>>>
-
Constructor Summary
ConstructorDescriptionProfile
(Collection<? extends MemoryModuleType<?>> memoryModules, Collection<? extends SensorType<? extends Sensor<? super E>>> sensors) -
Method Summary
-
Field Details
-
memoryModules
- Mappings:
Namespace Name Mixin selector official a
Lbkg$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
Lbkg$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
Lbkg$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<?>> memoryModules, Collection<? extends SensorType<? extends Sensor<? super E>>> sensors) - Mappings:
Namespace Name Mixin selector official <init>
Lbkg$b;<init>(Ljava/util/Collection;Ljava/util/Collection;)V
intermediary <init>
Lnet/minecraft/class_4095$class_5303;<init>(Ljava/util/Collection;Ljava/util/Collection;)V
named <init>
Lnet/minecraft/entity/ai/brain/Brain$Profile;<init>(Ljava/util/Collection;Ljava/util/Collection;)V
-
-
Method Details
-
deserialize
- Mappings:
Namespace Name Mixin selector official a
Lbkg$b;a(Lcom/mojang/serialization/Dynamic;)Lbkg;
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;
-