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_263565_, ResourceKey<Level> p_263578_, long p_263572_, GameType p_263577_, GameType p_263566_, boolean p_263576_, boolean p_263569_, byte p_263570_, Optional<GlobalPos> p_263580_) -
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
-
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_)