Uses of Record Class
net.minecraft.world.level.ChunkPos
Packages that use ChunkPos
Package
Description
-
Uses of ChunkPos in net.minecraft
Methods in net.minecraft with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as ChunkPos -
Uses of ChunkPos in net.minecraft.client.gui.components.toasts
Methods in net.minecraft.client.gui.components.toasts with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic voidSystemToast.onChunkLoadFailure(Minecraft minecraft, ChunkPos pos) static voidSystemToast.onChunkSaveFailure(Minecraft minecraft, ChunkPos pos) -
Uses of ChunkPos in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type ChunkPosModifier and TypeFieldDescriptionprivate final ClientDebugSubscriber.ValueMap<ChunkPos, V> ClientDebugSubscriber.ValueMaps.chunkValuesMethods in net.minecraft.client.multiplayer that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionprivate static <T> ClientDebugSubscriber.ValueMapType<ChunkPos, T> ClientDebugSubscriber.chunks()Methods in net.minecraft.client.multiplayer with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidvoidvoidClientDebugSubscriber.ValueMaps.dropChunkAndBlocks(ChunkPos chunkPos) voidClientLevel.onChunkLoaded(ChunkPos pos) <T> voidClientDebugSubscriber.updateChunk(long gameTime, ChunkPos chunkPos, DebugSubscription.Update<T> update) voidLevelLoadTracker.updateFocus(ResourceKey<Level> dimension, ChunkPos chunkPos) -
Uses of ChunkPos in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate voidSectionOcclusionGraph.addNeighbors(SectionOcclusionGraph.GraphEvents events, ChunkPos pos) voidLevelRenderer.onChunkReadyToRender(ChunkPos pos) voidSectionOcclusionGraph.onChunkReadyToRender(ChunkPos pos) -
Uses of ChunkPos in net.minecraft.client.renderer.chunk
Methods in net.minecraft.client.renderer.chunk with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug with type parameters of type ChunkPosModifier and TypeFieldDescriptionChunkDebugRenderer.ChunkData.clientDataprivate final CompletableFuture<Map<ChunkPos, String>> ChunkDebugRenderer.ChunkData.serverData -
Uses of ChunkPos in net.minecraft.client.server
Methods in net.minecraft.client.server with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidIntegratedServer.reportChunkLoadFailure(Throwable throwable, RegionStorageInfo storageInfo, ChunkPos pos) voidIntegratedServer.reportChunkSaveFailure(Throwable throwable, RegionStorageInfo storageInfo, ChunkPos pos) -
Uses of ChunkPos in net.minecraft.core
Methods in net.minecraft.core that return ChunkPosMethods in net.minecraft.core with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic Stream<SectionPos> SectionPos.aroundChunk(ChunkPos center, int radius, int minSection, int maxSection) static SectionPos -
Uses of ChunkPos in net.minecraft.network
Methods in net.minecraft.network that return ChunkPosModifier and TypeMethodDescriptionFriendlyByteBuf.readChunkPos()static ChunkPosFriendlyByteBuf.readChunkPos(io.netty.buffer.ByteBuf input) Methods in net.minecraft.network with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic voidFriendlyByteBuf.writeChunkPos(io.netty.buffer.ByteBuf output, ChunkPos chunkPos) FriendlyByteBuf.writeChunkPos(ChunkPos pos) Writes a ChunkPos encoded as a long to the buffer. -
Uses of ChunkPos in net.minecraft.network.chat
Methods in net.minecraft.network.chat with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPosClientboundDebugChunkValuePacket.chunkPosThe field for thechunkPosrecord component.private final ChunkPosClientboundChunksBiomesPacket.ChunkBiomeData.posThe field for theposrecord component.private final ChunkPosClientboundForgetLevelChunkPacket.posThe field for theposrecord component.Methods in net.minecraft.network.protocol.game that return ChunkPosModifier and TypeMethodDescriptionClientboundDebugChunkValuePacket.chunkPos()Returns the value of thechunkPosrecord component.ClientboundChunksBiomesPacket.ChunkBiomeData.pos()Returns the value of theposrecord component.ClientboundForgetLevelChunkPacket.pos()Returns the value of theposrecord component.Methods in net.minecraft.network.protocol.game with parameters of type ChunkPosModifier and TypeMethodDescriptionClientboundTrackedWaypointPacket.addWaypointChunk(UUID identifier, Waypoint.Icon icon, ChunkPos chunk) private voidClientboundLightUpdatePacketData.prepareSectionData(ChunkPos pos, LevelLightEngine lightEngine, LightLayer layer, int sectionIndex, BitSet mask, BitSet emptyMask, List<byte[]> updates) ClientboundTrackedWaypointPacket.updateWaypointChunk(UUID identifier, Waypoint.Icon icon, ChunkPos chunk) Constructors in net.minecraft.network.protocol.game with parameters of type ChunkPosModifierConstructorDescriptionChunkBiomeData(ChunkPos pos, byte[] buffer) Creates an instance of aChunkBiomeDatarecord class.ClientboundDebugChunkValuePacket(ChunkPos chunkPos, DebugSubscription.Update<?> update) Creates an instance of aClientboundDebugChunkValuePacketrecord class.Creates an instance of aClientboundForgetLevelChunkPacketrecord class.ClientboundLightUpdatePacket(ChunkPos pos, LevelLightEngine lightEngine, @Nullable BitSet skyChangedLightSectionFilter, @Nullable BitSet blockChangedLightSectionFilter) ClientboundLightUpdatePacketData(ChunkPos chunkPos, LevelLightEngine lightEngine, @Nullable BitSet skyChangedLightSectionFilter, @Nullable BitSet blockChangedLightSectionFilter) -
Uses of ChunkPos in net.minecraft.server
Methods in net.minecraft.server with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidMinecraftServer.reportChunkLoadFailure(Throwable throwable, RegionStorageInfo storageInfo, ChunkPos pos) voidMinecraftServer.reportChunkSaveFailure(Throwable throwable, RegionStorageInfo storageInfo, ChunkPos pos) private voidMinecraftServer.storeChunkIoError(CrashReport report, ChunkPos pos, RegionStorageInfo storageInfo) -
Uses of ChunkPos in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate static voidPlaceCommand.checkLoaded(ServerLevel level, ChunkPos chunkMin, ChunkPos chunkMax) -
Uses of ChunkPos in net.minecraft.server.level
Fields in net.minecraft.server.level declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPosChunkTrackingView.Positioned.centerThe field for thecenterrecord component.private final ChunkPosChunkGenerationTask.posprotected final ChunkPosGenerationChunkHolder.posMethods in net.minecraft.server.level that return ChunkPosModifier and TypeMethodDescriptionChunkTrackingView.Positioned.center()Returns the value of thecenterrecord component.WorldGenRegion.getCenter()GenerationChunkHolder.getPos()ColumnPos.toChunkPos()Methods in net.minecraft.server.level with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidServerChunkCache.addTicketAndLoadWithRadius(TicketType type, ChunkPos pos, int radius) voidServerChunkCache.addTicketWithRadius(TicketType type, ChunkPos pos, int radius) (package private) booleanChunkMap.anyPlayerCloseEnoughForSpawning(ChunkPos pos) booleanServerLevel.anyPlayerCloseEnoughForSpawning(ChunkPos pos) private booleanChunkMap.anyPlayerCloseEnoughForSpawningInternal(ChunkPos pos) booleanServerLevel.areEntitiesActuallyLoadedAndTicking(ChunkPos pos) booleanServerLevel.canSpawnEntitiesInChunk(ChunkPos pos) default booleanstatic ChunkGenerationTaskChunkGenerationTask.create(GeneratingChunkMap chunkMap, ChunkStatus targetStatus, ChunkPos pos) private ChunkAccessChunkMap.createEmptyChunk(ChunkPos pos) private static voidChunkMap.dropChunk(ServerPlayer player, ChunkPos pos) private static doubleChunkMap.euclideanDistanceSquared(ChunkPos chunkPos, Vec3 pos) ChunkMap.getChunkDebugData(ChunkPos pos) ServerChunkCache.getChunkDebugData(ChunkPos pos) intChunkHolder.PlayerProvider.getPlayers(ChunkPos pos, boolean borderOnly) Returns the players tracking the given chunk.ChunkMap.getPlayers(ChunkPos pos, boolean borderOnly) ChunkMap.getPlayersCloseForSpawning(ChunkPos pos) static @Nullable BlockPosPlayerSpawnFinder.getSpawnPosInChunk(ServerLevel level, ChunkPos chunkPos) private ChunkAccessChunkMap.handleChunkLoadFailure(Throwable throwable, ChunkPos pos) voidServerLevel.invalidateCapabilities(ChunkPos pos) private booleanChunkMap.isExistingChunkFull(ChunkPos pos) booleanWorldGenRegion.isOldChunkAround(ChunkPos pos, int range) private voidChunkMap.markChunkPendingToSend(ServerPlayer player, ChunkPos pos) private byteChunkMap.markPosition(ChunkPos pos, ChunkType type) private voidChunkMap.markPositionReplaceable(ChunkPos pos) static ChunkTrackingView(package private) voidChunkMap.onFullChunkStatusChange(ChunkPos pos, FullChunkStatus status) voidChunkHolder.LevelChangeListener.onLevelChange(ChunkPos pos, IntSupplier oldLevel, int newLevel, IntConsumer setQueueLevel) private voidChunkMap.onLevelChange(ChunkPos pos, IntSupplier oldLevel, int newLevel, IntConsumer setQueueLevel) voidChunkTaskDispatcher.onLevelChange(ChunkPos pos, IntSupplier oldLevel, int newLevel, IntConsumer setQueueLevel) static longServerPlayer.placeEnderPearlTicket(ServerLevel level, ChunkPos chunk) private booleanChunkMap.playerIsCloseEnoughForSpawning(ServerPlayer player, ChunkPos pos) voidThreadedLevelLightEngine.propagateLightSources(ChunkPos pos) private CompletableFuture<Optional<CompoundTag>> voidServerChunkCache.removeTicketWithRadius(TicketType type, ChunkPos pos, int radius) protected voidChunkTaskPriorityQueue.resortChunkTasks(int oldPriority, ChunkPos pos, int newPriority) voidThreadedLevelLightEngine.retainData(ChunkPos pos, boolean retain) private CompletableFuture<ChunkAccess> ChunkMap.scheduleChunkLoad(ChunkPos pos) ChunkMap.scheduleGenerationTask(ChunkStatus targetStatus, ChunkPos pos) GeneratingChunkMap.scheduleGenerationTask(ChunkStatus targetStatus, ChunkPos pos) private voidChunkMap.setChunkUnsaved(ChunkPos chunkPos) voidThreadedLevelLightEngine.setLightEnabled(ChunkPos pos, boolean enable) booleanServerChunkCache.updateChunkForced(ChunkPos pos, boolean forced) protected voidThreadedLevelLightEngine.updateChunkStatus(ChunkPos pos) voidServerLevel.waitForEntities(ChunkPos centerChunk, int radius) voidChunkMap.waitForLightBeforeSending(ChunkPos centerChunk, int chunkRadius) Method parameters in net.minecraft.server.level with type arguments of type ChunkPosModifier and TypeMethodDescriptionstatic voidChunkTrackingView.difference(ChunkTrackingView from, ChunkTrackingView to, Consumer<ChunkPos> onEnter, Consumer<ChunkPos> onLeave) Calculates the chunks that the player needs to drop in theoldChunkTrackingViewand the chunks that need to be sent for thenewChunkTrackingView.voidvoidConstructors in net.minecraft.server.level with parameters of type ChunkPosModifierConstructorDescriptionprivateChunkGenerationTask(GeneratingChunkMap chunkMap, ChunkStatus targetStatus, ChunkPos pos, StaticCache2D<GenerationChunkHolder> cache) ChunkHolder(ChunkPos pos, int ticketLevel, LevelHeightAccessor levelHeightAccessor, LevelLightEngine lightEngine, ChunkHolder.LevelChangeListener onLevelChange, ChunkHolder.PlayerProvider playerProvider) Positioned(ChunkPos center, int viewDistance) Creates an instance of aPositionedrecord class. -
Uses of ChunkPos in net.minecraft.server.level.progress
Methods in net.minecraft.server.level.progress with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidChunkLoadStatusView.moveTo(ResourceKey<Level> dimension, ChunkPos centerChunk) voidLevelLoadListener.updateFocus(ResourceKey<Level> dimension, ChunkPos chunkPos) voidLevelLoadProgressTracker.updateFocus(ResourceKey<Level> dimension, ChunkPos chunkPos) voidLoggingLevelLoadListener.updateFocus(ResourceKey<Level> dimension, ChunkPos chunkPos) -
Uses of ChunkPos in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate List<LevelChunk> PlayerChunkSender.collectChunksToSend(ChunkMap chunkMap, ChunkPos playerPos) voidPlayerChunkSender.dropChunk(ServerPlayer player, ChunkPos pos) -
Uses of ChunkPos in net.minecraft.util.debug
Fields in net.minecraft.util.debug with type parameters of type ChunkPosModifier and TypeFieldDescriptionprivate final Map<ChunkPos, TrackingDebugSynchronizer.ValueSource<T>> TrackingDebugSynchronizer.SourceSynchronizer.chunkSourcesMethods in net.minecraft.util.debug with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate voidLevelDebugSynchronizers.broadcastToTracking(ChunkPos trackedChunk, DebugSubscription<?> subscription, Packet<? super ClientGamePacketListener> packet) voidvoid<T> @Nullable TDebugValueAccess.getChunkValue(DebugSubscription<T> subscription, ChunkPos chunkPos) voidTrackingDebugSynchronizer.SourceSynchronizer.registerChunk(ChunkPos chunkPos, DebugValueSource.ValueGetter<T> getter) protected voidTrackingDebugSynchronizer.PoiSynchronizer.sendInitialChunk(ServerPlayer player, ChunkPos chunkPos) protected voidTrackingDebugSynchronizer.sendInitialChunk(ServerPlayer player, ChunkPos chunkPos) protected voidTrackingDebugSynchronizer.SourceSynchronizer.sendInitialChunk(ServerPlayer player, ChunkPos chunkPos) protected voidTrackingDebugSynchronizer.VillageSectionSynchronizer.sendInitialChunk(ServerPlayer player, ChunkPos chunkPos) protected final voidTrackingDebugSynchronizer.sendToPlayersTrackingChunk(ServerLevel level, ChunkPos trackedChunk, Packet<? super ClientGamePacketListener> packet) voidLevelDebugSynchronizers.startTrackingChunk(ServerPlayer player, ChunkPos chunkPos) final voidTrackingDebugSynchronizer.startTrackingChunk(ServerPlayer player, ChunkPos chunkPos) Method parameters in net.minecraft.util.debug with type arguments of type ChunkPosModifier and TypeMethodDescription<T> voidDebugValueAccess.forEachChunk(DebugSubscription<T> subscription, BiConsumer<ChunkPos, T> consumer) -
Uses of ChunkPos in net.minecraft.util.filefix.access
Methods in net.minecraft.util.filefix.access with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidChunkNbt.updateChunk(ChunkPos pos, CompoundTag dataFixContext, UnaryOperator<CompoundTag> fixer) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type ChunkPosModifier and TypeMethodDescription@Nullable ProfiledDurationJfrProfiler.onChunkGenerate(ChunkPos pos, ResourceKey<Level> dimension, String name) @Nullable ProfiledDurationJvmProfiler.NoOpProfiler.onChunkGenerate(ChunkPos pos, ResourceKey<Level> dimension, String name) @Nullable ProfiledDurationJvmProfiler.onChunkGenerate(ChunkPos pos, ResourceKey<Level> dimension, String name) voidJfrProfiler.onRegionFileRead(RegionStorageInfo info, ChunkPos pos, RegionFileVersion version, int readBytes) voidJvmProfiler.NoOpProfiler.onRegionFileRead(RegionStorageInfo info, ChunkPos pos, RegionFileVersion version, int readBytes) voidJvmProfiler.onRegionFileRead(RegionStorageInfo info, ChunkPos pos, RegionFileVersion version, int readBytes) voidJfrProfiler.onRegionFileWrite(RegionStorageInfo info, ChunkPos pos, RegionFileVersion version, int writtenBytes) voidJvmProfiler.NoOpProfiler.onRegionFileWrite(RegionStorageInfo info, ChunkPos pos, RegionFileVersion version, int writtenBytes) voidJvmProfiler.onRegionFileWrite(RegionStorageInfo info, ChunkPos pos, RegionFileVersion version, int writtenBytes) @Nullable ProfiledDurationJfrProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) JvmProfiler.NoOpProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) @Nullable ProfiledDurationJvmProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type ChunkPosModifierConstructorDescriptionChunkGenerationEvent(ChunkPos pos, ResourceKey<Level> dimension, String name) protectedChunkRegionIoEvent(RegionStorageInfo info, ChunkPos chunkPos, RegionFileVersion version, int bytes) ChunkRegionReadEvent(RegionStorageInfo info, ChunkPos chunkPos, RegionFileVersion version, int bytes) ChunkRegionWriteEvent(RegionStorageInfo info, ChunkPos chunkPos, RegionFileVersion version, int bytes) StructureGenerationEvent(ChunkPos sourceChunkPos, Holder<Structure> structure, ResourceKey<Level> level) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr.stats
Fields in net.minecraft.util.profiling.jfr.stats declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPosChunkGenStat.chunkPosThe field for thechunkPosrecord component.private final ChunkPosStructureGenStat.chunkPosThe field for thechunkPosrecord component.Methods in net.minecraft.util.profiling.jfr.stats that return ChunkPosModifier and TypeMethodDescriptionChunkGenStat.chunkPos()Returns the value of thechunkPosrecord component.StructureGenStat.chunkPos()Returns the value of thechunkPosrecord component.Constructors in net.minecraft.util.profiling.jfr.stats with parameters of type ChunkPosModifierConstructorDescriptionChunkGenStat(Duration duration, ChunkPos chunkPos, ColumnPos worldPos, ChunkStatus status, String level) Creates an instance of aChunkGenStatrecord class.StructureGenStat(Duration duration, ChunkPos chunkPos, String structureName, String level, boolean success) Creates an instance of aStructureGenStatrecord class. -
Uses of ChunkPos in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate with type parameters of type ChunkPosModifier and TypeFieldDescriptionFileToUpgrade.chunksToUpgradeThe field for thechunksToUpgraderecord component.Methods in net.minecraft.util.worldupdate that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionFileToUpgrade.chunksToUpgrade()Returns the value of thechunksToUpgraderecord component.Methods in net.minecraft.util.worldupdate with parameters of type ChunkPosModifier and TypeMethodDescriptionbooleanRegionStorageUpgrader.TagModifier.modifyTagAfterFix(ChunkPos pos, CompoundTag upgradedTag) private booleanRegionStorageUpgrader.processOnePosition(SimpleRegionStorage storage, ChunkPos pos) protected booleanRegionStorageUpgrader.tryProcessOnePosition(SimpleRegionStorage storage, ChunkPos pos) static booleanWorldUpgrader.verifyChunkPos(ChunkPos pos, CompoundTag upgradedTag) static booleanWorldUpgrader.verifyChunkPosAndEraseCache(ChunkPos pos, CompoundTag upgradedTag) Constructor parameters in net.minecraft.util.worldupdate with type arguments of type ChunkPosModifierConstructorDescriptionFileToUpgrade(RegionFile file, List<ChunkPos> chunksToUpgrade) Creates an instance of aFileToUpgraderecord class. -
Uses of ChunkPos in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as ChunkPosMethods in net.minecraft.world.entity that return ChunkPos -
Uses of ChunkPos in net.minecraft.world.entity.ai.village.poi
Methods in net.minecraft.world.entity.ai.village.poi with parameters of type ChunkPosModifier and TypeMethodDescriptionPoiManager.getInChunk(Predicate<Holder<PoiType>> predicate, ChunkPos chunkPos, PoiManager.Occupancy occupancy) -
Uses of ChunkPos in net.minecraft.world.entity.raid
Methods in net.minecraft.world.entity.raid with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ChunkPosFields in net.minecraft.world.level with type parameters of type ChunkPosModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ChunkPos> ChunkPos.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, ChunkPos> ChunkPos.STREAM_CODECprivate static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> TicketStorage.TICKET_ENTRYMethods in net.minecraft.world.level that return ChunkPosModifier and TypeMethodDescriptionstatic ChunkPosChunkPos.containing(BlockPos pos) static ChunkPosChunkPos.maxFromRegion(int regionX, int regionZ) static ChunkPosChunkPos.minFromRegion(int regionX, int regionZ) static ChunkPosChunkPos.unpack(long key) Methods in net.minecraft.world.level that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionTicketStorage.packTickets()ChunkPos.rangeClosed(ChunkPos center, int radius) ChunkPos.rangeClosed(ChunkPos from, ChunkPos to) Methods in net.minecraft.world.level with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidLocalMobCapCalculator.addMob(ChunkPos pos, MobCategory category) voidvoidTicketStorage.addTicketWithRadius(TicketType type, ChunkPos chunkPos, int radius) booleanLocalMobCapCalculator.canSpawn(MobCategory mobCategory, ChunkPos pos) private booleanNaturalSpawner.SpawnState.canSpawnForCategoryLocal(MobCategory mobCategory, ChunkPos chunkPos) StructureManager.checkStructurePresence(ChunkPos pos, Structure structure, StructurePlacement placement, boolean createReference) intChunkPos.distanceSquared(ChunkPos pos) intChunkPos.getChessboardDistance(ChunkPos pos) private List<ServerPlayer> LocalMobCapCalculator.getPlayersNear(ChunkPos pos) ChunkPos.rangeClosed(ChunkPos center, int radius) ChunkPos.rangeClosed(ChunkPos from, ChunkPos to) voidTicketStorage.removeTicket(Ticket ticket, ChunkPos chunkPos) voidTicketStorage.removeTicketWithRadius(TicketType type, ChunkPos chunkPos, int radius) booleanTicketStorage.shouldForceNaturalSpawning(ChunkPos chunkPos) static voidNaturalSpawner.spawnMobsForChunkGeneration(ServerLevelAccessor level, Holder<Biome> biome, ChunkPos chunkPos, RandomSource random) StructureManager.startsForStructure(ChunkPos pos, Predicate<Structure> matcher) booleanTicketStorage.updateChunkForced(ChunkPos chunkPos, boolean forced) Method parameters in net.minecraft.world.level with type arguments of type ChunkPosModifier and TypeMethodDescriptionprivate voidTicketStorage.forEachTicket(BiConsumer<ChunkPos, Ticket> output) private static voidTicketStorage.forEachTicket(BiConsumer<ChunkPos, Ticket> output, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> tickets) private static TicketStorageTicketStorage.fromPacked(List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> tickets) -
Uses of ChunkPos in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic BlockPosBlockEntity.getPosFromTag(ChunkPos base, CompoundTag entityTag) -
Uses of ChunkPos in net.minecraft.world.level.border
Methods in net.minecraft.world.level.border with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk declared as ChunkPosModifier and TypeFieldDescriptionprotected final ChunkPosChunkAccess.chunkPosprivate final ChunkPosChunkAccess.ChunkPathElement.posThe field for theposrecord component.Fields in net.minecraft.world.level.chunk with type parameters of type ChunkPosModifier and TypeFieldDescriptionprivate final Map<ConcentricRingsStructurePlacement, CompletableFuture<List<ChunkPos>>> ChunkGeneratorStructureState.ringPositionsMethods in net.minecraft.world.level.chunk that return ChunkPosModifier and TypeMethodDescriptionChunkAccess.getPos()ImposterProtoChunk.getPos()ChunkAccess.ChunkPathElement.pos()Returns the value of theposrecord component.Methods in net.minecraft.world.level.chunk that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionprivate CompletableFuture<List<ChunkPos>> ChunkGeneratorStructureState.generateRingPositions(Holder<StructureSet> structureSet, ConcentricRingsStructurePlacement placement) ChunkGeneratorStructureState.getRingPositionsFor(ConcentricRingsStructurePlacement placement) Methods in net.minecraft.world.level.chunk with parameters of type ChunkPosModifier and TypeMethodDescriptionLevelChunk.getAuxLightManager(ChunkPos pos) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, boolean createReference, StructurePlacement config, ChunkPos chunkTarget) static ProblemReporter.PathElementChunkAccess.problemPath(ChunkPos pos) voidLevelChunk.UnsavedListener.setUnsaved(ChunkPos chunkPos) private booleanChunkGenerator.tryGenerateStructure(StructureSet.StructureSelectionEntry selected, StructureManager structureManager, RegistryAccess registryAccess, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess centerChunk, ChunkPos sourceChunkPos, SectionPos sectionPos, ResourceKey<Level> level) static BlockPosProtoChunk.unpackOffsetCoordinates(short packedCoord, int sectionY, ChunkPos chunkPos) booleanChunkSource.updateChunkForced(ChunkPos pos, boolean forced) Constructors in net.minecraft.world.level.chunk with parameters of type ChunkPosModifierConstructorDescriptionChunkAccess(ChunkPos chunkPos, UpgradeData upgradeData, LevelHeightAccessor levelHeightAccessor, PalettedContainerFactory containerFactory, long inhabitedTime, LevelChunkSection @Nullable [] sections, @Nullable BlendingData blendingData) privateChunkPathElement(ChunkPos pos) Creates an instance of aChunkPathElementrecord class.EmptyLevelChunk(Level level, ChunkPos pos, Holder<Biome> biome) LevelChunk(Level level, ChunkPos pos) LevelChunk(Level level, ChunkPos pos, UpgradeData upgradeData, LevelChunkTicks<Block> blockTicks, LevelChunkTicks<Fluid> fluidTicks, long inhabitedTime, LevelChunkSection @Nullable [] sections, @Nullable LevelChunk.PostLoadProcessor postLoad, @Nullable BlendingData blendingData) ProtoChunk(ChunkPos chunkPos, UpgradeData upgradeData, LevelChunkSection @Nullable [] sections, ProtoChunkTicks<Block> blockTicks, ProtoChunkTicks<Fluid> fluidTicks, LevelHeightAccessor levelHeightAccessor, PalettedContainerFactory containerFactory, @Nullable BlendingData blendingData) ProtoChunk(ChunkPos chunkPos, UpgradeData upgradeData, LevelHeightAccessor levelHeightAccessor, PalettedContainerFactory containerFactory, @Nullable BlendingData blendingData) -
Uses of ChunkPos in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPosSerializableChunkData.chunkPosThe field for thechunkPosrecord component.private final ChunkPosRegionFile.ChunkBuffer.posFields in net.minecraft.world.level.chunk.storage with type parameters of type ChunkPosModifier and TypeFieldDescriptionprivate final SequencedMap<ChunkPos, IOWorker.PendingStore> IOWorker.pendingWritesMethods in net.minecraft.world.level.chunk.storage that return ChunkPosModifier and TypeMethodDescriptionSerializableChunkData.chunkPos()Returns the value of thechunkPosrecord component.Methods in net.minecraft.world.level.chunk.storage with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidprivate @Nullable DataInputStreamRegionFile.createChunkInputStream(ChunkPos pos, byte versionId, InputStream chunkStream) private @Nullable DataInputStreamRegionFile.createExternalChunkInputStream(ChunkPos pos, byte versionId) static ReportedExceptionChunkIOErrorReporter.createMisplacedChunkReport(ChunkPos storedPos, ChunkPos requestedPos) booleanRegionFile.doesChunkExist(ChunkPos pos) private static ChunkEntities<Entity> EntityStorage.emptyChunk(ChunkPos pos) void@Nullable DataInputStreamRegionFile.getChunkDataInputStream(ChunkPos pos) RegionFile.getChunkDataOutputStream(ChunkPos pos) Creates a newInputStreamfor a chunk stored in a separate file.private PathRegionFile.getExternalChunkPath(ChunkPos pos) Gets the path to store a chunk that can not be stored within the region file because it's larger than 1 MiB.private static longprivate intprivate static intRegionFile.getOffsetIndex(ChunkPos pos) Gets the offset within the region file where the chunk metadata for a chunk can be found.private RegionFileRegionFileStorage.getRegionFile(ChunkPos pos) booleanbooleanIOWorker.isOldChunkAround(ChunkPos pos, int range) booleanSimpleRegionStorage.isOldChunkAround(ChunkPos pos, int range) EntityStorage.loadEntities(ChunkPos pos) private static voidprivate static CompoundTagSerializableChunkData.packStructureData(StructurePieceSerializationContext context, ChunkPos pos, Map<Structure, StructureStart> starts, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> references) @Nullable CompoundTagSerializableChunkData.read(ServerLevel level, PoiManager poiManager, RegionStorageInfo regionInfo, ChunkPos pos) voidNeo: Removes the data for the given chunk position.voidChunkIOErrorReporter.reportChunkLoadFailure(Throwable throwable, RegionStorageInfo storageInfo, ChunkPos pos) voidChunkIOErrorReporter.reportChunkSaveFailure(Throwable throwable, RegionStorageInfo storageInfo, ChunkPos pos) private voidEntityStorage.reportLoadFailureIfPresent(CompletableFuture<?> operation, ChunkPos pos) default voidChunkIOErrorReporter.reportMisplacedChunk(ChunkPos storedPos, ChunkPos requestedPos, RegionStorageInfo storageInfo) private voidEntityStorage.reportSaveFailureIfPresent(CompletableFuture<?> operation, ChunkPos pos) private voidIOWorker.runStore(ChunkPos pos, IOWorker.PendingStore write) ChunkScanAccess.scanChunk(ChunkPos pos, StreamTagVisitor visitor) IOWorker.scanChunk(ChunkPos pos, StreamTagVisitor visitor) voidRegionFileStorage.scanChunk(ChunkPos pos, StreamTagVisitor scanner) IOWorker.store(ChunkPos pos, Supplier<CompoundTag> supplier) IOWorker.store(ChunkPos pos, CompoundTag value) private CompletableFuture<Optional<SectionStorage.PackedChunk<P>>> private voidSectionStorage.unpackChunk(ChunkPos chunkPos) private voidSectionStorage.unpackChunk(ChunkPos pos, @Nullable SectionStorage.PackedChunk<P> packedChunk) SerializableChunkData.unpackStructureReferences(RegistryAccess registryAccess, ChunkPos pos, CompoundTag tag) RecreatingSimpleRegionStorage.write(ChunkPos pos, Supplier<CompoundTag> supplier) protected voidRegionFile.write(ChunkPos pos, ByteBuffer data) protected voidRegionFileStorage.write(ChunkPos pos, @Nullable CompoundTag value) SimpleRegionStorage.write(ChunkPos pos, Supplier<CompoundTag> supplier) SimpleRegionStorage.write(ChunkPos pos, CompoundTag value) private voidSectionStorage.writeChunk(ChunkPos chunkPos) private <T> com.mojang.serialization.Dynamic<T> SectionStorage.writeChunk(ChunkPos chunkPos, com.mojang.serialization.DynamicOps<T> ops) Constructors in net.minecraft.world.level.chunk.storage with parameters of type ChunkPosModifierConstructorDescriptionChunkBuffer(ChunkPos pos) SerializableChunkData(PalettedContainerFactory containerFactory, ChunkPos chunkPos, int minSectionY, long lastUpdateTime, long inhabitedTime, ChunkStatus chunkStatus, @Nullable BlendingData.Packed blendingData, @Nullable BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, long @Nullable [] carvingMask, Map<Heightmap.Types, long[]> heightmaps, ChunkAccess.PackedTicks packedTicks, @Nullable it.unimi.dsi.fastutil.shorts.ShortList[] postProcessingSections, boolean lightCorrect, List<SerializableChunkData.SectionData> sectionData, List<CompoundTag> entities, List<CompoundTag> blockEntities, CompoundTag structureData, @Nullable CompoundTag attachmentData, @Nullable ListTag auxLightData) Creates an instance of aSerializableChunkDatarecord class.(package private)SerializableChunkData(PalettedContainerFactory containerFactory, ChunkPos chunkPos, int minSectionY, long lastUpdateTime, long inhabitedTime, ChunkStatus chunkStatus, @Nullable BlendingData.Packed blendingData, @Nullable BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, long @Nullable [] carvingMask, Map<Heightmap.Types, long[]> heightmaps, ChunkAccess.PackedTicks packedTicks, it.unimi.dsi.fastutil.shorts.ShortList[] postProcessingSections, boolean lightCorrect, List<SerializableChunkData.SectionData> sectionData, List<CompoundTag> entities, List<CompoundTag> blockEntities, CompoundTag structureData) Deprecated.Neo: use constructor with additional data instead -
Uses of ChunkPos in net.minecraft.world.level.entity
Fields in net.minecraft.world.level.entity declared as ChunkPosMethods in net.minecraft.world.level.entity that return ChunkPosMethods in net.minecraft.world.level.entity with parameters of type ChunkPosModifier and TypeMethodDescriptionbooleanPersistentEntitySectionManager.canPositionTick(ChunkPos pos) booleanEntityPersistentStorage.loadEntities(ChunkPos pos) voidChunkStatusUpdateListener.onChunkStatusChange(ChunkPos pos, FullChunkStatus chunkStatus) voidTransientEntitySectionManager.startTicking(ChunkPos pos) voidTransientEntitySectionManager.stopTicking(ChunkPos pos) voidPersistentEntitySectionManager.updateChunkStatus(ChunkPos pos, FullChunkStatus fullChunkStatus) voidPersistentEntitySectionManager.updateChunkStatus(ChunkPos pos, Visibility chunkStatus) Constructors in net.minecraft.world.level.entity with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.world.level.levelgen
Methods in net.minecraft.world.level.levelgen with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic AquiferAquifer.create(NoiseChunk noiseChunk, ChunkPos pos, NoiseRouter router, PositionalRandomFactory positionalRandomFactory, int minBlockY, int yBlockSize, Aquifer.FluidPicker fluidRule) Creates a standard noise based aquifer.static BeardifierBeardifier.forStructuresInChunk(StructureManager structureManager, ChunkPos chunkPos) Constructors in net.minecraft.world.level.levelgen with parameters of type ChunkPosModifierConstructorDescriptionprivateNoiseBasedAquifer(NoiseChunk noiseChunk, ChunkPos pos, NoiseRouter router, PositionalRandomFactory positionalRandomFactory, int minBlockY, int yBlockSize, Aquifer.FluidPicker globalFluidPicker) -
Uses of ChunkPos in net.minecraft.world.level.levelgen.carver
Methods in net.minecraft.world.level.levelgen.carver with parameters of type ChunkPosModifier and TypeMethodDescriptionprotected static booleanWorldCarver.canReach(ChunkPos chunkPos, double x, double z, int currentStep, int totalSteps, float thickness) booleanCanyonWorldCarver.carve(CarvingContext context, CanyonCarverConfiguration configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) booleanCaveWorldCarver.carve(CarvingContext context, CaveCarverConfiguration configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) booleanConfiguredWorldCarver.carve(CarvingContext context, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) abstract booleanWorldCarver.carve(CarvingContext context, C configuration, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeGetter, RandomSource random, Aquifer aquifer, ChunkPos sourceChunkPos, CarvingMask mask) Carves the given chunk with caves that originate from the givenchunkPos. -
Uses of ChunkPos in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as ChunkPosModifier and TypeFieldDescriptionprivate static final ChunkPosVoidStartPlatformFeature.PLATFORM_ORIGIN_CHUNK -
Uses of ChunkPos in net.minecraft.world.level.levelgen.placement
Methods in net.minecraft.world.level.levelgen.placement with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPosStructure.GenerationContext.chunkPosThe field for thechunkPosrecord component.private final ChunkPosStructureStart.chunkPosMethods in net.minecraft.world.level.levelgen.structure that return ChunkPosModifier and TypeMethodDescriptionStructure.GenerationContext.chunkPos()Returns the value of thechunkPosrecord component.StructureStart.getChunkPos()Methods in net.minecraft.world.level.levelgen.structure that return types with arguments of type ChunkPosMethods in net.minecraft.world.level.levelgen.structure with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidPostPlacementProcessor.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) voidStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) private booleanStructureCheck.canCreateStructure(ChunkPos pos, Structure structure) StructureCheck.checkStart(ChunkPos pos, Structure structure, StructurePlacement placement, boolean requireUnreferenced) StructureStart.createTag(StructurePieceSerializationContext context, ChunkPos chunkPos) Structure.generate(Holder<Structure> selected, ResourceKey<Level> dimension, RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos sourceChunkPos, int references, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) voidStructureCheck.incrementReference(ChunkPos chunkPos, Structure structure) booleanStructurePiece.isCloseToChunk(ChunkPos pos, int distance) private static WorldgenRandomStructure.GenerationContext.makeRandom(long seed, ChunkPos chunkPos) voidStructureCheck.onStructureLoad(ChunkPos pos, Map<Structure, StructureStart> starts) voidStructureStart.placeInChunk(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos) voidPoolElementStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) abstract voidStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidTemplateStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) private @Nullable StructureCheckResultStructureCheck.tryLoadFromStorage(ChunkPos pos, Structure structure, boolean requireUnreferenced, long posKey) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type ChunkPosModifierConstructorDescriptionGenerationContext(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) GenerationContext(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, WorldgenRandom random, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Creates an instance of aGenerationContextrecord class.StructureStart(Structure structure, ChunkPos chunkPos, int references, PiecesContainer pieceContainer) -
Uses of ChunkPos in net.minecraft.world.level.levelgen.structure.pieces
Fields in net.minecraft.world.level.levelgen.structure.pieces declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPosPieceGenerator.Context.chunkPosThe field for thechunkPosrecord component.private final ChunkPosPieceGeneratorSupplier.Context.chunkPosThe field for thechunkPosrecord component.Methods in net.minecraft.world.level.levelgen.structure.pieces that return ChunkPosModifier and TypeMethodDescriptionPieceGenerator.Context.chunkPos()Returns the value of thechunkPosrecord component.PieceGeneratorSupplier.Context.chunkPos()Returns the value of thechunkPosrecord component.Constructors in net.minecraft.world.level.levelgen.structure.pieces with parameters of type ChunkPosModifierConstructorDescriptionContext(C config, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, WorldgenRandom random, long seed) Creates an instance of aContextrecord class.Context(ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, long seed, ChunkPos chunkPos, C config, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome, StructureTemplateManager structureTemplateManager, RegistryAccess registryAccess) Creates an instance of aContextrecord class. -
Uses of ChunkPos in net.minecraft.world.level.levelgen.structure.placement
Methods in net.minecraft.world.level.levelgen.structure.placement that return ChunkPosModifier and TypeMethodDescriptionRandomSpreadStructurePlacement.getPotentialStructureChunk(long seed, int sourceX, int sourceZ) Methods in net.minecraft.world.level.levelgen.structure.placement with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.world.level.levelgen.structure.structures
Methods in net.minecraft.world.level.levelgen.structure.structures with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidDesertPyramidStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) voidWoodlandMansionStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, PiecesContainer pieces) private static StructurePieceOceanMonumentStructure.createTopPiece(ChunkPos chunkPos, WorldgenRandom random) voidBuriedTreasurePieces.BuriedTreasurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidDesertPyramidPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidIglooPieces.IglooPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidJungleTemplePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidMineshaftPieces.MineShaftStairs.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.BridgeCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.BridgeEndFiller.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.BridgeStraight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleCorridorStairsPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleCorridorTBalconyPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleEntrance.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.CastleStalkRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.MonsterThrone.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFortressPieces.StairsRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidNetherFossilPieces.NetherFossilPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.MonumentBuilding.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentCoreRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentEntryRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentPenthouse.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentSimpleRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanMonumentPieces.OceanMonumentWingRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidOceanRuinPieces.OceanRuinPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidRuinedPortalPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidShipwreckPieces.ShipwreckPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.ChestCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.FillerCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.FiveCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.LeftTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.Library.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.PortalRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.PrisonHall.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.RightTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.StairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.Straight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidStrongholdPieces.StraightStairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) voidSwampHutPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) static PiecesContainerOceanMonumentStructure.regeneratePiecesAfterLoad(ChunkPos chunkPos, long seed, PiecesContainer savedPieces) -
Uses of ChunkPos in net.minecraft.world.level.lighting
Methods in net.minecraft.world.level.lighting with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidBlockLightEngine.propagateLightSources(ChunkPos pos) voidLayerLightEventListener.DummyLightLayerEventListener.propagateLightSources(ChunkPos pos) voidLevelLightEngine.propagateLightSources(ChunkPos pos) voidLightEventListener.propagateLightSources(ChunkPos pos) voidSkyLightEngine.propagateLightSources(ChunkPos pos) voidLevelLightEngine.retainData(ChunkPos pos, boolean retain) voidLightEngine.retainData(ChunkPos pos, boolean retain) voidLayerLightEventListener.DummyLightLayerEventListener.setLightEnabled(ChunkPos pos, boolean enable) voidLevelLightEngine.setLightEnabled(ChunkPos pos, boolean enable) voidLightEngine.setLightEnabled(ChunkPos pos, boolean enable) voidLightEventListener.setLightEnabled(ChunkPos pos, boolean enable) voidSkyLightEngine.setLightEnabled(ChunkPos pos, boolean enable) -
Uses of ChunkPos in net.minecraft.world.ticks
Methods in net.minecraft.world.ticks with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidLevelTicks.addContainer(ChunkPos pos, LevelChunkTicks<T> container) SavedTick.filterTickListForChunk(List<SavedTick<T>> savedTicks, ChunkPos chunkPos) voidLevelTicks.removeContainer(ChunkPos pos) -
Uses of ChunkPos in net.minecraft.world.waypoints
Fields in net.minecraft.world.waypoints declared as ChunkPosModifier and TypeFieldDescriptionprivate ChunkPosTrackedWaypoint.ChunkWaypoint.chunkPosprivate ChunkPosWaypointTransmitter.EntityChunkConnection.lastPositionMethods in net.minecraft.world.waypoints with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic booleanWaypointTransmitter.isChunkVisible(ChunkPos chunkPos, ServerPlayer receiver) static TrackedWaypointTrackedWaypoint.setChunk(UUID identifier, Waypoint.Icon icon, ChunkPos chunk) Constructors in net.minecraft.world.waypoints with parameters of type ChunkPosModifierConstructorDescriptionChunkWaypoint(UUID identifier, Waypoint.Icon icon, ChunkPos chunkPos) -
Uses of ChunkPos in net.neoforged.neoforge.capabilities
Methods in net.neoforged.neoforge.capabilities with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidCapabilityListenerHolder.invalidateChunk(ChunkPos chunkPos) Invalidates listeners at a specific chunk position. -
Uses of ChunkPos in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common with type parameters of type ChunkPosModifier and TypeFieldDescriptionprivate static final Map<LevelReader, Map<ChunkPos, ChunkTicketManager<Vec3>>> FarmlandWaterManager.customWaterHandlerMethods in net.neoforged.neoforge.common with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic <T extends SimpleTicket<Vec3>>
TFarmlandWaterManager.addCustomTicket(Level level, T ticket, ChunkPos masterChunk, ChunkPos... additionalChunks) Adds a custom ticket.private static doubleFarmlandWaterManager.getDistanceSq(ChunkPos pos, Vec3 vec3d) private static ChunkTicketManager<Vec3> FarmlandWaterManager.getTicketManager(ChunkPos pos, LevelReader level) -
Uses of ChunkPos in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type ChunkPosModifier and TypeMethodDescriptiondefault @Nullable AuxiliaryLightManagerIBlockGetterExtension.getAuxLightManager(ChunkPos pos) Get theAuxiliaryLightManagerof the chunk at the givenChunkPos.default voidILevelExtension.invalidateCapabilities(ChunkPos pos) Notify all listeners that the capabilities at all the positions in a chunk might have changed. -
Uses of ChunkPos in net.neoforged.neoforge.common.ticket
Fields in net.neoforged.neoforge.common.ticket declared as ChunkPosConstructors in net.neoforged.neoforge.common.ticket with parameters of type ChunkPos -
Uses of ChunkPos in net.neoforged.neoforge.common.util
Classes in net.neoforged.neoforge.common.util that implement interfaces with type arguments of type ChunkPosMethods in net.neoforged.neoforge.common.util with parameters of type ChunkPos -
Uses of ChunkPos in net.neoforged.neoforge.common.world.chunk
Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type ChunkPosModifier and TypeMethodDescriptionstatic TicketStorageForcedChunkManager.readStoredTickets(Function<List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>>, TicketStorage> vanillaInitializer, List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> tickets, List<ForcedChunkManager.OwnedChunks> ownedChunks) Reads any forced chunks we might have previously saved.static TicketStorageForcedChunkManager.readStoredTickets(Function<List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>>, TicketStorage> vanillaInitializer, List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> tickets, List<ForcedChunkManager.OwnedChunks> ownedChunks) Reads any forced chunks we might have previously saved. -
Uses of ChunkPos in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic voidEventHooks.fireChunkUnWatch(ServerPlayer entity, ChunkPos chunkpos, ServerLevel level) -
Uses of ChunkPos in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as ChunkPosMethods in net.neoforged.neoforge.event.level that return ChunkPosModifier and TypeMethodDescriptionChunkWatchEvent.getPos()Returns the chunk position this watch event is affecting.Constructors in net.neoforged.neoforge.event.level with parameters of type ChunkPosModifierConstructorDescriptionChunkWatchEvent(ServerPlayer player, ChunkPos pos, ServerLevel level) UnWatch(ServerPlayer player, ChunkPos pos, ServerLevel level) -
Uses of ChunkPos in net.neoforged.neoforge.network
Methods in net.neoforged.neoforge.network with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic voidPacketDistributor.sendToPlayersTrackingChunk(ServerLevel level, ChunkPos chunkPos, CustomPacketPayload payload, CustomPacketPayload... payloads) Send the given payload(s) to all players tracking the chunk at the given position in the given level -
Uses of ChunkPos in net.neoforged.neoforge.network.codec
Fields in net.neoforged.neoforge.network.codec with type parameters of type ChunkPosModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, ChunkPos> NeoForgeStreamCodecs.CHUNK_POS -
Uses of ChunkPos in net.neoforged.neoforge.network.payload
Fields in net.neoforged.neoforge.network.payload declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPosAuxiliaryLightDataPayload.posThe field for theposrecord component.private final ChunkPosSyncAttachmentsPayload.ChunkTarget.posThe field for theposrecord component.Methods in net.neoforged.neoforge.network.payload that return ChunkPosModifier and TypeMethodDescriptionAuxiliaryLightDataPayload.pos()Returns the value of theposrecord component.SyncAttachmentsPayload.ChunkTarget.pos()Returns the value of theposrecord component.Constructors in net.neoforged.neoforge.network.payload with parameters of type ChunkPosModifierConstructorDescriptionAuxiliaryLightDataPayload(ChunkPos pos, Map<BlockPos, Byte> entries) Creates an instance of aAuxiliaryLightDataPayloadrecord class.ChunkTarget(ChunkPos pos) Creates an instance of aChunkTargetrecord class. -
Uses of ChunkPos in net.neoforged.neoforge.server.command.generation
Subclasses with type arguments of type ChunkPos in net.neoforged.neoforge.server.command.generationModifier and TypeClassDescriptionclassSpecial thanks to Jasmine and Gegy for allowing us to use their pregenerator mod as a model to use in NeoForge!Classes in net.neoforged.neoforge.server.command.generation that implement interfaces with type arguments of type ChunkPosModifier and TypeClassDescriptionprivate static final classclassSpecial thanks to Jasmine and Gegy for allowing us to use their pregenerator mod as a model to use in NeoForge!Fields in net.neoforged.neoforge.server.command.generation with type parameters of type ChunkPosMethods in net.neoforged.neoforge.server.command.generation that return ChunkPosModifier and TypeMethodDescriptionprotected ChunkPosCoarseOnionIterator.computeNext()CoarseOnionIterator.CellIterator.next()OnionIterator.next()Methods in net.neoforged.neoforge.server.command.generation with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate CoarseOnionIterator.CellIteratorCoarseOnionIterator.createCellIterator(ChunkPos pos) private booleanGenerationTask.isChunkFullyGenerated(ChunkPos chunkPosInLocalSpace)