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.
Mappings:
Namespace Name
official auo$b
intermediary net/minecraft/class_4095$class_5303
named net/minecraft/entity/ai/brain/Brain$Profile
  • Field Details

    • memoryModules

      private final Collection<? extends MemoryModuleType<?>> 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

      private final com.mojang.serialization.Codec<Brain<E extends LivingEntity>> 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

  • Method Details

    • deserialize

      public Brain<E> deserialize(com.mojang.serialization.Dynamic<?> data)
      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;