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 pLevel, ItemStack pStack, Entity pEntity) Methods in net.minecraft.client.renderer.item with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate boolean
CompassItemPropertyFunction.isValidCompassTargetPos
(Entity pEntity, GlobalPos pPos) -
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>> pDoorsToClose, Optional<Set<GlobalPos>> pDoorPositions, ServerLevel pLevel, BlockPos pPos) Methods in net.minecraft.world.entity.ai.behavior with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static boolean
PoiCompetitorScan.competesForSameJobsite
(GlobalPos pJobSitePos, Holder<PoiType> pPoi, Villager pPoiType) private void
WorkAtComposter.compostItems
(ServerLevel pLevel, Villager pVillager, GlobalPos pGlobal, BlockState pState) private static boolean
InteractWithDoor.isDoorTooFarAway
(ServerLevel pLevel, LivingEntity pEntity, GlobalPos pPos) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type GlobalPosModifier and TypeMethodDescriptionstatic void
InteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough
(ServerLevel pLevel, LivingEntity pEntity, Node pPrevious, Node pNext, Set<GlobalPos> pDoorPositions, Optional<List<LivingEntity>> pNearestLivingEntities) static BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> pAcquirablePois, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId) static BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> pAcquirablePois, MemoryModuleType<GlobalPos> pExistingAbsentMemory, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId) SetWalkTargetFromBlockMemory.create
(MemoryModuleType<GlobalPos> pBlockTargetMemory, float pSpeedModifier, int pCloseEnoughDist, int pTooFarDistance, int pTooLongUnreachableDuration) static OneShot
<PathfinderMob> StrollAroundPoi.create
(MemoryModuleType<GlobalPos> pPoiPosMemory, float pSpeedModifier, int pMaxDistFromPoi) static BehaviorControl
<PathfinderMob> StrollToPoi.create
(MemoryModuleType<GlobalPos> pPoiPosMemory, float pSpeedModifier, int pCloseEnoughDist, int pMaxDistFromPoi) static BehaviorControl
<Villager> StrollToPoiList.create
(MemoryModuleType<List<GlobalPos>> pPoiListMemory, float pSpeedModifier, int pCloseEnoughDist, int pMaxDistFromPoi, MemoryModuleType<GlobalPos> pMustBeCloseToMemory) static BehaviorControl
<LivingEntity> ValidateNearbyPoi.create
(Predicate<Holder<PoiType>> pPoiValidator, MemoryModuleType<GlobalPos> pPoiPosMemory) InteractWithDoor.rememberDoorToClose
(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> pDoorsToClose, Optional<Set<GlobalPos>> pDoorPositions, ServerLevel pLevel, BlockPos pPos) InteractWithDoor.rememberDoorToClose
(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> pDoorsToClose, Optional<Set<GlobalPos>> pDoorPositions, ServerLevel pLevel, BlockPos pPos) -
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 pEntity, Brain<?> pBrain, GlobalPos pPos) -
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 GlobalPosModifier and TypeMethodDescriptionvoid
Villager.releasePoi
(MemoryModuleType<GlobalPos> pModuleType) -
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> pLastDeathLocation) -
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.