Uses of Class
net.minecraft.entity.ai.brain.Brain
Package
Description
-
Uses of Brain in net.minecraft.entity
Modifier and TypeMethodDescriptionprotected Brain<?>
LivingEntity.deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) Brain<?>
LivingEntity.getBrain()
-
Uses of Brain in net.minecraft.entity.ai.brain
Modifier and TypeMethodDescriptionBrain.copy()
Brain.Profile.deserialize
(com.mojang.serialization.Dynamic<?> data) Modifier and TypeMethodDescriptionstatic <E extends LivingEntity>
com.mojang.serialization.Codec<Brain<E>>Brain.createBrainCodec
(Collection<? extends MemoryModuleType<?>> memoryModules, Collection<? extends SensorType<? extends Sensor<? super E>>> sensors) ModifierConstructorDescriptionBrain
(Collection<? extends MemoryModuleType<?>> memories, Collection<? extends SensorType<? extends Sensor<? super E>>> sensors, ImmutableList<Brain.MemoryEntry<?>> memoryEntries, Supplier<com.mojang.serialization.Codec<Brain<E>>> codecSupplier) -
Uses of Brain in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionprivate static boolean
LookTargetUtil.canSee
(Brain<?> brain, MemoryModuleType<? extends LivingEntity> memoryType, Predicate<LivingEntity> filter) static boolean
LookTargetUtil.canSee
(Brain<?> brain, MemoryModuleType<? extends LivingEntity> memoryModuleType, EntityType<?> entityType) static boolean
LookTargetUtil.canSee
(Brain<?> brain, LivingEntity target) -
Uses of Brain in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionprotected static Brain<?>
HoglinBrain.create
(Brain<HoglinEntity> brain) protected static Brain<?>
PiglinBrain.create
(PiglinEntity piglin, Brain<PiglinEntity> brain) protected static Brain<?>
PiglinBruteBrain.create
(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) protected Brain<?>
HoglinEntity.deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) protected Brain<?>
PiglinBruteEntity.deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) protected Brain<?>
PiglinEntity.deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) protected Brain<?>
ZoglinEntity.deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) HoglinEntity.getBrain()
PiglinBruteEntity.getBrain()
PiglinEntity.getBrain()
ZoglinEntity.getBrain()
Modifier and TypeMethodDescriptionprivate static void
PiglinBrain.addAdmireItemActivities
(Brain<PiglinEntity> brain) private static void
PiglinBrain.addAvoidActivities
(Brain<PiglinEntity> brain) private static void
HoglinBrain.addAvoidTasks
(Brain<HoglinEntity> brain) private static void
PiglinBrain.addCelebrateActivities
(Brain<PiglinEntity> brain) private static void
PiglinBrain.addCoreActivities
(Brain<PiglinEntity> piglin) private static void
PiglinBruteBrain.addCoreActivities
(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) private static void
HoglinBrain.addCoreTasks
(Brain<HoglinEntity> brain) private static void
ZoglinEntity.addCoreTasks
(Brain<ZoglinEntity> brain) private static void
PiglinBrain.addFightActivities
(PiglinEntity piglin, Brain<PiglinEntity> brain) private static void
PiglinBruteBrain.addFightActivities
(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) private static void
HoglinBrain.addFightTasks
(Brain<HoglinEntity> brain) private static void
ZoglinEntity.addFightTasks
(Brain<ZoglinEntity> brain) private static void
PiglinBrain.addIdleActivities
(Brain<PiglinEntity> piglin) private static void
PiglinBruteBrain.addIdleActivities
(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) private static void
HoglinBrain.addIdleTasks
(Brain<HoglinEntity> brain) private static void
ZoglinEntity.addIdleTasks
(Brain<ZoglinEntity> brain) private static void
PiglinBrain.addRideActivities
(Brain<PiglinEntity> brain) protected static Brain<?>
HoglinBrain.create
(Brain<HoglinEntity> brain) protected static Brain<?>
PiglinBrain.create
(PiglinEntity piglin, Brain<PiglinEntity> brain) protected static Brain<?>
PiglinBruteBrain.create
(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain) -
Uses of Brain in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionprotected static Brain<?>
AxolotlBrain.create
(Brain<AxolotlEntity> brain) protected static Brain<?>
GoatBrain.create
(Brain<GoatEntity> brain) protected Brain<?>
AxolotlEntity.deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) protected Brain<?>
GoatEntity.deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) protected Brain<?>
VillagerEntity.deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) AxolotlEntity.getBrain()
GoatEntity.getBrain()
VillagerEntity.getBrain()
Modifier and TypeMethodDescriptionprivate static void
AxolotlBrain.addCoreActivities
(Brain<AxolotlEntity> brain) private static void
GoatBrain.addCoreActivities
(Brain<GoatEntity> brain) private static void
AxolotlBrain.addFightActivities
(Brain<AxolotlEntity> brain) private static void
AxolotlBrain.addIdleActivities
(Brain<AxolotlEntity> brain) private static void
GoatBrain.addIdleActivities
(Brain<GoatEntity> brain) private static void
GoatBrain.addLongJumpActivities
(Brain<GoatEntity> brain) private static void
AxolotlBrain.addPlayDeadActivities
(Brain<AxolotlEntity> brain) private static void
GoatBrain.addRamActivities
(Brain<GoatEntity> brain) protected static Brain<?>
AxolotlBrain.create
(Brain<AxolotlEntity> brain) protected static Brain<?>
GoatBrain.create
(Brain<GoatEntity> brain) private void
VillagerEntity.initBrain
(Brain<VillagerEntity> brain)