Package net.minecraft.entity.ai.brain
package net.minecraft.entity.ai.brain
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
Compared to the goal system, the brain system's main advantage is that it allows sharing of certain expensive calculation results in the form of memory by the individual tasks.
-
ClassDescriptionBrain<E extends LivingEntity>A brain is associated with each living entity.Brain.Profile<E extends LivingEntity>A simple profile of a brain.Memory<T>A memory module type represents a type of data stored in a brain.