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
InteractWithDoor.isMobComingThroughDoor
(Brain<?> p_259548_, BlockPos p_259146_) 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.ai.behavior.declarative
Modifier and TypeMethodDescriptionMemoryAccessor<com.mojang.datafixers.kinds.Const.Mu<com.mojang.datafixers.util.Unit>,
Value> MemoryCondition.Absent.createAccessor
(Brain<?> p_259727_, Optional<Value> p_260359_) MemoryCondition.createAccessor
(Brain<?> p_259936_, Optional<Value> p_259724_) MemoryAccessor<com.mojang.datafixers.kinds.IdF.Mu,
Value> MemoryCondition.Present.createAccessor
(Brain<?> p_259253_, Optional<Value> p_260268_) MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu,
Value> MemoryCondition.Registered.createAccessor
(Brain<?> p_260149_, Optional<Value> p_259303_) ModifierConstructorDescriptionMemoryAccessor
(Brain<?> p_259443_, MemoryModuleType<Value> p_259809_, com.mojang.datafixers.kinds.App<F, Value> p_259295_) -
Uses of Brain in net.minecraft.world.entity.animal.allay
Modifier and TypeMethodDescriptionAllay.getBrain()
protected Brain<?>
Allay.makeBrain
(com.mojang.serialization.Dynamic<?> p_218344_) protected static Brain<?>
Modifier and TypeMethodDescriptionprivate static void
AllayAi.initCoreActivity
(Brain<Allay> p_218426_) private static void
AllayAi.initIdleActivity
(Brain<Allay> p_218432_) protected static Brain<?>
private static boolean
AllayAi.shouldDepositItemsAtLikedNoteblock
(LivingEntity p_218413_, Brain<?> p_218414_, GlobalPos p_218415_) -
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.camel
Modifier and TypeMethodDescriptionprotected Brain<?>
Camel.makeBrain
(com.mojang.serialization.Dynamic<?> p_251586_) protected static Brain<?>
Modifier and TypeMethodDescriptionprivate static void
CamelAi.initCoreActivity
(Brain<Camel> p_249998_) private static void
CamelAi.initIdleActivity
(Brain<Camel> p_252342_) protected static Brain<?>
-
Uses of Brain in net.minecraft.world.entity.animal.frog
Modifier and TypeMethodDescriptionFrog.getBrain()
Tadpole.getBrain()
protected Brain<?>
Frog.makeBrain
(com.mojang.serialization.Dynamic<?> p_218494_) protected static Brain<?>
protected Brain<?>
Tadpole.makeBrain
(com.mojang.serialization.Dynamic<?> p_218696_) protected static Brain<?>
Modifier and TypeMethodDescriptionprivate static void
FrogAi.initCoreActivity
(Brain<Frog> p_218587_) private static void
TadpoleAi.initCoreActivity
(Brain<Tadpole> p_218746_) private static void
FrogAi.initIdleActivity
(Brain<Frog> p_218591_) private static void
TadpoleAi.initIdleActivity
(Brain<Tadpole> p_218748_) private static void
FrogAi.initJumpActivity
(Brain<Frog> p_218603_) private static void
FrogAi.initLaySpawnActivity
(Brain<Frog> p_218599_) private static void
FrogAi.initSwimActivity
(Brain<Frog> p_218595_) private static void
FrogAi.initTongueActivity
(Brain<Frog> p_218607_) protected static Brain<?>
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.animal.sniffer
Modifier and TypeMethodDescriptionSniffer.getBrain()
protected Brain<?>
Sniffer.makeBrain
(com.mojang.serialization.Dynamic<?> p_273174_) protected static Brain<?>
Modifier and TypeMethodDescriptionprivate static void
SnifferAi.initCoreActivity
(Brain<Sniffer> p_273185_) private static void
SnifferAi.initDigActivity
(Brain<Sniffer> p_273677_) private static void
SnifferAi.initIdleActivity
(Brain<Sniffer> p_273750_) private static void
SnifferAi.initSniffingActivity
(Brain<Sniffer> p_273183_) 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.monster.warden
Modifier and TypeMethodDescriptionWarden.getBrain()
protected Brain<?>
Warden.makeBrain
(com.mojang.serialization.Dynamic<?> p_219406_) protected static Brain<?>
Modifier and TypeMethodDescriptionprivate static void
WardenAi.initCoreActivity
(Brain<Warden> p_219511_) private static void
WardenAi.initDiggingActivity
(Brain<Warden> p_219532_) private static void
WardenAi.initEmergeActivity
(Brain<Warden> p_219527_) private static void
WardenAi.initFightActivity
(Warden p_219518_, Brain<Warden> p_219519_) private static void
WardenAi.initIdleActivity
(Brain<Warden> p_219537_) private static void
WardenAi.initInvestigateActivity
(Brain<Warden> p_219542_) private static void
WardenAi.initRoarActivity
(Brain<Warden> p_219546_) private static void
WardenAi.initSniffingActivity
(Brain<Warden> p_219544_) -
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_)