Uses of Class
net.minecraft.util.dynamic.GlobalPos
Packages that use GlobalPos
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 GlobalPos in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final MemoryModuleType<Set<GlobalPos>>
MemoryModuleType.DOORS_TO_CLOSE
static final MemoryModuleType<GlobalPos>
MemoryModuleType.HIDING_PLACE
static final MemoryModuleType<GlobalPos>
MemoryModuleType.HOME
static final MemoryModuleType<List<GlobalPos>>
MemoryModuleType.INTERACTABLE_DOORS
static final MemoryModuleType<GlobalPos>
MemoryModuleType.JOB_SITE
static final MemoryModuleType<GlobalPos>
MemoryModuleType.MEETING_POINT
static final MemoryModuleType<GlobalPos>
MemoryModuleType.POTENTIAL_JOB_SITE
static final MemoryModuleType<List<GlobalPos>>
MemoryModuleType.SECONDARY_JOB_SITE
-
Uses of GlobalPos in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as GlobalPosFields in net.minecraft.entity.ai.brain.task with type parameters of type GlobalPosModifier and TypeFieldDescriptionprivate final MemoryModuleType<GlobalPos>
VillagerWalkTowardsTask.destination
private final MemoryModuleType<GlobalPos>
ForgetCompletedPointOfInterestTask.memoryModule
private final MemoryModuleType<GlobalPos>
GoToNearbyPositionTask.memoryModuleType
private final MemoryModuleType<GlobalPos>
GoToSecondaryPositionTask.primaryPosition
private final MemoryModuleType<List<GlobalPos>>
GoToSecondaryPositionTask.secondaryPositions
private final MemoryModuleType<GlobalPos>
GoToIfNearbyTask.target
private final MemoryModuleType<GlobalPos>
FindPointOfInterestTask.targetMemoryModuleType
Methods in net.minecraft.entity.ai.brain.task with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static boolean
OpenDoorsTask.cannotReachDoor
(ServerWorld world, LivingEntity entity, GlobalPos doorPos) private void
FarmerWorkTask.compostSeeds
(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState) private boolean
VillagerWalkTowardsTask.dimensionMismatches
(ServerWorld world, GlobalPos pos) private boolean
VillagerWalkTowardsTask.exceedsMaxRange
(VillagerEntity villager, GlobalPos pos) private boolean
WorkStationCompetitionTask.isUsingWorkStationAt
(GlobalPos pos, PointOfInterestType poiType, VillagerEntity villager) private boolean
VillagerWalkTowardsTask.reachedDestination
(ServerWorld world, VillagerEntity villager, GlobalPos pos) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type GlobalPosModifier and TypeMethodDescriptionprivate static ImmutableMap<MemoryModuleType<?>,
MemoryModuleState> FindPointOfInterestTask.create
(MemoryModuleType<GlobalPos> firstModule, MemoryModuleType<GlobalPos> secondModule) Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type GlobalPosModifierConstructorDescriptionFindPointOfInterestTask
(PointOfInterestType poiType, MemoryModuleType<GlobalPos> moduleType, boolean onlyRunIfChild, Optional<Byte> entityStatus) FindPointOfInterestTask
(PointOfInterestType poiType, MemoryModuleType<GlobalPos> moduleType, MemoryModuleType<GlobalPos> targetMemoryModuleType, boolean onlyRunIfChild, Optional<Byte> entityStatus) ForgetCompletedPointOfInterestTask
(PointOfInterestType poiType, MemoryModuleType<GlobalPos> memoryModule) GoToIfNearbyTask
(MemoryModuleType<GlobalPos> target, float walkSpeed, int maxDistance) GoToNearbyPositionTask
(MemoryModuleType<GlobalPos> memoryModuleType, float walkSpeed, int completionRange, int maxDistance) GoToSecondaryPositionTask
(MemoryModuleType<List<GlobalPos>> secondaryPositions, float speed, int completionRange, int primaryPositionActivationDistance, MemoryModuleType<GlobalPos> primaryPosition) VillagerWalkTowardsTask
(MemoryModuleType<GlobalPos> destination, float speed, int completionRange, int maxRange, int maxRunTime) -
Uses of GlobalPos in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>,
BiPredicate<VillagerEntity, PointOfInterestType>> VillagerEntity.POINTS_OF_INTEREST
Method parameters in net.minecraft.entity.passive with type arguments of type GlobalPosModifier and TypeMethodDescriptionvoid
VillagerEntity.releaseTicketFor
(MemoryModuleType<GlobalPos> memoryModuleType) -
Uses of GlobalPos in net.minecraft.util.dynamic
Fields in net.minecraft.util.dynamic with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GlobalPos>
GlobalPos.CODEC
Methods in net.minecraft.util.dynamic that return GlobalPosModifier and TypeMethodDescriptionstatic GlobalPos
GlobalPos.create
(RegistryKey<World> dimension, BlockPos pos)