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, int portalCooldown) Creates an instance of aClientboundLoginPacket
record class.ClientboundRespawnPacket
(ResourceKey<DimensionType> p_287723_, ResourceKey<Level> p_287745_, long p_287746_, GameType p_287624_, GameType p_287780_, boolean p_287655_, boolean p_287735_, byte p_287694_, Optional<GlobalPos> p_287615_, int p_287636_) -
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 TypeMethodDescriptionInteractWithDoor.rememberDoorToClose
(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> p_262178_, Optional<Set<GlobalPos>> p_261639_, ServerLevel p_261528_, BlockPos p_261874_) Modifier and TypeMethodDescriptionprivate static 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_) Modifier and TypeMethodDescriptionstatic void
InteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough
(ServerLevel p_260343_, LivingEntity p_259371_, Node p_259408_, Node p_260013_, Set<GlobalPos> p_259401_, Optional<List<LivingEntity>> p_260015_) static BehaviorControl<PathfinderMob>
AcquirePoi.create
(Predicate<Holder<PoiType>> p_259994_, MemoryModuleType<GlobalPos> p_259167_, boolean p_259077_, Optional<Byte> p_259824_) static BehaviorControl<PathfinderMob>
AcquirePoi.create
(Predicate<Holder<PoiType>> p_260007_, MemoryModuleType<GlobalPos> p_259129_, MemoryModuleType<GlobalPos> p_260194_, boolean p_259108_, Optional<Byte> p_260129_) SetWalkTargetFromBlockMemory.create
(MemoryModuleType<GlobalPos> p_259685_, float p_259842_, int p_259530_, int p_260360_, int p_259504_) static OneShot<PathfinderMob>
StrollAroundPoi.create
(MemoryModuleType<GlobalPos> p_259159_, float p_260182_, int p_260102_) static BehaviorControl<PathfinderMob>
StrollToPoi.create
(MemoryModuleType<GlobalPos> p_259919_, float p_259285_, int p_259332_, int p_259904_) static BehaviorControl<Villager>
StrollToPoiList.create
(MemoryModuleType<List<GlobalPos>> p_259573_, float p_259895_, int p_260285_, int p_259533_, MemoryModuleType<GlobalPos> p_259706_) static BehaviorControl<LivingEntity>
ValidateNearbyPoi.create
(Predicate<Holder<PoiType>> p_259460_, MemoryModuleType<GlobalPos> p_259635_) InteractWithDoor.rememberDoorToClose
(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> p_262178_, Optional<Set<GlobalPos>> p_261639_, ServerLevel p_261528_, BlockPos p_261874_) InteractWithDoor.rememberDoorToClose
(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> p_262178_, Optional<Set<GlobalPos>> p_261639_, ServerLevel p_261528_, BlockPos p_261874_) -
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
static final MemoryModuleType<List<GlobalPos>>
MemoryModuleType.SNIFFER_EXPLORED_POSITIONS
-
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.animal.sniffer
-
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_)