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 boolean
CompassItemPropertyFunction.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.CODEC
Methods in net.minecraft.core that return GlobalPosModifier and TypeMethodDescriptionstatic GlobalPos
GlobalPos.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.lastDeathLocation
The field for thelastDeathLocation
record component.ClientboundRespawnPacket.lastDeathLocation
Methods in net.minecraft.network.protocol.game that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionClientboundRespawnPacket.getLastDeathLocation()
ClientboundLoginPacket.lastDeathLocation()
Returns the value of thelastDeathLocation
record 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 aClientboundLoginPacket
record 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.memoryToAcquire
private final MemoryModuleType<GlobalPos>
SetWalkTargetFromBlockMemory.memoryType
private final MemoryModuleType<GlobalPos>
StrollAroundPoi.memoryType
private final MemoryModuleType<GlobalPos>
StrollToPoi.memoryType
private final MemoryModuleType<GlobalPos>
ValidateNearbyPoi.memoryType
private final MemoryModuleType<GlobalPos>
StrollToPoiList.mustBeCloseToMemoryType
private final MemoryModuleType<List<GlobalPos>>
StrollToPoiList.strollToMemoryType
Methods in net.minecraft.world.entity.ai.behavior with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate boolean
SetWalkTargetFromBlockMemory.closeEnough
(ServerLevel p_24069_, Villager p_24070_, GlobalPos p_24071_) private boolean
PoiCompetitorScan.competesForSameJobsite
(GlobalPos p_217330_, Holder<PoiType> p_217331_, Villager p_217332_) private void
WorkAtComposter.compostItems
(ServerLevel p_24793_, Villager p_24794_, GlobalPos p_24795_, BlockState p_24796_) private static boolean
InteractWithDoor.isDoorTooFarAway
(ServerLevel p_23308_, LivingEntity p_23309_, GlobalPos p_23310_) private boolean
private boolean
SetWalkTargetFromBlockMemory.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_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.LIKED_NOTEBLOCK_POSITION
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.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static boolean
AllayAi.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_MEMORIES
Method 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 TypeMethodDescriptionvoid
Player.setLastDeathLocation
(Optional<GlobalPos> p_219750_) -
Uses of GlobalPos in net.minecraft.world.item
Methods in net.minecraft.world.item that return GlobalPosModifier and TypeMethodDescriptionstatic GlobalPos
CompassItem.getLodestonePosition
(CompoundTag p_220022_) static GlobalPos
CompassItem.getSpawnPosition
(Level p_220020_)