Uses of Class
net.minecraft.entity.ai.brain.MemoryModuleType
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
-
Uses of MemoryModuleType in net.minecraft.entity.ai.brain
Modifier and TypeFieldDescriptionstatic final MemoryModuleType<Boolean>
MemoryModuleType.ADMIRING_DISABLED
static final MemoryModuleType<Boolean>
MemoryModuleType.ADMIRING_ITEM
static final MemoryModuleType<UUID>
MemoryModuleType.ANGRY_AT
static final MemoryModuleType<Boolean>
MemoryModuleType.ATE_RECENTLY
static final MemoryModuleType<Boolean>
MemoryModuleType.ATTACK_COOLING_DOWN
static final MemoryModuleType<LivingEntity>
MemoryModuleType.ATTACK_TARGET
static final MemoryModuleType<LivingEntity>
MemoryModuleType.AVOID_TARGET
static final MemoryModuleType<PassiveEntity>
MemoryModuleType.BREED_TARGET
static final MemoryModuleType<Unit>
MemoryModuleType.BREEZE_JUMP_COOLDOWN
static final MemoryModuleType<Unit>
MemoryModuleType.BREEZE_JUMP_INHALING
static final MemoryModuleType<BlockPos>
MemoryModuleType.BREEZE_JUMP_TARGET
static final MemoryModuleType<Unit>
MemoryModuleType.BREEZE_SHOOT
static final MemoryModuleType<Unit>
MemoryModuleType.BREEZE_SHOOT_CHARGING
static final MemoryModuleType<Unit>
MemoryModuleType.BREEZE_SHOOT_COOLDOWN
static final MemoryModuleType<Unit>
MemoryModuleType.BREEZE_SHOOT_RECOVER
static final MemoryModuleType<Long>
MemoryModuleType.CANT_REACH_WALK_TARGET_SINCE
static final MemoryModuleType<BlockPos>
MemoryModuleType.CELEBRATE_LOCATION
static final MemoryModuleType<Boolean>
MemoryModuleType.DANCING
static final MemoryModuleType<Unit>
MemoryModuleType.DIG_COOLDOWN
static final MemoryModuleType<Boolean>
MemoryModuleType.DISABLE_WALK_TO_ADMIRE_ITEM
static final MemoryModuleType<BlockPos>
MemoryModuleType.DISTURBANCE_LOCATION
static final MemoryModuleType<Set<GlobalPos>>
MemoryModuleType.DOORS_TO_CLOSE
static final MemoryModuleType<Void>
MemoryModuleType.DUMMY
static final MemoryModuleType<Integer>
MemoryModuleType.GAZE_COOLDOWN_TICKS
static final MemoryModuleType<Boolean>
MemoryModuleType.GOLEM_DETECTED_RECENTLY
static final MemoryModuleType<Boolean>
MemoryModuleType.HAS_HUNTING_COOLDOWN
static final MemoryModuleType<Long>
MemoryModuleType.HEARD_BELL_TIME
static final MemoryModuleType<GlobalPos>
MemoryModuleType.HIDING_PLACE
static final MemoryModuleType<GlobalPos>
MemoryModuleType.HOME
static final MemoryModuleType<Boolean>
MemoryModuleType.HUNTED_RECENTLY
static final MemoryModuleType<DamageSource>
MemoryModuleType.HURT_BY
static final MemoryModuleType<LivingEntity>
MemoryModuleType.HURT_BY_ENTITY
static final MemoryModuleType<List<GlobalPos>>
MemoryModuleType.INTERACTABLE_DOORS
static final MemoryModuleType<LivingEntity>
MemoryModuleType.INTERACTION_TARGET
static final MemoryModuleType<Unit>
MemoryModuleType.IS_EMERGING
static final MemoryModuleType<Unit>
MemoryModuleType.IS_IN_WATER
static final MemoryModuleType<Boolean>
MemoryModuleType.IS_PANICKING
static final MemoryModuleType<Unit>
MemoryModuleType.IS_PREGNANT
static final MemoryModuleType<Unit>
MemoryModuleType.IS_SNIFFING
static final MemoryModuleType<Boolean>
MemoryModuleType.IS_TEMPTED
static final MemoryModuleType<Integer>
MemoryModuleType.ITEM_PICKUP_COOLDOWN_TICKS
static final MemoryModuleType<GlobalPos>
MemoryModuleType.JOB_SITE
static final MemoryModuleType<Long>
MemoryModuleType.LAST_SLEPT
static final MemoryModuleType<Long>
MemoryModuleType.LAST_WOKEN
static final MemoryModuleType<Long>
MemoryModuleType.LAST_WORKED_AT_POI
static final MemoryModuleType<GlobalPos>
MemoryModuleType.LIKED_NOTEBLOCK
static final MemoryModuleType<Integer>
MemoryModuleType.LIKED_NOTEBLOCK_COOLDOWN_TICKS
static final MemoryModuleType<UUID>
MemoryModuleType.LIKED_PLAYER
static final MemoryModuleType<Integer>
MemoryModuleType.LONG_JUMP_COOLING_DOWN
static final MemoryModuleType<Boolean>
MemoryModuleType.LONG_JUMP_MID_JUMP
static final MemoryModuleType<LookTarget>
MemoryModuleType.LOOK_TARGET
static final MemoryModuleType<GlobalPos>
MemoryModuleType.MEETING_POINT
private final MemoryModuleType<Value>
MemoryQuery.Absent.memory
The field for thememory
record component.private final MemoryModuleType<Value>
MemoryQuery.Optional.memory
The field for thememory
record component.private final MemoryModuleType<Value>
MemoryQuery.Value.memory
The field for thememory
record component.private final MemoryModuleType<Value>
MemoryQueryResult.memory
static final MemoryModuleType<List<LivingEntity>>
MemoryModuleType.MOBS
static final MemoryModuleType<List<AbstractPiglinEntity>>
MemoryModuleType.NEARBY_ADULT_PIGLINS
static final MemoryModuleType<LivingEntity>
MemoryModuleType.NEAREST_ATTACKABLE
static final MemoryModuleType<BlockPos>
MemoryModuleType.NEAREST_BED
static final MemoryModuleType<LivingEntity>
MemoryModuleType.NEAREST_HOSTILE
static final MemoryModuleType<PlayerEntity>
MemoryModuleType.NEAREST_PLAYER_HOLDING_WANTED_ITEM
static final MemoryModuleType<List<PlayerEntity>>
MemoryModuleType.NEAREST_PLAYERS
static final MemoryModuleType<BlockPos>
MemoryModuleType.NEAREST_REPELLENT
static final MemoryModuleType<PlayerEntity>
MemoryModuleType.NEAREST_TARGETABLE_PLAYER_NOT_WEARING_GOLD
static final MemoryModuleType<PassiveEntity>
MemoryModuleType.NEAREST_VISIBLE_ADULT
static final MemoryModuleType<List<HoglinEntity>>
MemoryModuleType.NEAREST_VISIBLE_ADULT_HOGLINS
static final MemoryModuleType<AbstractPiglinEntity>
MemoryModuleType.NEAREST_VISIBLE_ADULT_PIGLIN
static final MemoryModuleType<List<AbstractPiglinEntity>>
MemoryModuleType.NEAREST_VISIBLE_ADULT_PIGLINS
static final MemoryModuleType<HoglinEntity>
MemoryModuleType.NEAREST_VISIBLE_BABY_HOGLIN
static final MemoryModuleType<HoglinEntity>
MemoryModuleType.NEAREST_VISIBLE_HUNTABLE_HOGLIN
static final MemoryModuleType<MobEntity>
MemoryModuleType.NEAREST_VISIBLE_NEMESIS
static final MemoryModuleType<PlayerEntity>
MemoryModuleType.NEAREST_VISIBLE_PLAYER
static final MemoryModuleType<PlayerEntity>
MemoryModuleType.NEAREST_VISIBLE_TARGETABLE_PLAYER
static final MemoryModuleType<ItemEntity>
MemoryModuleType.NEAREST_VISIBLE_WANTED_ITEM
static final MemoryModuleType<LivingEntity>
MemoryModuleType.NEAREST_VISIBLE_ZOMBIFIED
static final MemoryModuleType<Boolean>
MemoryModuleType.PACIFIED
static final MemoryModuleType<Path>
MemoryModuleType.PATH
static final MemoryModuleType<Integer>
MemoryModuleType.PLAY_DEAD_TICKS
static final MemoryModuleType<GlobalPos>
MemoryModuleType.POTENTIAL_JOB_SITE
static final MemoryModuleType<Integer>
MemoryModuleType.RAM_COOLDOWN_TICKS
static final MemoryModuleType<Vec3d>
MemoryModuleType.RAM_TARGET
static final MemoryModuleType<Unit>
MemoryModuleType.RECENT_PROJECTILE
static final MemoryModuleType<Entity>
MemoryModuleType.RIDE_TARGET
static final MemoryModuleType<Unit>
MemoryModuleType.ROAR_SOUND_COOLDOWN
static final MemoryModuleType<Unit>
MemoryModuleType.ROAR_SOUND_DELAY
static final MemoryModuleType<LivingEntity>
MemoryModuleType.ROAR_TARGET
static final MemoryModuleType<List<GlobalPos>>
MemoryModuleType.SECONDARY_JOB_SITE
static final MemoryModuleType<Unit>
MemoryModuleType.SNIFF_COOLDOWN
static final MemoryModuleType<Boolean>
MemoryModuleType.SNIFFER_DIGGING
static final MemoryModuleType<List<GlobalPos>>
MemoryModuleType.SNIFFER_EXPLORED_POSITIONS
static final MemoryModuleType<Boolean>
MemoryModuleType.SNIFFER_HAPPY
static final MemoryModuleType<BlockPos>
MemoryModuleType.SNIFFER_SNIFFING_TARGET
static final MemoryModuleType<Unit>
MemoryModuleType.SONIC_BOOM_COOLDOWN
static final MemoryModuleType<Unit>
MemoryModuleType.SONIC_BOOM_SOUND_COOLDOWN
static final MemoryModuleType<Unit>
MemoryModuleType.SONIC_BOOM_SOUND_DELAY
static final MemoryModuleType<Integer>
MemoryModuleType.TEMPTATION_COOLDOWN_TICKS
static final MemoryModuleType<PlayerEntity>
MemoryModuleType.TEMPTING_PLAYER
static final MemoryModuleType<Integer>
MemoryModuleType.TIME_TRYING_TO_REACH_ADMIRE_ITEM
static final MemoryModuleType<Unit>
MemoryModuleType.TOUCH_COOLDOWN
private final MemoryModuleType<U>
Brain.MemoryEntry.type
static final MemoryModuleType<Boolean>
MemoryModuleType.UNIVERSAL_ANGER
static final MemoryModuleType<List<UUID>>
MemoryModuleType.UNREACHABLE_TONGUE_TARGETS
static final MemoryModuleType<Unit>
MemoryModuleType.VIBRATION_COOLDOWN
static final MemoryModuleType<Integer>
MemoryModuleType.VISIBLE_ADULT_HOGLIN_COUNT
static final MemoryModuleType<Integer>
MemoryModuleType.VISIBLE_ADULT_PIGLIN_COUNT
static final MemoryModuleType<LivingTargetCache>
MemoryModuleType.VISIBLE_MOBS
static final MemoryModuleType<List<LivingEntity>>
MemoryModuleType.VISIBLE_VILLAGER_BABIES
static final MemoryModuleType<WalkTarget>
MemoryModuleType.WALK_TARGET
Modifier and TypeFieldDescriptionprivate final Map<Activity,
Set<MemoryModuleType<?>>> The map from activities to the memories to forget after the activity is completed.private final Map<MemoryModuleType<?>,
Optional<? extends Memory<?>>> Brain.memories
private final Collection<? extends MemoryModuleType<?>>
Brain.Profile.memoryModules
private final Map<Activity,
Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>>> Brain.requiredActivityMemories
Modifier and TypeMethodDescriptionMemoryQuery.Absent.memory()
MemoryQuery.memory()
MemoryQuery.Optional.memory()
MemoryQuery.Value.memory()
private static <U> MemoryModuleType<U>
private static <U> MemoryModuleType<U>
Modifier and TypeMethodDescriptionMap<MemoryModuleType<?>,
Optional<? extends Memory<?>>> Brain.getMemories()
Deprecated.Modifier and TypeMethodDescription<U> void
Brain.forget
(MemoryModuleType<U> type) <U> long
Brain.getMemoryExpiry
(MemoryModuleType<U> type) Brain.getOptionalMemory
(MemoryModuleType<U> type) <U> Optional<U>
Brain.getOptionalRegisteredMemory
(MemoryModuleType<U> type) boolean
Brain.hasMemoryModule
(MemoryModuleType<?> type) <U> boolean
Brain.hasMemoryModuleWithValue
(MemoryModuleType<U> type, U value) boolean
Brain.isMemoryInState
(MemoryModuleType<?> type, MemoryModuleState state) (package private) static <U> Brain.MemoryEntry<U>
Brain.MemoryEntry.of
(MemoryModuleType<U> type, Optional<? extends Memory<?>> data) <U> void
Brain.remember
(MemoryModuleType<U> type, Optional<? extends U> value) <U> void
Brain.remember
(MemoryModuleType<U> type, U value) <U> void
Brain.remember
(MemoryModuleType<U> type, U value, long expiry) (package private) <U> void
Brain.setMemory
(MemoryModuleType<U> type, Optional<? extends Memory<?>> memory) void
Brain.setTaskList
(Activity activity, int begin, ImmutableList<? extends Task<? super E>> tasks, MemoryModuleType<?> memoryType) 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) static <E extends LivingEntity>
Brain.Profile<E>Brain.createProfile
(Collection<? extends MemoryModuleType<?>> memoryModules, Collection<? extends SensorType<? extends Sensor<? super E>>> sensors) void
Brain.setTaskList
(Activity activity, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> indexedTasks, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> requiredMemories) void
Brain.setTaskList
(Activity activity, ImmutableList<? extends com.mojang.datafixers.util.Pair<Integer, ? extends Task<? super E>>> indexedTasks, Set<com.mojang.datafixers.util.Pair<MemoryModuleType<?>, MemoryModuleState>> requiredMemories, Set<MemoryModuleType<?>> forgettingMemories) ModifierConstructorDescriptionAbsent
(MemoryModuleType<Value> memoryModuleType) (package private)
MemoryEntry
(MemoryModuleType<U> type, Optional<? extends Memory<U>> data) MemoryQueryResult
(Brain<?> brain, MemoryModuleType<Value> memory, com.mojang.datafixers.kinds.App<F, Value> value) Optional
(MemoryModuleType<Value> memoryModuleType) Value
(MemoryModuleType<Value> memoryModuleType) 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) (package private)
Profile
(Collection<? extends MemoryModuleType<?>> memoryModules, Collection<? extends SensorType<? extends Sensor<? super E>>> sensors) -
Uses of MemoryModuleType in net.minecraft.entity.ai.brain.sensor
Modifier and TypeMethodDescriptionprotected MemoryModuleType<LivingEntity>
AxolotlAttackablesSensor.getOutputMemoryModule()
protected MemoryModuleType<LivingEntity>
FrogAttackablesSensor.getOutputMemoryModule()
protected abstract MemoryModuleType<LivingEntity>
NearestVisibleLivingEntitySensor.getOutputMemoryModule()
protected MemoryModuleType<LivingEntity>
VillagerHostilesSensor.getOutputMemoryModule()
Modifier and TypeMethodDescriptionSet<MemoryModuleType<?>>
BreezeAttackablesSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
DummySensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
GolemLastSeenSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
HoglinSpecificSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
HurtBySensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
IsInWaterSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
NearestBedSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
NearestItemsSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
NearestLivingEntitiesSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
NearestPlayersSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
NearestVisibleAdultSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
NearestVisibleLivingEntitySensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
PiglinBruteSpecificSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
PiglinSpecificSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
SecondaryPointsOfInterestSensor.getOutputMemoryModules()
abstract Set<MemoryModuleType<?>>
Sensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
TemptationsSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
VillagerBabiesSensor.getOutputMemoryModules()
Set<MemoryModuleType<?>>
WardenAttackablesSensor.getOutputMemoryModules()
-
Uses of MemoryModuleType in net.minecraft.entity.ai.brain.task
Modifier and TypeFieldDescriptionprivate final MemoryModuleType<Integer>
TemptationCooldownTask.moduleType
Modifier and TypeFieldDescriptionprivate final Set<MemoryModuleType<?>>
CompositeTask.memoriesToForgetWhenStopped
private final Map<MemoryModuleType<?>,
MemoryModuleState> CompositeTask.requiredMemoryState
protected final Map<MemoryModuleType<?>,
MemoryModuleState> MultiTickTask.requiredMemoryStates
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 <E extends LivingEntity,
T extends LivingEntity>
Task<E>FindEntityTask.create
(EntityType<? extends T> type, int maxDistance, Predicate<E> entityPredicate, Predicate<T> targetPredicate, MemoryModuleType<T> targetModule, float speed, int completionRange) static <T extends LivingEntity>
Task<LivingEntity>FindEntityTask.create
(EntityType<? extends T> type, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange) static Task<PathAwareEntity>
FindPointOfInterestTask.create
(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) static Task<PathAwareEntity>
FindPointOfInterestTask.create
(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, MemoryModuleType<GlobalPos> potentialPoiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus) static Task<LivingEntity>
ForgetCompletedPointOfInterestTask.create
(Predicate<RegistryEntry<PointOfInterestType>> poiTypePredicate, MemoryModuleType<GlobalPos> poiPosModule) static <E extends LivingEntity>
Task<E>ForgetTask.create
(Predicate<E> condition, MemoryModuleType<?> memory) static SingleTickTask<PathAwareEntity>
GoToIfNearbyTask.create
(MemoryModuleType<GlobalPos> posModule, float walkSpeed, int maxDistance) static Task<PathAwareEntity>
GoToNearbyPositionTask.create
(MemoryModuleType<GlobalPos> posModule, float walkSpeed, int completionRange, int maxDistance) private static <T> SingleTickTask<PathAwareEntity>
GoToRememberedPositionTask.create
(MemoryModuleType<T> posSource, float speed, int range, boolean requiresWalkTarget, Function<T, Vec3d> posGetter) static Task<VillagerEntity>
GoToSecondaryPositionTask.create
(MemoryModuleType<List<GlobalPos>> secondaryPositions, float speed, int completionRange, int primaryPositionActivationDistance, MemoryModuleType<GlobalPos> primaryPosition) static <E extends LivingEntity,
T>
Task<E>MemoryTransferTask.create
(Predicate<E> runPredicate, MemoryModuleType<? extends T> sourceType, MemoryModuleType<T> targetType, UniformIntProvider expiry) static Task<LivingEntity>
PacifyTask.create
(MemoryModuleType<?> requiredMemory, int duration) static SingleTickTask<VillagerEntity>
VillagerWalkTowardsTask.create
(MemoryModuleType<GlobalPos> destination, float speed, int completionRange, int maxDistance, int maxRunTime) static <E extends MobEntity>
SingleTickTask<E>WalkTowardsPosTask.create
(MemoryModuleType<BlockPos> posModule, int completionRange, float speed) static SingleTickTask<PathAwareEntity>
GoToRememberedPositionTask.createEntityBased
(MemoryModuleType<? extends Entity> entityModule, float speed, int range, boolean requiresWalkTarget) static Task<PathAwareEntity>
GoToRememberedPositionTask.createPosBased
(MemoryModuleType<BlockPos> posModule, float speed, int range, boolean requiresWalkTarget) static Optional<LivingEntity>
LookTargetUtil.getEntity
(LivingEntity entity, MemoryModuleType<UUID> uuidMemoryModule) <Value> TaskTriggerer<E,
MemoryQueryResult<com.mojang.datafixers.kinds.Const.Mu<com.mojang.datafixers.util.Unit>, Value>> TaskTriggerer.TaskContext.queryMemoryAbsent
(MemoryModuleType<Value> type) <Value> TaskTriggerer<E,
MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Value>> TaskTriggerer.TaskContext.queryMemoryOptional
(MemoryModuleType<Value> type) <Value> TaskTriggerer<E,
MemoryQueryResult<com.mojang.datafixers.kinds.IdF.Mu, Value>> TaskTriggerer.TaskContext.queryMemoryValue
(MemoryModuleType<Value> type) ModifierConstructorDescriptionCompositeTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, Set<MemoryModuleType<?>> memoriesToForgetWhenStopped, CompositeTask.Order order, CompositeTask.RunMode runMode, List<com.mojang.datafixers.util.Pair<? extends Task<? super E>, Integer>> tasks) CompositeTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, Set<MemoryModuleType<?>> memoriesToForgetWhenStopped, CompositeTask.Order order, CompositeTask.RunMode runMode, List<com.mojang.datafixers.util.Pair<? extends Task<? super E>, Integer>> tasks) MultiTickTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState) MultiTickTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, int runTime) MultiTickTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, int minRunTime, int maxRunTime) RandomTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, List<com.mojang.datafixers.util.Pair<? extends Task<? super E>, Integer>> tasks) -
Uses of MemoryModuleType in net.minecraft.entity.mob
Modifier and TypeFieldDescriptionprotected static final ImmutableList<? extends MemoryModuleType<?>>
HoglinEntity.MEMORY_MODULE_TYPES
protected static final ImmutableList<MemoryModuleType<?>>
PiglinBruteEntity.MEMORY_MODULE_TYPES
protected static final ImmutableList<MemoryModuleType<?>>
PiglinEntity.MEMORY_MODULE_TYPES
(package private) static final List<MemoryModuleType<?>>
BreezeBrain.MEMORY_MODULES
private static final List<MemoryModuleType<?>>
WardenBrain.MEMORY_MODULES
protected static final ImmutableList<? extends MemoryModuleType<?>>
ZoglinEntity.USED_MEMORY_MODULES
Modifier and TypeMethodDescriptionprivate static Optional<? extends LivingEntity>
PiglinBruteBrain.getTargetIfInRange
(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> targetMemoryModule) -
Uses of MemoryModuleType in net.minecraft.entity.passive
Modifier and TypeFieldDescriptionprotected static final ImmutableList<MemoryModuleType<?>>
AllayEntity.MEMORY_MODULES
protected static final ImmutableList<? extends MemoryModuleType<?>>
AxolotlEntity.MEMORY_MODULES
private static final ImmutableList<MemoryModuleType<?>>
CamelBrain.MEMORY_MODULES
protected static final ImmutableList<MemoryModuleType<?>>
FrogEntity.MEMORY_MODULES
protected static final ImmutableList<MemoryModuleType<?>>
GoatEntity.MEMORY_MODULES
(package private) static final List<MemoryModuleType<?>>
SnifferBrain.MEMORY_MODULES
protected static final ImmutableList<MemoryModuleType<?>>
TadpoleEntity.MEMORY_MODULES
private static final ImmutableList<MemoryModuleType<?>>
VillagerEntity.MEMORY_MODULES
static final Map<MemoryModuleType<GlobalPos>,
BiPredicate<VillagerEntity, RegistryEntry<PointOfInterestType>>> VillagerEntity.POINTS_OF_INTEREST
Modifier and TypeMethodDescriptionvoid
VillagerEntity.releaseTicketFor
(MemoryModuleType<GlobalPos> pos) -
Uses of MemoryModuleType in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<MemoryModuleType<?>>
Registries.MEMORY_MODULE_TYPE
static final RegistryKey<Registry<MemoryModuleType<?>>>
RegistryKeys.MEMORY_MODULE_TYPE