Uses of Record Class
net.minecraft.util.math.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.client.render.item.property.numericMethods in net.minecraft.client.render.item.property.numeric that return GlobalPosModifier and TypeMethodDescriptionCompassState.Target.getPosition(ClientWorld world, ItemStack stack, Entity holder) Methods in net.minecraft.client.render.item.property.numeric with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static booleanCompassState.canPointTo(Entity entity, @Nullable GlobalPos pos) 
- 
Uses of GlobalPos in net.minecraft.component.typeFields in net.minecraft.component.type with type parameters of type GlobalPosModifier and TypeFieldDescriptionLodestoneTrackerComponent.targetThe field for thetargetrecord component.Methods in net.minecraft.component.type that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionLodestoneTrackerComponent.target()Returns the value of thetargetrecord component.Constructor parameters in net.minecraft.component.type with type arguments of type GlobalPosModifierConstructorDescriptionLodestoneTrackerComponent(Optional<GlobalPos> optional, boolean bool) 
- 
Uses of GlobalPos in net.minecraft.entity.ai.brainFields in net.minecraft.entity.ai.brain with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final MemoryModuleType<Set<GlobalPos>> MemoryModuleType.DOORS_TO_CLOSEstatic final MemoryModuleType<GlobalPos> MemoryModuleType.HIDING_PLACEstatic final MemoryModuleType<GlobalPos> MemoryModuleType.HOMEstatic final MemoryModuleType<List<GlobalPos>> MemoryModuleType.INTERACTABLE_DOORSstatic final MemoryModuleType<GlobalPos> MemoryModuleType.JOB_SITEstatic final MemoryModuleType<GlobalPos> MemoryModuleType.LIKED_NOTEBLOCKstatic final MemoryModuleType<GlobalPos> MemoryModuleType.MEETING_POINTstatic final MemoryModuleType<GlobalPos> MemoryModuleType.POTENTIAL_JOB_SITEstatic final MemoryModuleType<List<GlobalPos>> MemoryModuleType.SECONDARY_JOB_SITEstatic final MemoryModuleType<List<GlobalPos>> MemoryModuleType.SNIFFER_EXPLORED_POSITIONS
- 
Uses of GlobalPos in net.minecraft.entity.ai.brain.taskMethods in net.minecraft.entity.ai.brain.task that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionOpenDoorsTask.storePos(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos) Methods in net.minecraft.entity.ai.brain.task with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static booleanOpenDoorsTask.cannotReachDoor(ServerWorld world, LivingEntity entity, GlobalPos doorPos) private voidFarmerWorkTask.compostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState) private static booleanWorkStationCompetitionTask.isUsingWorkStationAt(GlobalPos pos, RegistryEntry<PointOfInterestType> poiType, VillagerEntity villager) Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type GlobalPosModifier and TypeMethodDescriptionstatic 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, boolean onlyRunIfChild, Optional<Byte> entityStatus, BiPredicate<ServerWorld, BlockPos> worldPosBiPredicate) static Task<PathAwareEntity> FindPointOfInterestTask.create(Predicate<RegistryEntry<PointOfInterestType>> poiPredicate, MemoryModuleType<GlobalPos> poiPosModule, MemoryModuleType<GlobalPos> potentialPoiPosModule, boolean onlyRunIfChild, Optional<Byte> entityStatus, BiPredicate<ServerWorld, BlockPos> worldPosBiPredicate) static Task<LivingEntity> ForgetCompletedPointOfInterestTask.create(Predicate<RegistryEntry<PointOfInterestType>> poiTypePredicate, MemoryModuleType<GlobalPos> poiPosModule) static SingleTickTask<PathAwareEntity> GoAroundTask.create(MemoryModuleType<GlobalPos> posModule, float walkSpeed, int maxDistance) static Task<PathAwareEntity> GoToPosTask.create(MemoryModuleType<GlobalPos> posModule, float walkSpeed, int completionRange, int maxDistance) static Task<VillagerEntity> GoToSecondaryPositionTask.create(MemoryModuleType<List<GlobalPos>> secondaryPositions, float speed, int completionRange, int primaryPositionActivationDistance, MemoryModuleType<GlobalPos> primaryPosition) static SingleTickTask<VillagerEntity> VillagerWalkTowardsTask.create(MemoryModuleType<GlobalPos> destination, float speed, int completionRange, int maxDistance, int maxRunTime) static voidOpenDoorsTask.pathToDoor(ServerWorld world, LivingEntity entity, @Nullable PathNode lastNode, @Nullable PathNode currentNode, Set<GlobalPos> doors, Optional<List<LivingEntity>> otherMobs) OpenDoorsTask.storePos(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos) OpenDoorsTask.storePos(MemoryQueryResult<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> queryResult, Optional<Set<GlobalPos>> doors, ServerWorld world, BlockPos pos) 
- 
Uses of GlobalPos in net.minecraft.entity.dataFields in net.minecraft.entity.data with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final TrackedDataHandler<Optional<GlobalPos>> TrackedDataHandlerRegistry.OPTIONAL_GLOBAL_POS
- 
Uses of GlobalPos in net.minecraft.entity.passiveFields in net.minecraft.entity.passive with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>, BiPredicate<VillagerEntity, RegistryEntry<PointOfInterestType>>> VillagerEntity.POINTS_OF_INTERESTMethods in net.minecraft.entity.passive that return types with arguments of type GlobalPosMethods in net.minecraft.entity.passive with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static booleanAllayBrain.shouldGoTowardsNoteBlock(LivingEntity allay, Brain<?> brain, GlobalPos pos) Method parameters in net.minecraft.entity.passive with type arguments of type GlobalPosModifier and TypeMethodDescriptionvoidVillagerEntity.releaseTicketFor(MemoryModuleType<GlobalPos> pos) 
- 
Uses of GlobalPos in net.minecraft.entity.playerFields in net.minecraft.entity.player with type parameters of type GlobalPosMethods in net.minecraft.entity.player that return types with arguments of type GlobalPosMethod parameters in net.minecraft.entity.player with type arguments of type GlobalPosModifier and TypeMethodDescriptionvoidPlayerEntity.setLastDeathPos(Optional<GlobalPos> lastDeathPos) 
- 
Uses of GlobalPos in net.minecraft.networkMethods in net.minecraft.network that return GlobalPosModifier and TypeMethodDescriptionPacketByteBuf.readGlobalPos()Reads a global position from this buf.Methods in net.minecraft.network with parameters of type GlobalPosModifier and TypeMethodDescriptionvoidPacketByteBuf.writeGlobalPos(GlobalPos pos) Writes a global position to this buf.
- 
Uses of GlobalPos in net.minecraft.network.packet.s2c.playFields in net.minecraft.network.packet.s2c.play with type parameters of type GlobalPosModifier and TypeFieldDescriptionCommonPlayerSpawnInfo.lastDeathLocationThe field for thelastDeathLocationrecord component.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionCommonPlayerSpawnInfo.lastDeathLocation()Returns the value of thelastDeathLocationrecord component.Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type GlobalPosModifierConstructorDescriptionCommonPlayerSpawnInfo(RegistryEntry<DimensionType> registryEntry, RegistryKey<World> registryKey, long long2, GameMode gameMode, @Nullable GameMode gameMode2, boolean bool, boolean bool2, Optional<GlobalPos> optional, int int2, int int3) 
- 
Uses of GlobalPos in net.minecraft.util.mathFields in net.minecraft.util.math with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GlobalPos> GlobalPos.CODECstatic final com.mojang.serialization.MapCodec<GlobalPos> GlobalPos.MAP_CODECstatic final PacketCodec<ByteBuf, GlobalPos> GlobalPos.PACKET_CODECMethods in net.minecraft.util.math that return GlobalPosModifier and TypeMethodDescriptionstatic GlobalPosGlobalPos.create(RegistryKey<World> dimension, BlockPos pos)