Uses of Class
net.minecraft.world.entity.ai.Brain
Package
Description
-
Uses of Brain in net.minecraft.world.entity
-
Uses of Brain in net.minecraft.world.entity.ai
Modifier and TypeMethodDescriptionBrain.copyWithoutBehaviors()
Brain.Provider.makeBrain(com.mojang.serialization.Dynamic<?> p_22074_)
Modifier and TypeMethodDescriptionstatic <E extends LivingEntity>
com.mojang.serialization.Codec<Brain<E>>Brain.codec(Collection<? extends MemoryModuleType<?>> p_21947_, Collection<? extends SensorType<? extends Sensor<? super E>>> p_21948_)
Modifier and TypeMethodDescription(package private) void
Brain.MemoryValue.setMemoryInternal(Brain<?> p_22043_)
ModifierConstructorDescriptionBrain(Collection<? extends MemoryModuleType<?>> p_21855_, Collection<? extends SensorType<? extends Sensor<? super E>>> p_21856_, com.google.common.collect.ImmutableList<Brain.MemoryValue<?>> p_21857_, Supplier<com.mojang.serialization.Codec<Brain<E>>> p_21858_)
-
Uses of Brain in net.minecraft.world.entity.ai.behavior
Modifier and TypeMethodDescriptionstatic boolean
BehaviorUtils.entityIsVisible(Brain<?> p_22637_, LivingEntity p_22638_)
private static boolean
BehaviorUtils.targetIsValid(Brain<?> p_22644_, MemoryModuleType<? extends LivingEntity> p_22645_, Predicate<LivingEntity> p_22646_)
static boolean
BehaviorUtils.targetIsValid(Brain<?> p_22640_, MemoryModuleType<? extends LivingEntity> p_22641_, EntityType<?> p_22642_)
-
Uses of Brain in net.minecraft.world.entity.animal.axolotl
Modifier and TypeMethodDescriptionAxolotl.getBrain()
protected Brain<?>
Axolotl.makeBrain(com.mojang.serialization.Dynamic<?> p_149138_)
protected static Brain<?>
Modifier and TypeMethodDescriptionprivate static void
AxolotlAi.initCoreActivity(Brain<Axolotl> p_149307_)
private static void
AxolotlAi.initFightActivity(Brain<Axolotl> p_149303_)
private static void
AxolotlAi.initIdleActivity(Brain<Axolotl> p_149309_)
private static void
AxolotlAi.initPlayDeadActivity(Brain<Axolotl> p_149297_)
protected static Brain<?>
-
Uses of Brain in net.minecraft.world.entity.animal.goat
Modifier and TypeMethodDescriptionGoat.getBrain()
protected Brain<?>
Goat.makeBrain(com.mojang.serialization.Dynamic<?> p_149371_)
protected static Brain<?>
Modifier and TypeMethodDescriptionprivate static void
GoatAi.initCoreActivity(Brain<Goat> p_149454_)
private static void
GoatAi.initIdleActivity(Brain<Goat> p_149458_)
private static void
GoatAi.initLongJumpActivity(Brain<Goat> p_149462_)
private static void
GoatAi.initRamActivity(Brain<Goat> p_149466_)
protected static Brain<?>
-
Uses of Brain in net.minecraft.world.entity.monster
Modifier and TypeMethodDescriptionZoglin.getBrain()
protected Brain<?>
Zoglin.makeBrain(com.mojang.serialization.Dynamic<?> p_34221_)
Modifier and TypeMethodDescriptionprivate static void
Zoglin.initCoreActivity(Brain<Zoglin> p_34217_)
private static void
Zoglin.initFightActivity(Brain<Zoglin> p_34237_)
private static void
Zoglin.initIdleActivity(Brain<Zoglin> p_34229_)
-
Uses of Brain in net.minecraft.world.entity.monster.hoglin
Modifier and TypeMethodDescriptionHoglin.getBrain()
protected Brain<?>
Hoglin.makeBrain(com.mojang.serialization.Dynamic<?> p_34514_)
protected static Brain<?>
Modifier and TypeMethodDescriptionprivate static void
HoglinAi.initCoreActivity(Brain<Hoglin> p_34592_)
private static void
HoglinAi.initFightActivity(Brain<Hoglin> p_34609_)
private static void
HoglinAi.initIdleActivity(Brain<Hoglin> p_34602_)
private static void
HoglinAi.initRetreatActivity(Brain<Hoglin> p_34616_)
protected static Brain<?>
-
Uses of Brain in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionPiglin.getBrain()
PiglinBrute.getBrain()
protected Brain<?>
Piglin.makeBrain(com.mojang.serialization.Dynamic<?> p_34723_)
protected static Brain<?>
protected Brain<?>
PiglinBrute.makeBrain(com.mojang.serialization.Dynamic<?> p_35064_)
protected static Brain<?>
PiglinBruteAi.makeBrain(PiglinBrute p_35100_, Brain<PiglinBrute> p_35101_)
Modifier and TypeMethodDescriptionprivate static void
PiglinAi.initAdmireItemActivity(Brain<Piglin> p_34941_)
private static void
PiglinAi.initCelebrateActivity(Brain<Piglin> p_34921_)
private static void
PiglinAi.initCoreActivity(Brain<Piglin> p_34821_)
private static void
PiglinBruteAi.initCoreActivity(PiglinBrute p_35112_, Brain<PiglinBrute> p_35113_)
private static void
PiglinAi.initFightActivity(Piglin p_34904_, Brain<Piglin> p_34905_)
private static void
PiglinBruteAi.initFightActivity(PiglinBrute p_35125_, Brain<PiglinBrute> p_35126_)
private static void
PiglinAi.initIdleActivity(Brain<Piglin> p_34892_)
private static void
PiglinBruteAi.initIdleActivity(PiglinBrute p_35120_, Brain<PiglinBrute> p_35121_)
private static void
PiglinAi.initRetreatActivity(Brain<Piglin> p_34959_)
private static void
PiglinAi.initRideHoglinActivity(Brain<Piglin> p_34974_)
protected static Brain<?>
protected static Brain<?>
PiglinBruteAi.makeBrain(PiglinBrute p_35100_, Brain<PiglinBrute> p_35101_)
-
Uses of Brain in net.minecraft.world.entity.npc
Modifier and TypeMethodDescriptionVillager.getBrain()
protected Brain<?>
Villager.makeBrain(com.mojang.serialization.Dynamic<?> p_35445_)
Modifier and TypeMethodDescriptionprivate void
Villager.registerBrainGoals(Brain<Villager> p_35425_)