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 boolean
SharedConstants.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 void
SystemToast.onChunkLoadFailure
(Minecraft minecraft, ChunkPos chunkPos) static void
SystemToast.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 void
SectionOcclusionGraph.addNeighbors
(SectionOcclusionGraph.GraphEvents graphEvents, ChunkPos chunkPos) void
LevelRenderer.onChunkLoaded
(ChunkPos chunkPos) void
SectionOcclusionGraph.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 TypeMethodDescriptionvoid
IntegratedServer.reportChunkLoadFailure
(Throwable throwable, RegionStorageInfo regionStorageInfo, ChunkPos chunkPos) void
IntegratedServer.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 ChunkPos
ClientboundChunksBiomesPacket.ChunkBiomeData.pos
The field for thepos
record component.private final ChunkPos
ClientboundForgetLevelChunkPacket.pos
The field for thepos
record component.Methods in net.minecraft.network.protocol.game that return ChunkPosModifier and TypeMethodDescriptionClientboundChunksBiomesPacket.ChunkBiomeData.pos()
Returns the value of thepos
record component.ClientboundForgetLevelChunkPacket.pos()
Returns the value of thepos
record component.Methods in net.minecraft.network.protocol.game with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate void
ClientboundLightUpdatePacketData.prepareSectionData
(ChunkPos chunkPos, LevelLightEngine levelLightEngine, LightLayer lightLayer, int index, BitSet skyLight, BitSet blockLight, List<byte[]> updates) static void
DebugPackets.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 aChunkBiomeData
record class.Creates an instance of aClientboundForgetLevelChunkPacket
record 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 TypeMethodDescriptionvoid
MinecraftServer.reportChunkLoadFailure
(Throwable throwable, RegionStorageInfo regionStorageInfo, ChunkPos chunkPos) void
MinecraftServer.reportChunkSaveFailure
(Throwable throwable, RegionStorageInfo regionStorageInfo, ChunkPos chunkPos) private void
MinecraftServer.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 void
PlaceCommand.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 ChunkPos
ChunkTrackingView.Positioned.center
The field for thecenter
record component.private final ChunkPos
ChunkGenerationTask.pos
protected final ChunkPos
GenerationChunkHolder.pos
Fields in net.minecraft.server.level with type parameters of type ChunkPosModifier and TypeFieldDescriptionstatic final TicketType
<ChunkPos> TicketType.FORCED
static final TicketType
<ChunkPos> TicketType.PLAYER
static final TicketType
<ChunkPos> TicketType.UNKNOWN
Methods in net.minecraft.server.level that return ChunkPosModifier and TypeMethodDescriptionChunkTrackingView.Positioned.center()
Returns the value of thecenter
record component.WorldGenRegion.getCenter()
GenerationChunkHolder.getPos()
ColumnPos.toChunkPos()
Methods in net.minecraft.server.level with parameters of type ChunkPosModifier and TypeMethodDescription<T> void
DistanceManager.addRegionTicket
(TicketType<T> type, ChunkPos pos, int distance, T value) <T> void
DistanceManager.addRegionTicket
(TicketType<T> type, ChunkPos pos, int distance, T value, boolean forceTicks) <T> void
ServerChunkCache.addRegionTicket
(TicketType<T> type, ChunkPos pos, int distance, T value) <T> void
ServerChunkCache.addRegionTicket
(TicketType<T> type, ChunkPos pos, int distance, T value, boolean forceTicks) <T> void
DistanceManager.addTicket
(TicketType<T> type, ChunkPos pos, int level, T value) <T> void
TickingTracker.addTicket
(TicketType<T> type, ChunkPos chunkPos, int ticketLevel, T key) (package private) boolean
ChunkMap.anyPlayerCloseEnoughForSpawning
(ChunkPos chunkPos) default boolean
static ChunkGenerationTask
ChunkGenerationTask.create
(GeneratingChunkMap chunkMap, ChunkStatus targetStatus, ChunkPos pos) private ChunkAccess
ChunkMap.createEmptyChunk
(ChunkPos chunkPos) private static void
ChunkMap.dropChunk
(ServerPlayer player, ChunkPos chunkPos) private static double
ChunkMap.euclideanDistanceSquared
(ChunkPos chunkPos, Entity entity) Returns the squared distance to the center of the chunk.ChunkMap.getChunkDebugData
(ChunkPos pos) ServerChunkCache.getChunkDebugData
(ChunkPos chunkPos) int
ChunkHolder.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 BlockPos
PlayerRespawnLogic.getSpawnPosInChunk
(ServerLevel level, ChunkPos chunkPos) private ChunkAccess
ChunkMap.handleChunkLoadFailure
(Throwable exception, ChunkPos chunkPos) void
ServerLevel.invalidateCapabilities
(ChunkPos pos) private boolean
ChunkMap.isExistingChunkFull
(ChunkPos chunkPos) boolean
ServerLevel.isNaturalSpawningAllowed
(ChunkPos chunkPos) boolean
WorldGenRegion.isOldChunkAround
(ChunkPos pos, int radius) private void
ChunkMap.markChunkPendingToSend
(ServerPlayer player, ChunkPos chunkPos) private byte
ChunkMap.markPosition
(ChunkPos chunkPos, ChunkType chunkType) private void
ChunkMap.markPositionReplaceable
(ChunkPos chunkPos) static ChunkTrackingView
(package private) void
ChunkMap.onFullChunkStatusChange
(ChunkPos chunkPos, FullChunkStatus fullChunkStatus) void
ChunkHolder.LevelChangeListener.onLevelChange
(ChunkPos chunkPos, IntSupplier queueLevelGetter, int ticketLevel, IntConsumer queueLevelSetter) void
ChunkTaskPriorityQueueSorter.onLevelChange
(ChunkPos chunkPos, IntSupplier queueLevelGetter, int ticketLevel, IntConsumer queueLevelSetter) private boolean
ChunkMap.playerIsCloseEnoughForSpawning
(ServerPlayer player, ChunkPos chunkPos) void
ThreadedLevelLightEngine.propagateLightSources
(ChunkPos chunkPos) private CompletableFuture
<Optional<CompoundTag>> <T> void
DistanceManager.removeRegionTicket
(TicketType<T> type, ChunkPos pos, int distance, T value) <T> void
DistanceManager.removeRegionTicket
(TicketType<T> type, ChunkPos pos, int distance, T value, boolean forceTicks) <T> void
ServerChunkCache.removeRegionTicket
(TicketType<T> type, ChunkPos pos, int distance, T value) <T> void
ServerChunkCache.removeRegionTicket
(TicketType<T> type, ChunkPos pos, int distance, T value, boolean forceTicks) <T> void
DistanceManager.removeTicket
(TicketType<T> type, ChunkPos pos, int level, T value) <T> void
TickingTracker.removeTicket
(TicketType<T> type, ChunkPos chunkPos, int ticketLevel, T key) protected void
ChunkTaskPriorityQueue.resortChunkTasks
(int queueLevel, ChunkPos chunkPos, int ticketLevel) void
ThreadedLevelLightEngine.retainData
(ChunkPos pos, boolean retain) private CompletableFuture
<ChunkAccess> ChunkMap.scheduleChunkLoad
(ChunkPos chunkPos) ChunkMap.scheduleGenerationTask
(ChunkStatus targetStatus, ChunkPos pos) GeneratingChunkMap.scheduleGenerationTask
(ChunkStatus targetStatus, ChunkPos pos) void
ThreadedLevelLightEngine.setLightEnabled
(ChunkPos chunkPos, boolean lightEnabled) protected void
DistanceManager.updateChunkForced
(ChunkPos pos, boolean add) void
ServerChunkCache.updateChunkForced
(ChunkPos pos, boolean add) protected void
ThreadedLevelLightEngine.updateChunkStatus
(ChunkPos chunkPos) void
ChunkMap.waitForLightBeforeSending
(ChunkPos chunkPos, int range) Method parameters in net.minecraft.server.level with type arguments of type ChunkPosModifier and TypeMethodDescriptionstatic void
ChunkTrackingView.difference
(ChunkTrackingView oldChunkTrackingView, ChunkTrackingView newChunkTrackingView, Consumer<ChunkPos> chunkMarker, Consumer<ChunkPos> chunkDropper) Calculates the chunks that the player needs to drop in theoldChunkTrackingView
and the chunks that need to be sent for thenewChunkTrackingView
.void
void
Constructors in net.minecraft.server.level with parameters of type ChunkPosModifierConstructorDescriptionprivate
ChunkGenerationTask
(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 aPositioned
record 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 TypeMethodDescriptionvoid
ChunkProgressListener.onStatusChange
(ChunkPos chunkPos, ChunkStatus chunkStatus) void
LoggerChunkProgressListener.onStatusChange
(ChunkPos chunkPos, ChunkStatus chunkStatus) void
ProcessorChunkProgressListener.onStatusChange
(ChunkPos chunkPos, ChunkStatus chunkStatus) void
StoringChunkProgressListener.onStatusChange
(ChunkPos chunkPos, ChunkStatus chunkStatus) void
ChunkProgressListener.updateSpawnPos
(ChunkPos center) void
LoggerChunkProgressListener.updateSpawnPos
(ChunkPos center) void
ProcessorChunkProgressListener.updateSpawnPos
(ChunkPos center) void
StoringChunkProgressListener.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) void
PlayerChunkSender.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) void
JfrProfiler.onRegionFileRead
(RegionStorageInfo regionStorageInfo, ChunkPos chunkPos, RegionFileVersion version, int bytes) void
JvmProfiler.NoOpProfiler.onRegionFileRead
(RegionStorageInfo p_326355_, ChunkPos p_325955_, RegionFileVersion p_326373_, int p_326370_) void
JvmProfiler.onRegionFileRead
(RegionStorageInfo regionStorageInfo, ChunkPos chunkPos, RegionFileVersion version, int bytes) void
JfrProfiler.onRegionFileWrite
(RegionStorageInfo regionStorageInfo, ChunkPos chunkPos, RegionFileVersion version, int bytes) void
JvmProfiler.NoOpProfiler.onRegionFileWrite
(RegionStorageInfo p_326307_, ChunkPos p_326173_, RegionFileVersion p_325998_, int p_326021_) void
JvmProfiler.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 ChunkPos
ChunkGenStat.chunkPos
The field for thechunkPos
record component.Methods in net.minecraft.util.profiling.jfr.stats that return ChunkPosModifier and TypeMethodDescriptionChunkGenStat.chunkPos()
Returns the value of thechunkPos
record 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 aChunkGenStat
record class. -
Uses of ChunkPos in net.minecraft.util.worldupdate
Fields in net.minecraft.util.worldupdate with type parameters of type ChunkPosModifier and TypeFieldDescriptionWorldUpgrader.FileToUpgrade.chunksToUpgrade
The field for thechunksToUpgrade
record component.Methods in net.minecraft.util.worldupdate that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionWorldUpgrader.FileToUpgrade.chunksToUpgrade()
Returns the value of thechunksToUpgrade
record component.Methods in net.minecraft.util.worldupdate with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate boolean
WorldUpgrader.AbstractUpgrader.processOnePosition
(ResourceKey<Level> dimesion, T storage, ChunkPos chunkPos) protected abstract boolean
WorldUpgrader.AbstractUpgrader.tryProcessOnePosition
(T chunkStorage, ChunkPos chunkPos, ResourceKey<Level> dimension) protected boolean
WorldUpgrader.ChunkUpgrader.tryProcessOnePosition
(ChunkStorage p_321581_, ChunkPos p_321524_, ResourceKey<Level> p_321488_) protected boolean
WorldUpgrader.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 aFileToUpgrade
record 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 ChunkPos
ChunkPos.maxFromRegion
(int chunkX, int chunkZ) static ChunkPos
ChunkPos.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 TypeMethodDescriptionvoid
LocalMobCapCalculator.addMob
(ChunkPos pos, MobCategory category) boolean
LocalMobCapCalculator.canSpawn
(MobCategory category, ChunkPos pos) (package private) boolean
NaturalSpawner.SpawnState.canSpawnForCategory
(MobCategory category, ChunkPos pos) StructureManager.checkStructurePresence
(ChunkPos chunkPos, Structure structure, StructurePlacement placement, boolean skipKnownStructures) int
ChunkPos.distanceSquared
(ChunkPos chunkPos) int
ChunkPos.getChessboardDistance
(ChunkPos chunkPos) private List
<ServerPlayer> LocalMobCapCalculator.getPlayersNear
(ChunkPos pos) ChunkPos.rangeClosed
(ChunkPos center, int radius) ChunkPos.rangeClosed
(ChunkPos start, ChunkPos end) static void
NaturalSpawner.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.ringPositions
Methods 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 boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry structureSelectionEntry, StructureManager structureManager, RegistryAccess registryAccess, RandomState random, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess chunk, ChunkPos chunkPos, SectionPos sectionPos) static BlockPos
ProtoChunk.unpackOffsetCoordinates
(short packedPos, int yOffset, ChunkPos chunkPos) void
ChunkSource.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.pendingWrites
Methods in net.minecraft.world.level.chunk.storage that return ChunkPosModifier and TypeMethodDescriptionprivate static ChunkPos
EntityStorage.readChunkPos
(CompoundTag tag) Methods in net.minecraft.world.level.chunk.storage with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
private DataInputStream
RegionFile.createChunkInputStream
(ChunkPos chunkPos, byte versionByte, InputStream inputStream) private DataInputStream
RegionFile.createExternalChunkInputStream
(ChunkPos chunkPos, byte versionByte) static ReportedException
ChunkIOErrorReporter.createMisplacedChunkReport
(ChunkPos pos, ChunkPos expectedPos) boolean
RegionFile.doesChunkExist
(ChunkPos chunkPos) private static ChunkEntities
<Entity> EntityStorage.emptyChunk
(ChunkPos pos) void
RegionFile.getChunkDataInputStream
(ChunkPos chunkPos) RegionFile.getChunkDataOutputStream
(ChunkPos chunkPos) Creates a newInputStream
for a chunk stored in a separate file.private Path
RegionFile.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 long
private int
private static int
RegionFile.getOffsetIndex
(ChunkPos chunkPos) Gets the offset within the region file where the chunk metadata for a chunk can be found.private RegionFile
RegionFileStorage.getRegionFile
(ChunkPos chunkPos) protected void
ChunkStorage.handleLegacyStructureIndex
(ChunkPos chunkPos) boolean
boolean
ChunkStorage.isOldChunkAround
(ChunkPos pos, int radius) boolean
IOWorker.isOldChunkAround
(ChunkPos chunkPos, int radius) EntityStorage.loadEntities
(ChunkPos pos) private static void
private static CompoundTag
ChunkSerializer.packStructureData
(StructurePieceSerializationContext context, ChunkPos pos, Map<Structure, StructureStart> structureMap, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> referenceMap) static ProtoChunk
ChunkSerializer.read
(ServerLevel level, PoiManager poiManager, RegionStorageInfo regionStorageInfo, ChunkPos pos, CompoundTag tag) private void
SectionStorage.readColumn
(ChunkPos chunkPos) private void
SectionStorage.readColumn
(ChunkPos chunkPos, RegistryOps<Tag> ops, CompoundTag tag) void
ChunkIOErrorReporter.reportChunkLoadFailure
(Throwable throwable, RegionStorageInfo regionStorageInfo, ChunkPos chunkPos) void
ChunkIOErrorReporter.reportChunkSaveFailure
(Throwable throwable, RegionStorageInfo regionStorageInfo, ChunkPos chunkPos) private void
EntityStorage.reportLoadFailureIfPresent
(CompletableFuture<?> future, ChunkPos pos) default void
ChunkIOErrorReporter.reportMisplacedChunk
(ChunkPos pos, ChunkPos expectedPos, RegionStorageInfo regionStorageInfo) private void
EntityStorage.reportSaveFailureIfPresent
(CompletableFuture<?> future, ChunkPos pos) private void
IOWorker.runStore
(ChunkPos chunkPos, IOWorker.PendingStore pendingStore) ChunkScanAccess.scanChunk
(ChunkPos chunkPos, StreamTagVisitor visitor) IOWorker.scanChunk
(ChunkPos chunkPos, StreamTagVisitor visitor) void
RegionFileStorage.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 void
RegionFile.write
(ChunkPos chunkPos, ByteBuffer chunkData) protected void
RegionFileStorage.write
(ChunkPos chunkPos, CompoundTag chunkData) SimpleRegionStorage.write
(ChunkPos chunkPos, CompoundTag data) private static void
EntityStorage.writeChunkPos
(CompoundTag tag, ChunkPos pos) private void
SectionStorage.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 TypeMethodDescriptionboolean
PersistentEntitySectionManager.canPositionTick
(ChunkPos chunkPos) EntityPersistentStorage.loadEntities
(ChunkPos pos) void
ChunkStatusUpdateListener.onChunkStatusChange
(ChunkPos chunkPos, FullChunkStatus fullChunkStatus) void
TransientEntitySectionManager.startTicking
(ChunkPos pos) void
TransientEntitySectionManager.stopTicking
(ChunkPos pos) void
PersistentEntitySectionManager.updateChunkStatus
(ChunkPos chunkPos, FullChunkStatus fullChunkStatus) void
PersistentEntitySectionManager.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 Aquifer
Aquifer.create
(NoiseChunk chunk, ChunkPos chunkPos, NoiseRouter noiseRouter, PositionalRandomFactory positionalRandomFactory, int minY, int height, Aquifer.FluidPicker globalFluidPicker) Creates a standard noise based aquifer.static Beardifier
Beardifier.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 boolean
WorldCarver.canReach
(ChunkPos chunkPos, double x, double z, int branchIndex, int branchCount, float width) boolean
CanyonWorldCarver.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
.boolean
CaveWorldCarver.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
.boolean
ConfiguredWorldCarver.carve
(CarvingContext context, ChunkAccess chunk, Function<BlockPos, Holder<Biome>> biomeAccessor, RandomSource random, Aquifer aquifer, ChunkPos chunkPos, CarvingMask carvingMask) abstract boolean
WorldCarver.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 ChunkPos
VoidStartPlatformFeature.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 ChunkPos
Structure.GenerationContext.chunkPos
The field for thechunkPos
record component.private final ChunkPos
StructureStart.chunkPos
Methods in net.minecraft.world.level.levelgen.structure that return ChunkPosModifier and TypeMethodDescriptionStructure.GenerationContext.chunkPos()
Returns the value of thechunkPos
record 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 TypeMethodDescriptionvoid
PostPlacementProcessor.afterPlace
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, PiecesContainer pieces) void
Structure.afterPlace
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) private boolean
StructureCheck.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) void
StructureCheck.incrementReference
(ChunkPos pos, Structure structure) boolean
StructurePiece.isCloseToChunk
(ChunkPos chunkPos, int distance) private static WorldgenRandom
Structure.GenerationContext.makeRandom
(long seed, ChunkPos chunkPos) void
StructureCheck.onStructureLoad
(ChunkPos chunkPos, Map<Structure, StructureStart> chunkStarts) void
StructureStart.placeInChunk
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos) void
PoolElementStructurePiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) abstract void
StructurePiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
TemplateStructurePiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) private StructureCheckResult
StructureCheck.tryLoadFromStorage
(ChunkPos chunkPos, Structure structure, boolean skipKnownStructures, long packedChunkPos) private CompoundTag
LegacyStructureDataHandler.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 aGenerationContext
record 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 ChunkPos
PieceGenerator.Context.chunkPos
The field for thechunkPos
record component.private final ChunkPos
PieceGeneratorSupplier.Context.chunkPos
The field for thechunkPos
record component.Methods in net.minecraft.world.level.levelgen.structure.pieces that return ChunkPosModifier and TypeMethodDescriptionPieceGenerator.Context.chunkPos()
Returns the value of thechunkPos
record component.PieceGeneratorSupplier.Context.chunkPos()
Returns the value of thechunkPos
record 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 aContext
record 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 aContext
record 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 TypeMethodDescriptionvoid
DesertPyramidStructure.afterPlace
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) void
WoodlandMansionStructure.afterPlace
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator chunkGenerator, RandomSource random, BoundingBox boundingBox, ChunkPos chunkPos, PiecesContainer pieces) private static StructurePiece
OceanMonumentStructure.createTopPiece
(ChunkPos chunkPos, WorldgenRandom random) void
BuriedTreasurePieces.BuriedTreasurePiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
DesertPyramidPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
IglooPieces.IglooPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
JungleTemplePiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
MineshaftPieces.MineShaftCorridor.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
MineshaftPieces.MineShaftCrossing.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
MineshaftPieces.MineShaftRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
MineshaftPieces.MineShaftStairs.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.BridgeCrossing.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.BridgeEndFiller.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.BridgeStraight.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.CastleCorridorStairsPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.CastleCorridorTBalconyPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.CastleEntrance.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.CastleSmallCorridorPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.CastleStalkRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.MonsterThrone.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.RoomCrossing.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFortressPieces.StairsRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
NetherFossilPieces.NetherFossilPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.MonumentBuilding.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentCoreRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentEntryRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentPenthouse.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentSimpleRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentPieces.OceanMonumentWingRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
OceanRuinPieces.OceanRuinPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
RuinedPortalPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
ShipwreckPieces.ShipwreckPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.ChestCorridor.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.FillerCorridor.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.FiveCrossing.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.LeftTurn.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.Library.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.PortalRoom.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.PrisonHall.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.RightTurn.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.RoomCrossing.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.StairsDown.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.Straight.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
StrongholdPieces.StraightStairsDown.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) void
SwampHutPiece.postProcess
(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox box, ChunkPos chunkPos, BlockPos pos) static PiecesContainer
OceanMonumentStructure.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 TypeMethodDescriptionvoid
BlockLightEngine.propagateLightSources
(ChunkPos chunkPos) void
LayerLightEventListener.DummyLightLayerEventListener.propagateLightSources
(ChunkPos chunkPos) void
LevelLightEngine.propagateLightSources
(ChunkPos chunkPos) void
LightEventListener.propagateLightSources
(ChunkPos chunkPos) void
SkyLightEngine.propagateLightSources
(ChunkPos chunkPos) void
LevelLightEngine.retainData
(ChunkPos pos, boolean retain) void
LightEngine.retainData
(ChunkPos chunkPos, boolean retainData) void
LayerLightEventListener.DummyLightLayerEventListener.setLightEnabled
(ChunkPos chunkPos, boolean lightEnabled) void
LevelLightEngine.setLightEnabled
(ChunkPos chunkPos, boolean lightEnabled) void
LightEngine.setLightEnabled
(ChunkPos chunkPos, boolean lightEnabled) void
LightEventListener.setLightEnabled
(ChunkPos chunkPos, boolean lightEnabled) void
SkyLightEngine.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 TypeMethodDescriptionvoid
LevelTicks.addContainer
(ChunkPos chunkPos, LevelChunkTicks<T> chunkTicks) static <T> LevelChunkTicks
<T> static <T> ProtoChunkTicks
<T> static <T> void
SavedTick.loadTickList
(ListTag tag, Function<String, Optional<T>> idParser, ChunkPos chunkPos, Consumer<SavedTick<T>> output) void
LevelTicks.removeContainer
(ChunkPos chunkPos) -
Uses of ChunkPos in net.neoforged.neoforge.capabilities
Methods in net.neoforged.neoforge.capabilities with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
CapabilityListenerHolder.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.customWaterHandler
Methods 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 double
FarmlandWaterManager.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 AuxiliaryLightManager
IBlockGetterExtension.getAuxLightManager
(ChunkPos pos) Get theAuxiliaryLightManager
of the chunk at the givenChunkPos
.default void
ILevelExtension.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 void
EventHooks.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 void
PacketDistributor.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 ChunkPos
AuxiliaryLightDataPayload.pos
The field for thepos
record component.Methods in net.neoforged.neoforge.network.payload that return ChunkPosModifier and TypeMethodDescriptionAuxiliaryLightDataPayload.pos()
Returns the value of thepos
record component.Constructors in net.neoforged.neoforge.network.payload with parameters of type ChunkPosModifierConstructorDescriptionAuxiliaryLightDataPayload
(ChunkPos pos, Map<BlockPos, Byte> entries) Creates an instance of aAuxiliaryLightDataPayload
record 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.iterator
static final TicketType
<ChunkPos> GenerationTask.NEOFORGE_GENERATE_FORCED
Methods in net.neoforged.neoforge.server.command.generation that return ChunkPosModifier and TypeMethodDescriptionprotected ChunkPos
CoarseOnionIterator.computeNext()
CoarseOnionIterator.CellIterator.next()
OnionIterator.next()
Methods in net.neoforged.neoforge.server.command.generation with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate CoarseOnionIterator.CellIterator
CoarseOnionIterator.createCellIterator
(ChunkPos pos) private boolean
GenerationTask.isChunkFullyGenerated
(ChunkPos chunkPosInLocalSpace)