Uses of Class
net.minecraft.entity.ai.brain.Brain
-
Packages that use Brain Package Description net.minecraft.entity net.minecraft.entity.ai.brain net.minecraft.entity.merchant.villager net.minecraft.entity.monster net.minecraft.entity.monster.piglin -
-
Uses of Brain in net.minecraft.entity
Fields in net.minecraft.entity declared as Brain Modifier and Type Field Description protected Brain<?>
LivingEntity. brain
Methods in net.minecraft.entity that return Brain Modifier and Type Method Description Brain<?>
LivingEntity. getBrain()
protected Brain<?>
LivingEntity. makeBrain(com.mojang.serialization.Dynamic<?> p_213364_1_)
-
Uses of Brain in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type Brain Modifier and Type Field Description private com.mojang.serialization.Codec<Brain<E>>
Brain.BrainCodec. codec
private java.util.function.Supplier<com.mojang.serialization.Codec<Brain<E>>>
Brain. codec
Methods in net.minecraft.entity.ai.brain that return Brain Modifier and Type Method Description Brain<E>
Brain. copyWithoutBehaviors()
Brain<E>
Brain.BrainCodec. makeBrain(com.mojang.serialization.Dynamic<?> p_233748_1_)
Methods in net.minecraft.entity.ai.brain that return types with arguments of type Brain Modifier and Type Method Description static <E extends LivingEntity>
com.mojang.serialization.Codec<Brain<E>>Brain. codec(java.util.Collection<? extends MemoryModuleType<?>> p_233710_0_, java.util.Collection<? extends SensorType<? extends Sensor<? super E>>> p_233710_1_)
Methods in net.minecraft.entity.ai.brain with parameters of type Brain Modifier and Type Method Description static 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_, java.util.function.Predicate<LivingEntity> p_233870_2_)
static boolean
BrainUtil. targetIsValid(Brain<?> p_220623_0_, MemoryModuleType<? extends LivingEntity> p_220623_1_, EntityType<?> p_220623_2_)
Constructor parameters in net.minecraft.entity.ai.brain with type arguments of type Brain Constructor Description Brain(java.util.Collection<? extends MemoryModuleType<?>> p_i231494_1_, java.util.Collection<? extends SensorType<? extends Sensor<? super E>>> p_i231494_2_, com.google.common.collect.ImmutableList<Brain.MemoryCodec<?>> p_i231494_3_, java.util.function.Supplier<com.mojang.serialization.Codec<Brain<E>>> p_i231494_4_)
-
Uses of Brain in net.minecraft.entity.merchant.villager
Methods in net.minecraft.entity.merchant.villager that return Brain Modifier and Type Method Description Brain<VillagerEntity>
VillagerEntity. getBrain()
protected Brain<?>
VillagerEntity. makeBrain(com.mojang.serialization.Dynamic<?> p_213364_1_)
Methods in net.minecraft.entity.merchant.villager with parameters of type Brain Modifier and Type Method Description private void
VillagerEntity. registerBrainGoals(Brain<VillagerEntity> p_213744_1_)
-
Uses of Brain in net.minecraft.entity.monster
Methods in net.minecraft.entity.monster that return Brain Modifier and Type Method Description Brain<HoglinEntity>
HoglinEntity. getBrain()
Brain<ZoglinEntity>
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_)
Methods in net.minecraft.entity.monster with parameters of type Brain Modifier and Type Method Description private 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
Methods in net.minecraft.entity.monster.piglin that return Brain Modifier and Type Method Description Brain<PiglinBruteEntity>
PiglinBruteEntity. getBrain()
Brain<PiglinEntity>
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_)
Methods in net.minecraft.entity.monster.piglin with parameters of type Brain Modifier and Type Method Description private 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_)
-