Uses of Class
net.minecraft.core.GlobalPos
Packages that use GlobalPos
Package
Description
-
Uses of GlobalPos in net.minecraft.client.renderer.item
Methods in net.minecraft.client.renderer.item that return GlobalPosModifier and TypeMethodDescriptionCompassItemPropertyFunction.CompassTarget.getPos(ClientLevel p_234965_, ItemStack p_234966_, Entity p_234967_) Methods in net.minecraft.client.renderer.item with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate booleanCompassItemPropertyFunction.isValidCompassTargetPos(Entity p_234952_, GlobalPos p_234953_) -
Uses of GlobalPos in net.minecraft.core
Fields in net.minecraft.core with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GlobalPos>GlobalPos.CODECMethods in net.minecraft.core that return GlobalPosModifier and TypeMethodDescriptionstatic GlobalPosGlobalPos.of(ResourceKey<Level> p_122644_, BlockPos p_122645_) -
Uses of GlobalPos in net.minecraft.network
Methods in net.minecraft.network that return GlobalPosMethods in net.minecraft.network with parameters of type GlobalPos -
Uses of GlobalPos in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type GlobalPosModifier and TypeFieldDescriptionClientboundLoginPacket.lastDeathLocationThe field for thelastDeathLocationrecord component.ClientboundRespawnPacket.lastDeathLocationMethods in net.minecraft.network.protocol.game that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionClientboundRespawnPacket.getLastDeathLocation()ClientboundLoginPacket.lastDeathLocation()Returns the value of thelastDeathLocationrecord component.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type GlobalPosModifierConstructorDescriptionClientboundLoginPacket(int playerId, boolean hardcore, GameType gameType, GameType previousGameType, Set<ResourceKey<Level>> levels, RegistryAccess.Frozen registryHolder, ResourceKey<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, int maxPlayers, int chunkRadius, int simulationDistance, boolean reducedDebugInfo, boolean showDeathScreen, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation) Creates an instance of aClientboundLoginPacketrecord class.ClientboundRespawnPacket(ResourceKey<DimensionType> p_238301_, ResourceKey<Level> p_238302_, long p_238303_, GameType p_238304_, GameType p_238305_, boolean p_238306_, boolean p_238307_, boolean p_238308_, Optional<GlobalPos> p_238309_) -
Uses of GlobalPos in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final EntityDataSerializer<Optional<GlobalPos>>EntityDataSerializers.OPTIONAL_GLOBAL_POS -
Uses of GlobalPos in net.minecraft.world.entity.ai.behavior
Fields in net.minecraft.world.entity.ai.behavior declared as GlobalPosFields in net.minecraft.world.entity.ai.behavior with type parameters of type GlobalPosModifier and TypeFieldDescriptionprivate final MemoryModuleType<GlobalPos>AcquirePoi.memoryToAcquireprivate final MemoryModuleType<GlobalPos>SetWalkTargetFromBlockMemory.memoryTypeprivate final MemoryModuleType<GlobalPos>StrollAroundPoi.memoryTypeprivate final MemoryModuleType<GlobalPos>StrollToPoi.memoryTypeprivate final MemoryModuleType<GlobalPos>ValidateNearbyPoi.memoryTypeprivate final MemoryModuleType<GlobalPos>StrollToPoiList.mustBeCloseToMemoryTypeprivate final MemoryModuleType<List<GlobalPos>>StrollToPoiList.strollToMemoryTypeMethods in net.minecraft.world.entity.ai.behavior with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate booleanSetWalkTargetFromBlockMemory.closeEnough(ServerLevel p_24069_, Villager p_24070_, GlobalPos p_24071_) private booleanPoiCompetitorScan.competesForSameJobsite(GlobalPos p_217330_, Holder<PoiType> p_217331_, Villager p_217332_) private voidWorkAtComposter.compostItems(ServerLevel p_24793_, Villager p_24794_, GlobalPos p_24795_, BlockState p_24796_) private static booleanInteractWithDoor.isDoorTooFarAway(ServerLevel p_23308_, LivingEntity p_23309_, GlobalPos p_23310_) private booleanprivate booleanSetWalkTargetFromBlockMemory.wrongDimension(ServerLevel p_24073_, GlobalPos p_24074_) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type GlobalPosModifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableMap<MemoryModuleType<?>,MemoryStatus> AcquirePoi.constructEntryConditionMap(MemoryModuleType<GlobalPos> p_22362_, MemoryModuleType<GlobalPos> p_22363_) Constructor parameters in net.minecraft.world.entity.ai.behavior with type arguments of type GlobalPosModifierConstructorDescriptionAcquirePoi(Predicate<Holder<PoiType>> p_217093_, MemoryModuleType<GlobalPos> p_217094_, boolean p_217095_, Optional<Byte> p_217096_) AcquirePoi(Predicate<Holder<PoiType>> p_217087_, MemoryModuleType<GlobalPos> p_217088_, MemoryModuleType<GlobalPos> p_217089_, boolean p_217090_, Optional<Byte> p_217091_) SetWalkTargetFromBlockMemory(MemoryModuleType<GlobalPos> p_24046_, float p_24047_, int p_24048_, int p_24049_, int p_24050_) StrollAroundPoi(MemoryModuleType<GlobalPos> p_24308_, float p_24309_, int p_24310_) StrollToPoi(MemoryModuleType<GlobalPos> p_24333_, float p_24334_, int p_24335_, int p_24336_) StrollToPoiList(MemoryModuleType<List<GlobalPos>> p_24362_, float p_24363_, int p_24364_, int p_24365_, MemoryModuleType<GlobalPos> p_24366_) ValidateNearbyPoi(Predicate<Holder<PoiType>> p_217490_, MemoryModuleType<GlobalPos> p_217491_) -
Uses of GlobalPos in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory 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_NOTEBLOCK_POSITIONstatic final MemoryModuleType<GlobalPos>MemoryModuleType.MEETING_POINTstatic final MemoryModuleType<GlobalPos>MemoryModuleType.POTENTIAL_JOB_SITEstatic final MemoryModuleType<List<GlobalPos>>MemoryModuleType.SECONDARY_JOB_SITE -
Uses of GlobalPos in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static booleanAllayAi.shouldDepositItemsAtLikedNoteblock(LivingEntity p_218413_, Brain<?> p_218414_, GlobalPos p_218415_) -
Uses of GlobalPos in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>,BiPredicate<Villager, Holder<PoiType>>> Villager.POI_MEMORIESMethod parameters in net.minecraft.world.entity.npc with type arguments of type GlobalPos -
Uses of GlobalPos in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player with type parameters of type GlobalPosMethods in net.minecraft.world.entity.player that return types with arguments of type GlobalPosMethod parameters in net.minecraft.world.entity.player with type arguments of type GlobalPosModifier and TypeMethodDescriptionvoidPlayer.setLastDeathLocation(Optional<GlobalPos> p_219750_) -
Uses of GlobalPos in net.minecraft.world.item
Methods in net.minecraft.world.item that return GlobalPosModifier and TypeMethodDescriptionstatic GlobalPosCompassItem.getLodestonePosition(CompoundTag p_220022_) static GlobalPosCompassItem.getSpawnPosition(Level p_220020_)