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 @Nullable GlobalPosCompassAngleState.CompassTarget.get(ClientLevel level, ItemStack itemStack, @Nullable ItemOwner entity) Methods in net.minecraft.client.renderer.item.properties.numeric with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static booleanCompassAngleState.isValidCompassTargetPos(ItemOwner owner, @Nullable GlobalPos positionToPointTo) -
Uses of GlobalPos in net.minecraft.client.server
Methods in net.minecraft.client.server that return GlobalPos -
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> dimension, BlockPos pos) -
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, @Nullable 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.server
Methods in net.minecraft.server that return GlobalPos -
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 TypeMethodDescriptionTransportItemsBetweenContainers.getUnreachablePositions(PathfinderMob mob) TransportItemsBetweenContainers.getVisitedPositions(PathfinderMob mob) InteractWithDoor.rememberDoorToClose(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> doorsMemory, Optional<Set<GlobalPos>> doors, ServerLevel level, BlockPos doorPos) Methods in net.minecraft.world.entity.ai.behavior with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static booleanPoiCompetitorScan.competesForSameJobsite(GlobalPos pos, Holder<PoiType> poiType, Villager nearbyVillager) private voidWorkAtComposter.compostItems(ServerLevel level, Villager body, GlobalPos jobSitePos, BlockState blockState) private static booleanInteractWithDoor.isDoorTooFarAway(ServerLevel level, LivingEntity body, GlobalPos doorGlobalPos) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type GlobalPosModifier and TypeMethodDescriptionstatic voidInteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough(ServerLevel level, LivingEntity body, @Nullable Node movingFromNode, @Nullable Node movingToNode, Set<GlobalPos> doors, Optional<List<LivingEntity>> nearestEntities) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent, BiPredicate<ServerLevel, BlockPos> validPoi) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToValidate, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent, BiPredicate<ServerLevel, BlockPos> validPoi) SetWalkTargetFromBlockMemory.create(MemoryModuleType<GlobalPos> memoryType, float speedModifier, int closeEnoughDist, int tooFarDistance, int tooLongUnreachableDuration) static OneShot<PathfinderMob> StrollAroundPoi.create(MemoryModuleType<GlobalPos> memoryType, float speedModifier, int maxDistanceFromPoi) static BehaviorControl<PathfinderMob> StrollToPoi.create(MemoryModuleType<GlobalPos> memoryType, float speedModifier, int closeEnoughDist, int maxDistanceFromPoi) static BehaviorControl<Villager> StrollToPoiList.create(MemoryModuleType<List<GlobalPos>> strollToMemoryType, float speedModifier, int closeEnoughDist, int maxDistanceFromPoi, MemoryModuleType<GlobalPos> mustBeCloseToMemoryType) static BehaviorControl<LivingEntity> ValidateNearbyPoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryType) private booleanTransportItemsBetweenContainers.isPositionAlreadyVisited(Set<GlobalPos> visitedPositions, Set<GlobalPos> unreachablePositions, TransportItemsBetweenContainers.TransportItemTarget target, Level level) private @Nullable TransportItemsBetweenContainers.TransportItemTargetTransportItemsBetweenContainers.isTargetValidToPick(PathfinderMob body, Level level, BlockEntity blockEntity, Set<GlobalPos> visitedPositions, Set<GlobalPos> unreachablePositions, AABB targetBlockSearchArea) InteractWithDoor.rememberDoorToClose(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> doorsMemory, Optional<Set<GlobalPos>> doors, ServerLevel level, BlockPos doorPos) InteractWithDoor.rememberDoorToClose(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> doorsMemory, Optional<Set<GlobalPos>> doors, ServerLevel level, BlockPos doorPos) -
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<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_POSITIONSstatic final MemoryModuleType<Set<GlobalPos>> MemoryModuleType.UNREACHABLE_TRANSPORT_BLOCK_POSITIONSstatic final MemoryModuleType<Set<GlobalPos>> MemoryModuleType.VISITED_BLOCK_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 allay, Brain<?> brain, GlobalPos likedNoteblockPos) -
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.villager
Fields in net.minecraft.world.entity.npc.villager 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.villager with type arguments of type GlobalPosModifier and TypeMethodDescriptionvoidVillager.releasePoi(MemoryModuleType<GlobalPos> memoryType) -
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 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.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. -
Uses of GlobalPos in net.minecraft.world.level.storage
Fields in net.minecraft.world.level.storage declared as GlobalPosModifier and TypeFieldDescriptionprivate final GlobalPosLevelData.RespawnData.globalPosThe field for theglobalPosrecord component.Methods in net.minecraft.world.level.storage that return GlobalPosModifier and TypeMethodDescriptionLevelData.RespawnData.globalPos()Returns the value of theglobalPosrecord component.Constructors in net.minecraft.world.level.storage with parameters of type GlobalPosModifierConstructorDescriptionRespawnData(GlobalPos globalPos, float yaw, float pitch) Creates an instance of aRespawnDatarecord class.