Uses of 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 ChunkPosModifier and TypeMethodDescriptionstatic booleanSharedConstants.debugVoidTerrain(ChunkPos 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 chunkPos) static voidSystemToast.onChunkSaveFailure(Minecraft minecraft, ChunkPos chunkPos) -
Uses of ChunkPos in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type 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 graphEvents, ChunkPos chunkPos) voidLevelRenderer.onChunkLoaded(ChunkPos chunkPos) voidSectionOcclusionGraph.onChunkLoaded(ChunkPos chunkPos) -
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.clientData(package private) 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 regionStorageInfo, ChunkPos chunkPos) voidIntegratedServer.reportChunkSaveFailure(Throwable throwable, RegionStorageInfo regionStorageInfo, ChunkPos chunkPos) -
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 chunkPos, int x, int y, int z) static SectionPos -
Uses of ChunkPos in net.minecraft.network
Methods in net.minecraft.network that return ChunkPosMethods in net.minecraft.network with parameters of type ChunkPosModifier and TypeMethodDescriptionFriendlyByteBuf.writeChunkPos(ChunkPos chunkPos) 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 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 TypeMethodDescriptionClientboundChunksBiomesPacket.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 TypeMethodDescriptionprivate voidClientboundLightUpdatePacketData.prepareSectionData(ChunkPos chunkPos, LevelLightEngine levelLightEngine, LightLayer lightLayer, int index, BitSet skyLight, BitSet blockLight, List<byte[]> updates) static voidDebugPackets.sendPoiPacketsForChunk(ServerLevel level, ChunkPos chunkPos) Constructors in net.minecraft.network.protocol.game with parameters of type ChunkPosModifierConstructorDescriptionChunkBiomeData(ChunkPos pos, byte[] buffer) Creates an instance of aChunkBiomeDatarecord class.Creates an instance of aClientboundForgetLevelChunkPacketrecord class.ClientboundLightUpdatePacket(ChunkPos chunkPos, LevelLightEngine lightEngine, BitSet skyLight, BitSet blockLight) ClientboundLightUpdatePacketData(ChunkPos chunkPos, LevelLightEngine lightEngine, BitSet skyLight, BitSet blockLight) -
Uses of ChunkPos in net.minecraft.server
Methods in net.minecraft.server with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidMinecraftServer.reportChunkLoadFailure(Throwable throwable, RegionStorageInfo regionStorageInfo, ChunkPos chunkPos) voidMinecraftServer.reportChunkSaveFailure(Throwable throwable, RegionStorageInfo regionStorageInfo, ChunkPos chunkPos) private voidMinecraftServer.storeChunkIoError(CrashReport crashReport, ChunkPos chunkPos, RegionStorageInfo regionStorageInfo) -
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 start, ChunkPos end) -
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.posFields in net.minecraft.server.level with type parameters of type ChunkPosModifier and TypeFieldDescriptionstatic final TicketType<ChunkPos> TicketType.FORCEDstatic final TicketType<ChunkPos> TicketType.PLAYERstatic final TicketType<ChunkPos> TicketType.UNKNOWNMethods 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 TypeMethodDescription<T> voidDistanceManager.addRegionTicket(TicketType<T> type, ChunkPos pos, int distance, T value) <T> voidDistanceManager.addRegionTicket(TicketType<T> type, ChunkPos pos, int distance, T value, boolean forceTicks) <T> voidServerChunkCache.addRegionTicket(TicketType<T> type, ChunkPos pos, int distance, T value) <T> voidServerChunkCache.addRegionTicket(TicketType<T> type, ChunkPos pos, int distance, T value, boolean forceTicks) <T> voidDistanceManager.addTicket(TicketType<T> type, ChunkPos pos, int level, T value) <T> voidTickingTracker.addTicket(TicketType<T> type, ChunkPos chunkPos, int ticketLevel, T key) (package private) booleanChunkMap.anyPlayerCloseEnoughForSpawning(ChunkPos chunkPos) default booleanstatic ChunkGenerationTaskChunkGenerationTask.create(GeneratingChunkMap chunkMap, ChunkStatus targetStatus, ChunkPos pos) private ChunkAccessChunkMap.createEmptyChunk(ChunkPos chunkPos) private static voidChunkMap.dropChunk(ServerPlayer player, ChunkPos chunkPos) private static doubleChunkMap.euclideanDistanceSquared(ChunkPos chunkPos, Entity entity) Returns the squared distance to the center of the chunk.ChunkMap.getChunkDebugData(ChunkPos pos) ServerChunkCache.getChunkDebugData(ChunkPos chunkPos) intChunkHolder.PlayerProvider.getPlayers(ChunkPos pos, boolean boundaryOnly) Returns the players tracking the given chunk.ChunkMap.getPlayers(ChunkPos pos, boolean boundaryOnly) Returns the players tracking the given chunk.ChunkMap.getPlayersCloseForSpawning(ChunkPos chunkPos) static BlockPosPlayerRespawnLogic.getSpawnPosInChunk(ServerLevel level, ChunkPos chunkPos) private ChunkAccessChunkMap.handleChunkLoadFailure(Throwable exception, ChunkPos chunkPos) voidServerLevel.invalidateCapabilities(ChunkPos pos) private booleanChunkMap.isExistingChunkFull(ChunkPos chunkPos) booleanServerLevel.isNaturalSpawningAllowed(ChunkPos chunkPos) booleanWorldGenRegion.isOldChunkAround(ChunkPos pos, int radius) private voidChunkMap.markChunkPendingToSend(ServerPlayer player, ChunkPos chunkPos) private byteChunkMap.markPosition(ChunkPos chunkPos, ChunkType chunkType) private voidChunkMap.markPositionReplaceable(ChunkPos chunkPos) static ChunkTrackingView(package private) voidChunkMap.onFullChunkStatusChange(ChunkPos chunkPos, FullChunkStatus fullChunkStatus) voidChunkHolder.LevelChangeListener.onLevelChange(ChunkPos chunkPos, IntSupplier queueLevelGetter, int ticketLevel, IntConsumer queueLevelSetter) voidChunkTaskPriorityQueueSorter.onLevelChange(ChunkPos chunkPos, IntSupplier queueLevelGetter, int ticketLevel, IntConsumer queueLevelSetter) private booleanChunkMap.playerIsCloseEnoughForSpawning(ServerPlayer player, ChunkPos chunkPos) voidThreadedLevelLightEngine.propagateLightSources(ChunkPos chunkPos) private CompletableFuture<Optional<CompoundTag>> <T> voidDistanceManager.removeRegionTicket(TicketType<T> type, ChunkPos pos, int distance, T value) <T> voidDistanceManager.removeRegionTicket(TicketType<T> type, ChunkPos pos, int distance, T value, boolean forceTicks) <T> voidServerChunkCache.removeRegionTicket(TicketType<T> type, ChunkPos pos, int distance, T value) <T> voidServerChunkCache.removeRegionTicket(TicketType<T> type, ChunkPos pos, int distance, T value, boolean forceTicks) <T> voidDistanceManager.removeTicket(TicketType<T> type, ChunkPos pos, int level, T value) <T> voidTickingTracker.removeTicket(TicketType<T> type, ChunkPos chunkPos, int ticketLevel, T key) protected voidChunkTaskPriorityQueue.resortChunkTasks(int queueLevel, ChunkPos chunkPos, int ticketLevel) voidThreadedLevelLightEngine.retainData(ChunkPos pos, boolean retain) private CompletableFuture<ChunkAccess> ChunkMap.scheduleChunkLoad(ChunkPos chunkPos) ChunkMap.scheduleGenerationTask(ChunkStatus targetStatus, ChunkPos pos) GeneratingChunkMap.scheduleGenerationTask(ChunkStatus targetStatus, ChunkPos pos) voidThreadedLevelLightEngine.setLightEnabled(ChunkPos chunkPos, boolean lightEnabled) protected voidDistanceManager.updateChunkForced(ChunkPos pos, boolean add) voidServerChunkCache.updateChunkForced(ChunkPos pos, boolean add) protected voidThreadedLevelLightEngine.updateChunkStatus(ChunkPos chunkPos) voidChunkMap.waitForLightBeforeSending(ChunkPos chunkPos, int range) Method parameters in net.minecraft.server.level with type arguments of type ChunkPosModifier and TypeMethodDescriptionstatic voidChunkTrackingView.difference(ChunkTrackingView oldChunkTrackingView, ChunkTrackingView newChunkTrackingView, Consumer<ChunkPos> chunkMarker, Consumer<ChunkPos> chunkDropper) 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
Fields in net.minecraft.server.level.progress declared as ChunkPosMethods in net.minecraft.server.level.progress with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidChunkProgressListener.onStatusChange(ChunkPos chunkPos, ChunkStatus chunkStatus) voidLoggerChunkProgressListener.onStatusChange(ChunkPos chunkPos, ChunkStatus chunkStatus) voidProcessorChunkProgressListener.onStatusChange(ChunkPos chunkPos, ChunkStatus chunkStatus) voidStoringChunkProgressListener.onStatusChange(ChunkPos chunkPos, ChunkStatus chunkStatus) voidChunkProgressListener.updateSpawnPos(ChunkPos center) voidLoggerChunkProgressListener.updateSpawnPos(ChunkPos center) voidProcessorChunkProgressListener.updateSpawnPos(ChunkPos center) voidStoringChunkProgressListener.updateSpawnPos(ChunkPos center) -
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 chunkPos) voidPlayerChunkSender.dropChunk(ServerPlayer player, ChunkPos chunkPos) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type ChunkPosModifier and TypeMethodDescriptionJfrProfiler.onChunkGenerate(ChunkPos chunkPos, ResourceKey<Level> level, String name) JvmProfiler.NoOpProfiler.onChunkGenerate(ChunkPos p_185370_, ResourceKey<Level> p_185371_, String p_185372_) JvmProfiler.onChunkGenerate(ChunkPos chunkPos, ResourceKey<Level> level, String name) voidJfrProfiler.onRegionFileRead(RegionStorageInfo regionStorageInfo, ChunkPos chunkPos, RegionFileVersion version, int bytes) voidJvmProfiler.NoOpProfiler.onRegionFileRead(RegionStorageInfo p_326355_, ChunkPos p_325955_, RegionFileVersion p_326373_, int p_326370_) voidJvmProfiler.onRegionFileRead(RegionStorageInfo regionStorageInfo, ChunkPos chunkPos, RegionFileVersion version, int bytes) voidJfrProfiler.onRegionFileWrite(RegionStorageInfo regionStorageInfo, ChunkPos chunkPos, RegionFileVersion version, int bytes) voidJvmProfiler.NoOpProfiler.onRegionFileWrite(RegionStorageInfo p_326307_, ChunkPos p_326173_, RegionFileVersion p_325998_, int p_326021_) voidJvmProfiler.onRegionFileWrite(RegionStorageInfo regionStorageInfo, ChunkPos chunkPos, RegionFileVersion version, int bytes) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type ChunkPosModifierConstructorDescriptionChunkGenerationEvent(ChunkPos chunkPos, ResourceKey<Level> level, String targetStatus) ChunkRegionIoEvent(RegionStorageInfo regionStorageInfo, ChunkPos chunkPos, RegionFileVersion version, int bytes) ChunkRegionReadEvent(RegionStorageInfo p_326299_, ChunkPos p_326137_, RegionFileVersion p_326509_, int p_326225_) ChunkRegionWriteEvent(RegionStorageInfo p_326040_, ChunkPos p_326006_, RegionFileVersion p_326456_, int p_326368_) -
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.Methods in net.minecraft.util.profiling.jfr.stats that return ChunkPosModifier and TypeMethodDescriptionChunkGenStat.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. -
Uses of ChunkPos in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate with type parameters of type ChunkPosModifier and TypeFieldDescriptionWorldUpgrader.FileToUpgrade.chunksToUpgradeThe field for thechunksToUpgraderecord component.Methods in net.minecraft.util.worldupdate that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionWorldUpgrader.FileToUpgrade.chunksToUpgrade()Returns the value of thechunksToUpgraderecord component.Methods in net.minecraft.util.worldupdate with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate booleanWorldUpgrader.AbstractUpgrader.processOnePosition(ResourceKey<Level> dimesion, T storage, ChunkPos chunkPos) protected abstract booleanWorldUpgrader.AbstractUpgrader.tryProcessOnePosition(T chunkStorage, ChunkPos chunkPos, ResourceKey<Level> dimension) protected booleanWorldUpgrader.ChunkUpgrader.tryProcessOnePosition(ChunkStorage p_321581_, ChunkPos p_321524_, ResourceKey<Level> p_321488_) protected booleanWorldUpgrader.SimpleRegionStorageUpgrader.tryProcessOnePosition(SimpleRegionStorage chunkStorage, ChunkPos chunkPos, ResourceKey<Level> dimension) Constructor parameters in net.minecraft.util.worldupdate with type arguments of type ChunkPosModifierConstructorDescription(package private)FileToUpgrade(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>> typePredicate, ChunkPos posChunk, PoiManager.Occupancy status) -
Uses of ChunkPos in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ChunkPosMethods in net.minecraft.world.level that return ChunkPosModifier and TypeMethodDescriptionstatic ChunkPosChunkPos.maxFromRegion(int chunkX, int chunkZ) static ChunkPosChunkPos.minFromRegion(int chunkX, int chunkZ) Methods in net.minecraft.world.level that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionChunkPos.rangeClosed(ChunkPos center, int radius) ChunkPos.rangeClosed(ChunkPos start, ChunkPos end) Methods in net.minecraft.world.level with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidLocalMobCapCalculator.addMob(ChunkPos pos, MobCategory category) booleanLocalMobCapCalculator.canSpawn(MobCategory category, ChunkPos pos) (package private) booleanNaturalSpawner.SpawnState.canSpawnForCategory(MobCategory category, ChunkPos pos) StructureManager.checkStructurePresence(ChunkPos chunkPos, Structure structure, StructurePlacement placement, boolean skipKnownStructures) intChunkPos.distanceSquared(ChunkPos chunkPos) intChunkPos.getChessboardDistance(ChunkPos chunkPos) private List<ServerPlayer> LocalMobCapCalculator.getPlayersNear(ChunkPos pos) ChunkPos.rangeClosed(ChunkPos center, int radius) ChunkPos.rangeClosed(ChunkPos start, ChunkPos end) static voidNaturalSpawner.spawnMobsForChunkGeneration(ServerLevelAccessor levelAccessor, Holder<Biome> biome, ChunkPos chunkPos, RandomSource random) StructureManager.startsForStructure(ChunkPos chunkPos, Predicate<Structure> structurePredicate) -
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 ChunkPosFields 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 ChunkPosMethods 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>> structureHoldersSet, LevelReader level, StructureManager structureManager, boolean skipKnownStructures, StructurePlacement placement, ChunkPos chunkPos) private booleanChunkGenerator.tryGenerateStructure(StructureSet.StructureSelectionEntry structureSelectionEntry, StructureManager structureManager, RegistryAccess registryAccess, RandomState random, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess chunk, ChunkPos chunkPos, SectionPos sectionPos) static BlockPosProtoChunk.unpackOffsetCoordinates(short packedPos, int yOffset, ChunkPos chunkPos) voidChunkSource.updateChunkForced(ChunkPos pos, boolean add) Constructors in net.minecraft.world.level.chunk with parameters of type ChunkPosModifierConstructorDescriptionChunkAccess(ChunkPos chunkPos, UpgradeData upgradeData, LevelHeightAccessor levelHeightAccessor, Registry<Biome> biomeRegistry, long inhabitedTime, LevelChunkSection[] sections, BlendingData blendingData) EmptyLevelChunk(Level level, ChunkPos pos, Holder<Biome> biome) LevelChunk(Level level, ChunkPos pos) LevelChunk(Level level, ChunkPos pos, UpgradeData data, LevelChunkTicks<Block> blockTicks, LevelChunkTicks<Fluid> fluidTicks, long inhabitedTime, LevelChunkSection[] sections, LevelChunk.PostLoadProcessor postLoad, BlendingData blendingData) ProtoChunk(ChunkPos chunkPos, UpgradeData upgradeData, LevelChunkSection[] sections, ProtoChunkTicks<Block> blockTicks, ProtoChunkTicks<Fluid> liquidTicks, LevelHeightAccessor levelHeightAccessor, Registry<Biome> biomeRegistry, BlendingData blendingData) ProtoChunk(ChunkPos chunkPos, UpgradeData upgradeData, LevelHeightAccessor levelHeightAccessor, Registry<Biome> biomeRegistry, BlendingData blendingData) -
Uses of ChunkPos in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as ChunkPosFields in net.minecraft.world.level.chunk.storage with type parameters of type ChunkPosModifier and TypeFieldDescriptionprivate final Map<ChunkPos, IOWorker.PendingStore> IOWorker.pendingWritesMethods in net.minecraft.world.level.chunk.storage that return ChunkPosModifier and TypeMethodDescriptionprivate static ChunkPosEntityStorage.readChunkPos(CompoundTag tag) Methods in net.minecraft.world.level.chunk.storage with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidprivate DataInputStreamRegionFile.createChunkInputStream(ChunkPos chunkPos, byte versionByte, InputStream inputStream) private DataInputStreamRegionFile.createExternalChunkInputStream(ChunkPos chunkPos, byte versionByte) static ReportedExceptionChunkIOErrorReporter.createMisplacedChunkReport(ChunkPos pos, ChunkPos expectedPos) booleanRegionFile.doesChunkExist(ChunkPos chunkPos) private static ChunkEntities<Entity> EntityStorage.emptyChunk(ChunkPos pos) voidRegionFile.getChunkDataInputStream(ChunkPos chunkPos) RegionFile.getChunkDataOutputStream(ChunkPos chunkPos) Creates a newInputStreamfor a chunk stored in a separate file.private PathRegionFile.getExternalChunkPath(ChunkPos chunkPos) 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 chunkPos) Gets the offset within the region file where the chunk metadata for a chunk can be found.private RegionFileRegionFileStorage.getRegionFile(ChunkPos chunkPos) protected voidChunkStorage.handleLegacyStructureIndex(ChunkPos chunkPos) booleanbooleanChunkStorage.isOldChunkAround(ChunkPos pos, int radius) booleanIOWorker.isOldChunkAround(ChunkPos chunkPos, int radius) EntityStorage.loadEntities(ChunkPos pos) private static voidprivate static CompoundTagChunkSerializer.packStructureData(StructurePieceSerializationContext context, ChunkPos pos, Map<Structure, StructureStart> structureMap, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> referenceMap) static ProtoChunkChunkSerializer.read(ServerLevel level, PoiManager poiManager, RegionStorageInfo regionStorageInfo, ChunkPos pos, CompoundTag tag) private voidSectionStorage.readColumn(ChunkPos chunkPos) private voidSectionStorage.readColumn(ChunkPos chunkPos, RegistryOps<Tag> ops, CompoundTag tag) voidChunkIOErrorReporter.reportChunkLoadFailure(Throwable throwable, RegionStorageInfo regionStorageInfo, ChunkPos chunkPos) voidChunkIOErrorReporter.reportChunkSaveFailure(Throwable throwable, RegionStorageInfo regionStorageInfo, ChunkPos chunkPos) private voidEntityStorage.reportLoadFailureIfPresent(CompletableFuture<?> future, ChunkPos pos) default voidChunkIOErrorReporter.reportMisplacedChunk(ChunkPos pos, ChunkPos expectedPos, RegionStorageInfo regionStorageInfo) private voidEntityStorage.reportSaveFailureIfPresent(CompletableFuture<?> future, ChunkPos pos) private voidIOWorker.runStore(ChunkPos chunkPos, IOWorker.PendingStore pendingStore) ChunkScanAccess.scanChunk(ChunkPos chunkPos, StreamTagVisitor visitor) IOWorker.scanChunk(ChunkPos chunkPos, StreamTagVisitor visitor) voidRegionFileStorage.scanChunk(ChunkPos chunkPos, StreamTagVisitor visitor) IOWorker.store(ChunkPos chunkPos, CompoundTag chunkData) private CompletableFuture<Optional<CompoundTag>> ChunkSerializer.unpackStructureReferences(RegistryAccess registryAccess, ChunkPos pos, CompoundTag tag) ChunkStorage.write(ChunkPos chunkPos, CompoundTag data) RecreatingChunkStorage.write(ChunkPos chunkPos, CompoundTag data) RecreatingSimpleRegionStorage.write(ChunkPos chunkPos, CompoundTag data) protected voidRegionFile.write(ChunkPos chunkPos, ByteBuffer chunkData) protected voidRegionFileStorage.write(ChunkPos chunkPos, CompoundTag chunkData) SimpleRegionStorage.write(ChunkPos chunkPos, CompoundTag data) private static voidEntityStorage.writeChunkPos(CompoundTag tag, ChunkPos pos) private voidSectionStorage.writeColumn(ChunkPos chunkPos) private <T> com.mojang.serialization.Dynamic<T> SectionStorage.writeColumn(ChunkPos chunkPos, com.mojang.serialization.DynamicOps<T> ops) Constructors in net.minecraft.world.level.chunk.storage with parameters of type ChunkPos -
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 chunkPos) EntityPersistentStorage.loadEntities(ChunkPos pos) voidChunkStatusUpdateListener.onChunkStatusChange(ChunkPos chunkPos, FullChunkStatus fullChunkStatus) voidTransientEntitySectionManager.startTicking(ChunkPos pos) voidTransientEntitySectionManager.stopTicking(ChunkPos pos) voidPersistentEntitySectionManager.updateChunkStatus(ChunkPos chunkPos, FullChunkStatus fullChunkStatus) voidPersistentEntitySectionManager.updateChunkStatus(ChunkPos pos, Visibility p_visibility) 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 chunk, ChunkPos chunkPos, NoiseRouter noiseRouter, PositionalRandomFactory positionalRandomFactory, int minY, int height, Aquifer.FluidPicker globalFluidPicker) Creates a standard noise based aquifer.static BeardifierBeardifier.forStructuresInChunk(StructureManager structureManager, ChunkPos chunkPos) Constructors in net.minecraft.world.level.levelgen with parameters of type ChunkPosModifierConstructorDescription(package private)NoiseBasedAquifer(NoiseChunk noiseChunk, ChunkPos chunkPos, NoiseRouter noiseRouter, PositionalRandomFactory positionalRandomFactory, int minY, int height, 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 branchIndex, int branchCount, float width) booleanCanyonWorldCarver.carve(CarvingContext context, CanyonCarverConfiguration config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) Carves the given chunk with caves that originate from the givenchunkPos.booleanCaveWorldCarver.carve(CarvingContext context, CaveCarverConfiguration config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) Carves the given chunk with caves that originate from the givenchunkPos.booleanConfiguredWorldCarver.carve(CarvingContext context, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) abstract booleanWorldCarver.carve(CarvingContext context, C config, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) 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 ChunkPosModifier and TypeMethodDescriptionPlacementContext.getCarvingMask(ChunkPos chunkPos, GenerationStep.Carving step) -
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 box, ChunkPos chunkPos, PiecesContainer pieces) voidStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) private booleanStructureCheck.canCreateStructure(ChunkPos chunkPos, Structure structure) StructureCheck.checkStart(ChunkPos chunkPos, Structure structure, StructurePlacement placement, boolean skipKnownStructures) StructureStart.createTag(StructurePieceSerializationContext context, ChunkPos chunkPos) Structure.generate(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, int references, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) voidStructureCheck.incrementReference(ChunkPos pos, Structure structure) booleanStructurePiece.isCloseToChunk(ChunkPos chunkPos, int distance) private static WorldgenRandomStructure.GenerationContext.makeRandom(long seed, ChunkPos chunkPos) voidStructureCheck.onStructureLoad(ChunkPos chunkPos, Map<Structure, StructureStart> chunkStarts) voidStructureStart.placeInChunk(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos) voidPoolElementStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) abstract voidStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidTemplateStructurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) private StructureCheckResultStructureCheck.tryLoadFromStorage(ChunkPos chunkPos, Structure structure, boolean skipKnownStructures, long packedChunkPos) private CompoundTagLegacyStructureDataHandler.updateStructureStart(CompoundTag tag, ChunkPos chunkPos) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type ChunkPosModifierConstructorDescriptionGenerationContext(RegistryAccess p_226632_, ChunkGenerator p_226633_, BiomeSource p_226634_, RandomState p_226635_, StructureTemplateManager p_226636_, long p_226637_, ChunkPos p_226638_, LevelHeightAccessor p_226639_, Predicate<Holder<Biome>> p_226640_) 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 regionX, int regionZ) 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 chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) voidWoodlandMansionStructure.afterPlace(WorldGenLevel level, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) private static StructurePieceOceanMonumentStructure.createTopPiece(ChunkPos chunkPos, WorldgenRandom random) voidBuriedTreasurePieces.BuriedTreasurePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidDesertPyramidPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidIglooPieces.IglooPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidJungleTemplePiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidMineshaftPieces.MineShaftStairs.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.BridgeCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.BridgeEndFiller.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.BridgeStraight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleCorridorStairsPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleCorridorTBalconyPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleEntrance.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.CastleStalkRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.MonsterThrone.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFortressPieces.StairsRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidNetherFossilPieces.NetherFossilPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.MonumentBuilding.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentCoreRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentEntryRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentPenthouse.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentSimpleRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanMonumentPieces.OceanMonumentWingRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidOceanRuinPieces.OceanRuinPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidRuinedPortalPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidShipwreckPieces.ShipwreckPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.ChestCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.FillerCorridor.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.FiveCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.LeftTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.Library.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.PortalRoom.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.PrisonHall.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.RightTurn.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.RoomCrossing.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.StairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.Straight.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidStrongholdPieces.StraightStairsDown.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) voidSwampHutPiece.postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) static PiecesContainerOceanMonumentStructure.regeneratePiecesAfterLoad(ChunkPos chunkPos, long seed, PiecesContainer piecesContainer) -
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 chunkPos) voidLayerLightEventListener.DummyLightLayerEventListener.propagateLightSources(ChunkPos chunkPos) voidLevelLightEngine.propagateLightSources(ChunkPos chunkPos) voidLightEventListener.propagateLightSources(ChunkPos chunkPos) voidSkyLightEngine.propagateLightSources(ChunkPos chunkPos) voidLevelLightEngine.retainData(ChunkPos pos, boolean retain) voidLightEngine.retainData(ChunkPos chunkPos, boolean retainData) voidLayerLightEventListener.DummyLightLayerEventListener.setLightEnabled(ChunkPos chunkPos, boolean lightEnabled) voidLevelLightEngine.setLightEnabled(ChunkPos chunkPos, boolean lightEnabled) voidLightEngine.setLightEnabled(ChunkPos chunkPos, boolean lightEnabled) voidLightEventListener.setLightEnabled(ChunkPos chunkPos, boolean lightEnabled) voidSkyLightEngine.setLightEnabled(ChunkPos chunkPos, boolean lightEnabled) -
Uses of ChunkPos in net.minecraft.world.ticks
Methods in net.minecraft.world.ticks with parameters of type ChunkPosModifier and TypeMethodDescriptionvoidLevelTicks.addContainer(ChunkPos chunkPos, LevelChunkTicks<T> chunkTicks) static <T> LevelChunkTicks<T> static <T> ProtoChunkTicks<T> static <T> voidSavedTick.loadTickList(ListTag tag, Function<String, Optional<T>> idParser, ChunkPos chunkPos, Consumer<SavedTick<T>> output) voidLevelTicks.removeContainer(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
Methods in net.neoforged.neoforge.common.util with parameters of type ChunkPos -
Uses of ChunkPos in net.neoforged.neoforge.common.world.chunk
Methods in net.neoforged.neoforge.common.world.chunk with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
voidForcedChunkManager.forceChunk(ServerLevel level, ChunkPos pos, TicketType<ForcedChunkManager.TicketOwner<T>> type, ForcedChunkManager.TicketOwner<T> owner, boolean add, boolean ticking) Adds/Removes a ticket from the level's chunk provider with the proper levels to match the forced chunks. -
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.Methods in net.neoforged.neoforge.network.payload that return ChunkPosModifier and TypeMethodDescriptionAuxiliaryLightDataPayload.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. -
Uses of ChunkPos in net.neoforged.neoforge.server.command.generation
Fields in net.neoforged.neoforge.server.command.generation with type parameters of type ChunkPosModifier and TypeFieldDescriptionGenerationTask.iteratorstatic final TicketType<ChunkPos> GenerationTask.NEOFORGE_GENERATE_FORCEDMethods 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)