Uses of Record 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
static final com.mojang.serialization.MapCodec
<GlobalPos> GlobalPos.MAP_CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, GlobalPos> GlobalPos.STREAM_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 TypeFieldDescriptionCommonPlayerSpawnInfo.lastDeathLocation
The field for thelastDeathLocation
record component.Methods in net.minecraft.network.protocol.game that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionCommonPlayerSpawnInfo.lastDeathLocation()
Returns the value of thelastDeathLocation
record component.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type GlobalPosModifierConstructorDescriptionCommonPlayerSpawnInfo
(Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, GameType gameType, GameType previousGameType, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation, int portalCooldown) Creates an instance of aCommonPlayerSpawnInfo
record class. -
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
Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type GlobalPosModifier 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_) Methods in net.minecraft.world.entity.ai.behavior with parameters of type GlobalPosModifier 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_) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type GlobalPosModifier 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
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
static final MemoryModuleType
<List<GlobalPos>> MemoryModuleType.SNIFFER_EXPLORED_POSITIONS
-
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.animal.sniffer
Methods in net.minecraft.world.entity.animal.sniffer that return types with arguments of type GlobalPos -
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 GlobalPos -
Uses of GlobalPos in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type GlobalPosModifier and TypeFieldDescriptionLodestoneTracker.target
The field for thetarget
record component.Methods in net.minecraft.world.item.component that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionLodestoneTracker.target()
Returns the value of thetarget
record component.Constructor parameters in net.minecraft.world.item.component with type arguments of type GlobalPosModifierConstructorDescriptionLodestoneTracker
(Optional<GlobalPos> target, boolean tracked) Creates an instance of aLodestoneTracker
record class.