Uses of Class
net.minecraft.core.GlobalPos
Package
Description
-
Uses of GlobalPos in net.minecraft.client.renderer.item
Modifier and TypeMethodDescriptionCompassItemPropertyFunction.CompassTarget.getPos
(ClientLevel p_234965_, ItemStack p_234966_, Entity p_234967_) Modifier and TypeMethodDescriptionprivate boolean
CompassItemPropertyFunction.isValidCompassTargetPos
(Entity p_234952_, GlobalPos p_234953_) -
Uses of GlobalPos in net.minecraft.core
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GlobalPos>
GlobalPos.CODEC
Modifier and TypeMethodDescriptionstatic GlobalPos
GlobalPos.of
(ResourceKey<Level> p_122644_, BlockPos p_122645_) -
Uses of GlobalPos in net.minecraft.network
-
Uses of GlobalPos in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionClientboundLoginPacket.lastDeathLocation
The field for thelastDeathLocation
record component.ClientboundRespawnPacket.lastDeathLocation
Modifier and TypeMethodDescriptionClientboundRespawnPacket.getLastDeathLocation()
ClientboundLoginPacket.lastDeathLocation()
Returns the value of thelastDeathLocation
record component.ModifierConstructorDescriptionClientboundLoginPacket
(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
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer<Optional<GlobalPos>>
EntityDataSerializers.OPTIONAL_GLOBAL_POS
-
Uses of GlobalPos in net.minecraft.world.entity.ai.behavior
Modifier 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
Modifier 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_) Modifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableMap<MemoryModuleType<?>,
MemoryStatus> AcquirePoi.constructEntryConditionMap
(MemoryModuleType<GlobalPos> p_22362_, MemoryModuleType<GlobalPos> p_22363_) ModifierConstructorDescriptionAcquirePoi
(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
Modifier 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
Modifier and TypeMethodDescriptionprivate static boolean
AllayAi.shouldDepositItemsAtLikedNoteblock
(LivingEntity p_218413_, Brain<?> p_218414_, GlobalPos p_218415_) -
Uses of GlobalPos in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>,
BiPredicate<Villager, Holder<PoiType>>> Villager.POI_MEMORIES
-
Uses of GlobalPos in net.minecraft.world.entity.player
Modifier and TypeMethodDescriptionvoid
Player.setLastDeathLocation
(Optional<GlobalPos> p_219750_) -
Uses of GlobalPos in net.minecraft.world.item
Modifier and TypeMethodDescriptionstatic GlobalPos
CompassItem.getLodestonePosition
(CompoundTag p_220022_) static GlobalPos
CompassItem.getSpawnPosition
(Level p_220020_)