Uses of Class
net.minecraft.entity.ai.brain.Brain
Package
Description
-
Uses of Brain in net.minecraft.entity
-
Uses of Brain in net.minecraft.entity.ai.brain
Modifier and TypeMethodDescriptionBrain.copyWithoutBehaviors()
Brain.BrainCodec.makeBrain
(com.mojang.serialization.Dynamic<?> p_233748_1_) Modifier and TypeMethodDescriptionstatic <E extends LivingEntity>
com.mojang.serialization.Codec<Brain<E>>Brain.codec
(Collection<? extends MemoryModuleType<?>> p_233710_0_, Collection<? extends SensorType<? extends Sensor<? super E>>> p_233710_1_) Modifier and TypeMethodDescriptionstatic boolean
BrainUtil.entityIsVisible
(Brain<?> p_220619_0_, LivingEntity p_220619_1_) private void
Brain.MemoryCodec.setMemoryInternal
(Brain<?> p_233738_1_) private static boolean
BrainUtil.targetIsValid
(Brain<?> p_233870_0_, MemoryModuleType<? extends LivingEntity> p_233870_1_, Predicate<LivingEntity> p_233870_2_) static boolean
BrainUtil.targetIsValid
(Brain<?> p_220623_0_, MemoryModuleType<? extends LivingEntity> p_220623_1_, EntityType<?> p_220623_2_) ModifierConstructorDescriptionBrain
(Collection<? extends MemoryModuleType<?>> p_i231494_1_, Collection<? extends SensorType<? extends Sensor<? super E>>> p_i231494_2_, com.google.common.collect.ImmutableList<Brain.MemoryCodec<?>> p_i231494_3_, Supplier<com.mojang.serialization.Codec<Brain<E>>> p_i231494_4_) -
Uses of Brain in net.minecraft.entity.merchant.villager
Modifier and TypeMethodDescriptionVillagerEntity.getBrain()
protected Brain<?>
VillagerEntity.makeBrain
(com.mojang.serialization.Dynamic<?> p_213364_1_) Modifier and TypeMethodDescriptionprivate void
VillagerEntity.registerBrainGoals
(Brain<VillagerEntity> p_213744_1_) -
Uses of Brain in net.minecraft.entity.monster
Modifier and TypeMethodDescriptionHoglinEntity.getBrain()
ZoglinEntity.getBrain()
protected Brain<?>
HoglinEntity.makeBrain
(com.mojang.serialization.Dynamic<?> p_213364_1_) protected static Brain<?>
HoglinTasks.makeBrain
(Brain<HoglinEntity> p_234376_0_) protected Brain<?>
ZoglinEntity.makeBrain
(com.mojang.serialization.Dynamic<?> p_213364_1_) Modifier and TypeMethodDescriptionprivate static void
HoglinTasks.initCoreActivity
(Brain<HoglinEntity> p_234382_0_) private static void
ZoglinEntity.initCoreActivity
(Brain<ZoglinEntity> p_234328_0_) private static void
HoglinTasks.initFightActivity
(Brain<HoglinEntity> p_234388_0_) private static void
ZoglinEntity.initFightActivity
(Brain<ZoglinEntity> p_234330_0_) private static void
HoglinTasks.initIdleActivity
(Brain<HoglinEntity> p_234385_0_) private static void
ZoglinEntity.initIdleActivity
(Brain<ZoglinEntity> p_234329_0_) private static void
HoglinTasks.initRetreatActivity
(Brain<HoglinEntity> p_234391_0_) protected static Brain<?>
HoglinTasks.makeBrain
(Brain<HoglinEntity> p_234376_0_) -
Uses of Brain in net.minecraft.entity.monster.piglin
Modifier and TypeMethodDescriptionPiglinBruteEntity.getBrain()
PiglinEntity.getBrain()
protected static Brain<?>
PiglinBruteBrain.makeBrain
(PiglinBruteEntity p_242354_0_, Brain<PiglinBruteEntity> p_242354_1_) protected Brain<?>
PiglinBruteEntity.makeBrain
(com.mojang.serialization.Dynamic<?> p_213364_1_) protected Brain<?>
PiglinEntity.makeBrain
(com.mojang.serialization.Dynamic<?> p_213364_1_) protected static Brain<?>
PiglinTasks.makeBrain
(PiglinEntity p_234469_0_, Brain<PiglinEntity> p_234469_1_) Modifier and TypeMethodDescriptionprivate static void
PiglinTasks.initAdmireItemActivity
(Brain<PiglinEntity> p_234502_0_) private static void
PiglinTasks.initCelebrateActivity
(Brain<PiglinEntity> p_234495_0_) private static void
PiglinBruteBrain.initCoreActivity
(PiglinBruteEntity p_242359_0_, Brain<PiglinBruteEntity> p_242359_1_) private static void
PiglinTasks.initCoreActivity
(Brain<PiglinEntity> p_234464_0_) private static void
PiglinBruteBrain.initFightActivity
(PiglinBruteEntity p_242364_0_, Brain<PiglinBruteEntity> p_242364_1_) private static void
PiglinTasks.initFightActivity
(PiglinEntity p_234488_0_, Brain<PiglinEntity> p_234488_1_) private static void
PiglinBruteBrain.initIdleActivity
(PiglinBruteEntity p_242362_0_, Brain<PiglinBruteEntity> p_242362_1_) private static void
PiglinTasks.initIdleActivity
(Brain<PiglinEntity> p_234485_0_) private static void
PiglinTasks.initRetreatActivity
(Brain<PiglinEntity> p_234507_0_) private static void
PiglinTasks.initRideHoglinActivity
(Brain<PiglinEntity> p_234511_0_) protected static Brain<?>
PiglinBruteBrain.makeBrain
(PiglinBruteEntity p_242354_0_, Brain<PiglinBruteEntity> p_242354_1_) protected static Brain<?>
PiglinTasks.makeBrain
(PiglinEntity p_234469_0_, Brain<PiglinEntity> p_234469_1_)