Uses of Record Class
net.minecraft.core.GlobalPos
Packages that use GlobalPos
Package
Description
-
Uses of GlobalPos in net.minecraft.client.renderer.item.properties.numeric
Methods in net.minecraft.client.renderer.item.properties.numeric that return GlobalPosModifier and TypeMethodDescription(package private) abstract GlobalPosCompassAngleState.CompassTarget.get(ClientLevel pLevel, ItemStack pStack, Entity pEntity) Methods in net.minecraft.client.renderer.item.properties.numeric with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static booleanCompassAngleState.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.CODECstatic final com.mojang.serialization.MapCodec<GlobalPos> GlobalPos.MAP_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, GlobalPos> GlobalPos.STREAM_CODECMethods in net.minecraft.core that return GlobalPosModifier and TypeMethodDescriptionstatic GlobalPosGlobalPos.of(ResourceKey<Level> pDimension, BlockPos pPos) -
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.lastDeathLocationThe field for thelastDeathLocationrecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionCommonPlayerSpawnInfo.lastDeathLocation()Returns the value of thelastDeathLocationrecord 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, int seaLevel) Creates an instance of aCommonPlayerSpawnInforecord 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 booleanPoiCompetitorScan.competesForSameJobsite(GlobalPos pJobSitePos, Holder<PoiType> pPoi, Villager pPoiType) private voidWorkAtComposter.compostItems(ServerLevel pLevel, Villager pVillager, GlobalPos pGlobal, BlockState pState) private static booleanInteractWithDoor.isDoorTooFarAway(ServerLevel pLevel, LivingEntity pEntity, GlobalPos pPos) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type GlobalPosModifier and TypeMethodDescriptionstatic voidInteractWithDoor.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> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId, BiPredicate<ServerLevel, BlockPos> pPredicate) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> pAcquirablePois, MemoryModuleType<GlobalPos> pExistingAbsentMemory, MemoryModuleType<GlobalPos> pAcquiringMemory, boolean pOnlyIfAdult, Optional<Byte> pEntityEventId, BiPredicate<ServerLevel, BlockPos> pPredicate) 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_CLOSEstatic final MemoryModuleType<GlobalPos> MemoryModuleType.HIDING_PLACEstatic final MemoryModuleType<GlobalPos> MemoryModuleType.HOMEstatic final MemoryModuleType<List<GlobalPos>> MemoryModuleType.INTERACTABLE_DOORSstatic final MemoryModuleType<GlobalPos> MemoryModuleType.JOB_SITEstatic final MemoryModuleType<GlobalPos> MemoryModuleType.LIKED_NOTEBLOCK_POSITIONstatic final MemoryModuleType<GlobalPos> MemoryModuleType.MEETING_POINTstatic final MemoryModuleType<GlobalPos> MemoryModuleType.POTENTIAL_JOB_SITEstatic final MemoryModuleType<List<GlobalPos>> MemoryModuleType.SECONDARY_JOB_SITEstatic 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 booleanAllayAi.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_MEMORIESMethod parameters in net.minecraft.world.entity.npc with type arguments of type GlobalPosModifier and TypeMethodDescriptionvoidVillager.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 TypeMethodDescriptionvoidPlayer.setLastDeathLocation(Optional<GlobalPos> pLastDeathLocation) -
Uses of GlobalPos in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type GlobalPosModifier and TypeFieldDescriptionLodestoneTracker.targetThe field for thetargetrecord component.Methods in net.minecraft.world.item.component that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionLodestoneTracker.target()Returns the value of thetargetrecord component.Constructor parameters in net.minecraft.world.item.component with type arguments of type GlobalPosModifierConstructorDescriptionLodestoneTracker(Optional<GlobalPos> target, boolean tracked) Creates an instance of aLodestoneTrackerrecord class.