Uses of Class
net.minecraft.entity.ai.brain.MemoryModuleType
Packages that use 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
Fields in net.minecraft.entity.ai.brain declared as MemoryModuleTypeModifier 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<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<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
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<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
Fields in net.minecraft.entity.ai.brain with type parameters of type MemoryModuleTypeModifier 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
Methods in net.minecraft.entity.ai.brain that return MemoryModuleTypeModifier and TypeMethodDescriptionprivate static <U> MemoryModuleType<U>
private static <U> MemoryModuleType<U>
Methods in net.minecraft.entity.ai.brain that return types with arguments of type MemoryModuleTypeModifier and TypeMethodDescriptionMap<MemoryModuleType<?>,
Optional<? extends Memory<?>>> Brain.getMemories()
Deprecated.Methods in net.minecraft.entity.ai.brain with parameters of type MemoryModuleTypeModifier and TypeMethodDescription<U> void
Brain.forget
(MemoryModuleType<U> type) <U> long
Brain.getMemory
(MemoryModuleType<U> type) <U> Optional<U>
Brain.getOptionalMemory
(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 startTime) (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) Method parameters in net.minecraft.entity.ai.brain with type arguments of type MemoryModuleTypeModifier 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) Constructors in net.minecraft.entity.ai.brain with parameters of type MemoryModuleTypeModifierConstructorDescription(package private)
MemoryEntry
(MemoryModuleType<U> type, Optional<? extends Memory<U>> data) Constructor parameters in net.minecraft.entity.ai.brain with type arguments of type MemoryModuleTypeModifierConstructorDescriptionBrain
(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
Methods in net.minecraft.entity.ai.brain.sensor that return MemoryModuleTypeModifier and TypeMethodDescriptionprotected MemoryModuleType<LivingEntity>
AxolotlAttackablesSensor.getOutputMemoryModule()
protected MemoryModuleType<LivingEntity>
FrogAttackablesSensor.getOutputMemoryModule()
protected abstract MemoryModuleType<LivingEntity>
NearestVisibleLivingEntitySensor.getOutputMemoryModule()
protected MemoryModuleType<LivingEntity>
VillagerHostilesSensor.getOutputMemoryModule()
Methods in net.minecraft.entity.ai.brain.sensor that return types with arguments of type MemoryModuleTypeModifier and TypeMethodDescriptionSet<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
Fields in net.minecraft.entity.ai.brain.task declared as MemoryModuleTypeModifier and TypeFieldDescriptionprivate final MemoryModuleType<GlobalPos>
VillagerWalkTowardsTask.destination
private final MemoryModuleType<T>
GoToRememberedPositionTask.entityMemory
private final MemoryModuleType<?>
ForgetTask.memory
private final MemoryModuleType<GlobalPos>
ForgetCompletedPointOfInterestTask.memoryModule
private final MemoryModuleType<BlockPos>
GoToCelebrateTask.memoryModuleType
private final MemoryModuleType<GlobalPos>
GoToNearbyPositionTask.memoryModuleType
private final MemoryModuleType<Integer>
TemptationCooldownTask.moduleType
private final MemoryModuleType<GlobalPos>
GoToSecondaryPositionTask.primaryPosition
private final MemoryModuleType<List<GlobalPos>>
GoToSecondaryPositionTask.secondaryPositions
private final MemoryModuleType<? extends T>
MemoryTransferTask.sourceType
private final MemoryModuleType<GlobalPos>
GoToIfNearbyTask.target
private final MemoryModuleType<GlobalPos>
FindPointOfInterestTask.targetMemoryModuleType
private final MemoryModuleType<T>
FindEntityTask.targetModule
private final MemoryModuleType<T>
MemoryTransferTask.targetType
private final MemoryModuleType<?>
LayFrogSpawnTask.triggerMemory
Fields in net.minecraft.entity.ai.brain.task with type parameters of type MemoryModuleTypeModifier and TypeFieldDescriptionprivate final Set<MemoryModuleType<?>>
CompositeTask.memoriesToForgetWhenStopped
protected final Map<MemoryModuleType<?>,
MemoryModuleState> Task.requiredMemoryStates
Methods in net.minecraft.entity.ai.brain.task that return types with arguments of type MemoryModuleTypeModifier and TypeMethodDescriptionprivate static ImmutableMap<MemoryModuleType<?>,
MemoryModuleState> FindPointOfInterestTask.create
(MemoryModuleType<GlobalPos> firstModule, MemoryModuleType<GlobalPos> secondModule) private static Map<MemoryModuleType<?>,
MemoryModuleState> ConditionalTask.merge
(Map<MemoryModuleType<?>, MemoryModuleState> first, Map<MemoryModuleType<?>, MemoryModuleState> second) Methods in net.minecraft.entity.ai.brain.task with parameters of type MemoryModuleTypeModifier 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 <T extends LivingEntity>
FindEntityTask<LivingEntity,T> FindEntityTask.create
(EntityType<? extends T> entityType, int maxDistance, Predicate<T> condition, MemoryModuleType<T> moduleType, float speed, int completionRange) static <T extends LivingEntity>
FindEntityTask<LivingEntity,T> FindEntityTask.create
(EntityType<? extends T> entityType, int maxDistance, MemoryModuleType<T> targetModule, float speed, int completionRange) private static ImmutableMap<MemoryModuleType<?>,
MemoryModuleState> FindPointOfInterestTask.create
(MemoryModuleType<GlobalPos> firstModule, MemoryModuleType<GlobalPos> secondModule) static Optional<LivingEntity>
LookTargetUtil.getEntity
(LivingEntity entity, MemoryModuleType<UUID> uuidMemoryModule) static GoToRememberedPositionTask<BlockPos>
GoToRememberedPositionTask.toBlock
(MemoryModuleType<BlockPos> memoryType, float speed, int range, boolean requiresWalkTarget) static GoToRememberedPositionTask<? extends Entity>
GoToRememberedPositionTask.toEntity
(MemoryModuleType<? extends Entity> memoryType, float speed, int range, boolean requiresWalkTarget) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type MemoryModuleTypeModifier and TypeMethodDescriptionprivate static Map<MemoryModuleType<?>,
MemoryModuleState> ConditionalTask.merge
(Map<MemoryModuleType<?>, MemoryModuleState> first, Map<MemoryModuleType<?>, MemoryModuleState> second) Constructors in net.minecraft.entity.ai.brain.task with parameters of type MemoryModuleTypeModifierConstructorDescriptionFindEntityTask
(EntityType<? extends T> entityType, int maxDistance, Predicate<E> shouldRunPredicate, Predicate<T> predicate, MemoryModuleType<T> targetModule, float speed, int completionRange) FindPointOfInterestTask
(Predicate<RegistryEntry<PointOfInterestType>> poiTypePredicate, MemoryModuleType<GlobalPos> moduleType, boolean onlyRunIfChild, Optional<Byte> entityStatus) FindPointOfInterestTask
(Predicate<RegistryEntry<PointOfInterestType>> poiTypePredicate, MemoryModuleType<GlobalPos> moduleType, MemoryModuleType<GlobalPos> targetMemoryModuleType, boolean onlyRunIfChild, Optional<Byte> entityStatus) ForgetCompletedPointOfInterestTask
(Predicate<RegistryEntry<PointOfInterestType>> poiTypePredicate, MemoryModuleType<GlobalPos> memoryModule) ForgetTask
(Predicate<E> condition, MemoryModuleType<?> memory) GoToCelebrateTask
(MemoryModuleType<BlockPos> memoryModuleType, int completionRange, float speed) GoToIfNearbyTask
(MemoryModuleType<GlobalPos> target, float walkSpeed, int maxDistance) GoToNearbyPositionTask
(MemoryModuleType<GlobalPos> memoryModuleType, float walkSpeed, int completionRange, int maxDistance) GoToRememberedPositionTask
(MemoryModuleType<T> memoryType, float speed, int range, boolean requiresWalkTarget, Function<T, Vec3d> posRetriever) GoToSecondaryPositionTask
(MemoryModuleType<List<GlobalPos>> secondaryPositions, float speed, int completionRange, int primaryPositionActivationDistance, MemoryModuleType<GlobalPos> primaryPosition) LayFrogSpawnTask
(Block frogSpawn, MemoryModuleType<?> triggerMemory) MemoryTransferTask
(Predicate<E> runPredicate, MemoryModuleType<? extends T> sourceType, MemoryModuleType<T> targetType, UniformIntProvider duration) PacifyTask
(MemoryModuleType<?> requiredMemoryModuleType, int duration) TemptationCooldownTask
(MemoryModuleType<Integer> moduleType) VillagerWalkTowardsTask
(MemoryModuleType<GlobalPos> destination, float speed, int completionRange, int maxRange, int maxRunTime) Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type MemoryModuleTypeModifierConstructorDescriptionCompositeTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, Set<MemoryModuleType<?>> memoriesToForgetWhenStopped, CompositeTask.Order order, CompositeTask.RunMode runMode, List<com.mojang.datafixers.util.Pair<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<Task<? super E>, Integer>> tasks) ConditionalTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryStates, Predicate<E> condition, Task<? super E> delegate, boolean allowsContinuation) ConditionalTask
(Map<MemoryModuleType<?>, MemoryModuleState> memory, Task<? super E> delegate) RandomTask
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, List<com.mojang.datafixers.util.Pair<Task<? super E>, Integer>> tasks) Task
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState) Task
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, int runTime) Task
(Map<MemoryModuleType<?>, MemoryModuleState> requiredMemoryState, int minRunTime, int maxRunTime) -
Uses of MemoryModuleType in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob with type parameters of type MemoryModuleTypeModifier 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
private static final List<MemoryModuleType<?>>
WardenBrain.MEMORY_MODULES
protected static final ImmutableList<? extends MemoryModuleType<?>>
ZoglinEntity.USED_MEMORY_MODULES
Methods in net.minecraft.entity.mob with parameters of type MemoryModuleTypeModifier and TypeMethodDescriptionprivate static Optional<? extends LivingEntity>
PiglinBruteBrain.getTargetIfInRange
(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> targetMemoryModule) -
Uses of MemoryModuleType in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type MemoryModuleTypeModifier and TypeFieldDescriptionprotected static final ImmutableList<MemoryModuleType<?>>
AllayEntity.MEMORY_MODULES
protected static final ImmutableList<? extends MemoryModuleType<?>>
AxolotlEntity.MEMORY_MODULES
protected static final ImmutableList<MemoryModuleType<?>>
FrogEntity.MEMORY_MODULES
protected static final ImmutableList<MemoryModuleType<?>>
GoatEntity.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
Methods in net.minecraft.entity.passive with parameters of type MemoryModuleTypeModifier and TypeMethodDescriptionvoid
VillagerEntity.releaseTicketFor
(MemoryModuleType<GlobalPos> memoryModuleType) -
Uses of MemoryModuleType in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type MemoryModuleTypeModifier and TypeFieldDescriptionstatic final DefaultedRegistry<MemoryModuleType<?>>
Registry.MEMORY_MODULE_TYPE
static final RegistryKey<Registry<MemoryModuleType<?>>>
Registry.MEMORY_MODULE_TYPE_KEY