Uses of Class
net.minecraft.entity.ai.brain.MemoryQueryResult
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 MemoryQueryResult in net.minecraft.entity.ai.brain
Modifier and TypeMethodDescriptionMemoryQueryResult
<com.mojang.datafixers.kinds.Const.Mu<com.mojang.datafixers.util.Unit>, Value> MemoryQuery.Absent.toQueryResult
(Brain<?> brain, Optional<Value> value) MemoryQueryResult
<com.mojang.datafixers.kinds.OptionalBox.Mu, Value> MemoryQuery.Optional.toQueryResult
(Brain<?> brain, Optional<Value> value) MemoryQuery.toQueryResult
(Brain<?> brain, Optional<MemoryQuery.Value> value) MemoryQueryResult
<com.mojang.datafixers.kinds.IdF.Mu, Value> MemoryQuery.Value.toQueryResult
(Brain<?> brain, Optional<Value> value) -
Uses of MemoryQueryResult in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescription<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) Modifier and TypeMethodDescription<Value> Optional
<Value> TaskTriggerer.TaskContext.getOptionalValue
(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Value> result) <Value> Value
TaskTriggerer.TaskContext.getValue
(MemoryQueryResult<com.mojang.datafixers.kinds.IdF.Mu, Value> result) private static void
PlayWithVillagerBabiesTask.setPlayTarget
(MemoryQueryResult<?, LivingEntity> interactionTarget, MemoryQueryResult<?, LookTarget> lookTarget, MemoryQueryResult<?, WalkTarget> walkTarget, LivingEntity baby) OpenDoorsTask.storePos
(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos)