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 pChunkPos) -
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 pMinecraft, ChunkPos pChunkPos) static void
SystemToast.onChunkSaveFailure
(Minecraft pMinecraft, ChunkPos pChunkPos) -
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 pGraphEvents, ChunkPos pChunkPos) void
LevelRenderer.onChunkReadyToRender
(ChunkPos pChunkPos) void
SectionOcclusionGraph.onChunkReadyToRender
(ChunkPos pChunkPos) -
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 p_352390_, RegionStorageInfo p_352401_, ChunkPos p_330829_) void
IntegratedServer.reportChunkSaveFailure
(Throwable p_352264_, RegionStorageInfo p_352355_, ChunkPos p_331440_) -
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 pChunkPos, int pX, int pY, int pZ) static SectionPos
-
Uses of ChunkPos in net.minecraft.network
Methods in net.minecraft.network that return ChunkPosModifier and TypeMethodDescriptionFriendlyByteBuf.readChunkPos()
static ChunkPos
FriendlyByteBuf.readChunkPos
(io.netty.buffer.ByteBuf pBuffer) Methods in net.minecraft.network with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic void
FriendlyByteBuf.writeChunkPos
(io.netty.buffer.ByteBuf pBuffer, ChunkPos pChunkPos) FriendlyByteBuf.writeChunkPos
(ChunkPos pChunkPos) 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 pChunkPos, LevelLightEngine pLevelLightEngine, LightLayer pLightLayer, int pIndex, BitSet pSkyLight, BitSet pBlockLight, List<byte[]> pUpdates) static void
DebugPackets.sendPoiPacketsForChunk
(ServerLevel pLevel, ChunkPos pChunkPos) 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 pChunkPos, LevelLightEngine pLightEngine, BitSet pSkyLight, BitSet pBlockLight) ClientboundLightUpdatePacketData
(ChunkPos pChunkPos, LevelLightEngine pLightEngine, BitSet pSkyLight, BitSet pBlockLight) -
Uses of ChunkPos in net.minecraft.server
Methods in net.minecraft.server with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
MinecraftServer.reportChunkLoadFailure
(Throwable p_352289_, RegionStorageInfo p_352335_, ChunkPos p_330507_) void
MinecraftServer.reportChunkSaveFailure
(Throwable p_352232_, RegionStorageInfo p_352253_, ChunkPos p_331741_) private void
MinecraftServer.storeChunkIoError
(CrashReport pCrashReport, ChunkPos pChunkPos, RegionStorageInfo pRegionStorageInfo) -
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 pLevel, ChunkPos pStart, ChunkPos pEnd) -
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
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 TypeMethodDescriptionvoid
void
ServerChunkCache.addTicketWithRadius
(TicketType pTicket, ChunkPos pChunkPos, int pRadius) (package private) boolean
ChunkMap.anyPlayerCloseEnoughForSpawning
(ChunkPos pChunkPos) boolean
ServerLevel.anyPlayerCloseEnoughForSpawning
(ChunkPos pChunkPos) private boolean
ChunkMap.anyPlayerCloseEnoughForSpawningInternal
(ChunkPos pChunkPos) boolean
ServerLevel.areEntitiesActuallyLoadedAndTicking
(ChunkPos pChunkPos) boolean
ServerLevel.canSpawnEntitiesInChunk
(ChunkPos pChunkPos) default boolean
static ChunkGenerationTask
ChunkGenerationTask.create
(GeneratingChunkMap pChunkMap, ChunkStatus pTargetStatus, ChunkPos pPos) private ChunkAccess
ChunkMap.createEmptyChunk
(ChunkPos pChunkPos) private static void
ChunkMap.dropChunk
(ServerPlayer pPlayer, ChunkPos pChunkPos) private static double
ChunkMap.euclideanDistanceSquared
(ChunkPos pChunkPos, Vec3 pPos) ChunkMap.getChunkDebugData
(ChunkPos pPos) ServerChunkCache.getChunkDebugData
(ChunkPos pChunkPos) int
ChunkHolder.PlayerProvider.getPlayers
(ChunkPos pPos, boolean pBoundaryOnly) Returns the players tracking the given chunk.ChunkMap.getPlayers
(ChunkPos p_183801_, boolean p_183802_) ChunkMap.getPlayersCloseForSpawning
(ChunkPos pChunkPos) static BlockPos
PlayerRespawnLogic.getSpawnPosInChunk
(ServerLevel pLevel, ChunkPos pChunkPos) private ChunkAccess
ChunkMap.handleChunkLoadFailure
(Throwable pException, ChunkPos pChunkPos) void
ServerLevel.invalidateCapabilities
(ChunkPos pos) private boolean
ChunkMap.isExistingChunkFull
(ChunkPos pChunkPos) boolean
WorldGenRegion.isOldChunkAround
(ChunkPos pPos, int pRadius) private void
ChunkMap.markChunkPendingToSend
(ServerPlayer pPlayer, ChunkPos pChunkPos) private byte
ChunkMap.markPosition
(ChunkPos pChunkPos, ChunkType pChunkType) private void
ChunkMap.markPositionReplaceable
(ChunkPos pChunkPos) static ChunkTrackingView
(package private) void
ChunkMap.onFullChunkStatusChange
(ChunkPos pChunkPos, FullChunkStatus pFullChunkStatus) void
ChunkHolder.LevelChangeListener.onLevelChange
(ChunkPos pChunkPos, IntSupplier pQueueLevelGetter, int pTicketLevel, IntConsumer pQueueLevelSetter) private void
ChunkMap.onLevelChange
(ChunkPos pChunkPos, IntSupplier pQueueLevelGetter, int pTicketLevel, IntConsumer pQueueLevelSetter) void
ChunkTaskDispatcher.onLevelChange
(ChunkPos p_371270_, IntSupplier p_371804_, int p_371325_, IntConsumer p_371889_) static long
ServerPlayer.placeEnderPearlTicket
(ServerLevel pLevel, ChunkPos pPos) private boolean
ChunkMap.playerIsCloseEnoughForSpawning
(ServerPlayer pPlayer, ChunkPos pChunkPos) void
ThreadedLevelLightEngine.propagateLightSources
(ChunkPos p_285029_) private CompletableFuture
<Optional<CompoundTag>> void
ServerChunkCache.removeTicketWithRadius
(TicketType pTicket, ChunkPos pChunkPos, int pRadius) protected void
ChunkTaskPriorityQueue.resortChunkTasks
(int pQueueLevel, ChunkPos pChunkPos, int pTicketLevel) void
ThreadedLevelLightEngine.retainData
(ChunkPos pPos, boolean pRetain) private CompletableFuture
<ChunkAccess> ChunkMap.scheduleChunkLoad
(ChunkPos pChunkPos) ChunkMap.scheduleGenerationTask
(ChunkStatus p_347605_, ChunkPos p_347675_) GeneratingChunkMap.scheduleGenerationTask
(ChunkStatus pTargetStatus, ChunkPos pPos) private void
ChunkMap.setChunkUnsaved
(ChunkPos pChunkPos) void
ThreadedLevelLightEngine.setLightEnabled
(ChunkPos p_9336_, boolean p_9337_) boolean
ServerChunkCache.updateChunkForced
(ChunkPos p_8400_, boolean p_8401_) protected void
ThreadedLevelLightEngine.updateChunkStatus
(ChunkPos pChunkPos) void
ChunkMap.waitForLightBeforeSending
(ChunkPos pChunkPos, int pRange) Method parameters in net.minecraft.server.level with type arguments of type ChunkPosModifier and TypeMethodDescriptionstatic void
ChunkTrackingView.difference
(ChunkTrackingView pOldChunkTrackingView, ChunkTrackingView pNewChunkTrackingView, Consumer<ChunkPos> pChunkMarker, Consumer<ChunkPos> pChunkDropper) 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 pChunkMap, ChunkStatus pTargetStatus, ChunkPos pPos, StaticCache2D<GenerationChunkHolder> pCache) ChunkHolder
(ChunkPos pPos, int pTicketLevel, LevelHeightAccessor pLevelHeightAccessor, LevelLightEngine pLightEngine, ChunkHolder.LevelChangeListener pOnLevelChange, ChunkHolder.PlayerProvider pPlayerProvider) 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 pChunkPos, ChunkStatus pChunkStatus) void
LoggerChunkProgressListener.onStatusChange
(ChunkPos p_9633_, ChunkStatus p_332174_) void
ProcessorChunkProgressListener.onStatusChange
(ChunkPos p_9645_, ChunkStatus p_332066_) void
StoringChunkProgressListener.onStatusChange
(ChunkPos p_9669_, ChunkStatus p_331945_) void
ChunkProgressListener.updateSpawnPos
(ChunkPos pCenter) void
LoggerChunkProgressListener.updateSpawnPos
(ChunkPos pCenter) void
ProcessorChunkProgressListener.updateSpawnPos
(ChunkPos pCenter) void
StoringChunkProgressListener.updateSpawnPos
(ChunkPos pCenter) -
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 pChunkMap, ChunkPos pChunkPos) void
PlayerChunkSender.dropChunk
(ServerPlayer pPlayer, ChunkPos pChunkPos) -
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 p_185313_, ResourceKey<Level> p_185314_, String p_185315_) JvmProfiler.NoOpProfiler.onChunkGenerate
(ChunkPos p_185370_, ResourceKey<Level> p_185371_, String p_185372_) JvmProfiler.onChunkGenerate
(ChunkPos pChunkPos, ResourceKey<Level> pLevel, String pName) void
JfrProfiler.onRegionFileRead
(RegionStorageInfo p_326253_, ChunkPos p_326199_, RegionFileVersion p_326089_, int p_325934_) void
JvmProfiler.NoOpProfiler.onRegionFileRead
(RegionStorageInfo p_326355_, ChunkPos p_325955_, RegionFileVersion p_326373_, int p_326370_) void
JvmProfiler.onRegionFileRead
(RegionStorageInfo pRegionStorageInfo, ChunkPos pChunkPos, RegionFileVersion pVersion, int pBytes) void
JfrProfiler.onRegionFileWrite
(RegionStorageInfo p_326009_, ChunkPos p_326210_, RegionFileVersion p_326516_, int p_326455_) void
JvmProfiler.NoOpProfiler.onRegionFileWrite
(RegionStorageInfo p_326307_, ChunkPos p_326173_, RegionFileVersion p_325998_, int p_326021_) void
JvmProfiler.onRegionFileWrite
(RegionStorageInfo pRegionStorageInfo, ChunkPos pChunkPos, RegionFileVersion pVersion, int pBytes) JfrProfiler.onStructureGenerate
(ChunkPos p_383140_, ResourceKey<Level> p_382829_, Holder<Structure> p_383041_) JvmProfiler.NoOpProfiler.onStructureGenerate
(ChunkPos p_383098_, ResourceKey<Level> p_383187_, Holder<Structure> p_383176_) JvmProfiler.onStructureGenerate
(ChunkPos pChunkPos, ResourceKey<Level> pLevel, Holder<Structure> pStructure) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type ChunkPosModifierConstructorDescriptionChunkGenerationEvent
(ChunkPos pChunkPos, ResourceKey<Level> pLevel, String pTargetStatus) ChunkRegionIoEvent
(RegionStorageInfo pRegionStorageInfo, ChunkPos pChunkPos, RegionFileVersion pVersion, int pBytes) 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_) StructureGenerationEvent
(ChunkPos pChunkPos, Holder<Structure> pStructure, ResourceKey<Level> pLevel) -
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.private final ChunkPos
StructureGenStat.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.StructureGenStat.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.StructureGenStat
(Duration duration, ChunkPos chunkPos, String structureName, String level, boolean success) Creates an instance of aStructureGenStat
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> pDimesion, T pStorage, ChunkPos pChunkPos) protected abstract boolean
WorldUpgrader.AbstractUpgrader.tryProcessOnePosition
(T pChunkStorage, ChunkPos pChunkPos, ResourceKey<Level> pDimension) protected boolean
WorldUpgrader.ChunkUpgrader.tryProcessOnePosition
(ChunkStorage p_321581_, ChunkPos p_321524_, ResourceKey<Level> p_321488_) protected boolean
WorldUpgrader.SimpleRegionStorageUpgrader.tryProcessOnePosition
(SimpleRegionStorage p_321490_, ChunkPos p_321657_, ResourceKey<Level> p_321485_) 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>> pTypePredicate, ChunkPos pPosChunk, PoiManager.Occupancy pStatus) -
Uses of ChunkPos in net.minecraft.world.level
Fields in net.minecraft.world.level declared as ChunkPosFields in net.minecraft.world.level with type parameters of type ChunkPosModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ChunkPos> ChunkPos.CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, ChunkPos> ChunkPos.STREAM_CODEC
private static final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> TicketStorage.TICKET_ENTRY
Methods in net.minecraft.world.level that return ChunkPosModifier and TypeMethodDescriptionstatic ChunkPos
ChunkPos.maxFromRegion
(int pChunkX, int pChunkZ) static ChunkPos
ChunkPos.minFromRegion
(int pChunkX, int pChunkZ) Methods in net.minecraft.world.level that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionTicketStorage.packTickets()
ChunkPos.rangeClosed
(ChunkPos pCenter, int pRadius) ChunkPos.rangeClosed
(ChunkPos pStart, ChunkPos pEnd) Methods in net.minecraft.world.level with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
LocalMobCapCalculator.addMob
(ChunkPos pPos, MobCategory pCategory) void
void
TicketStorage.addTicketWithRadius
(TicketType pTicketType, ChunkPos pChunkPos, int pRadius) boolean
LocalMobCapCalculator.canSpawn
(MobCategory pCategory, ChunkPos pPos) (package private) boolean
NaturalSpawner.SpawnState.canSpawnForCategoryLocal
(MobCategory pCategory, ChunkPos pChunkPos) StructureManager.checkStructurePresence
(ChunkPos pChunkPos, Structure pStructure, StructurePlacement pPlacement, boolean pSkipKnownStructures) int
ChunkPos.distanceSquared
(ChunkPos pChunkPos) int
ChunkPos.getChessboardDistance
(ChunkPos pChunkPos) private List
<ServerPlayer> LocalMobCapCalculator.getPlayersNear
(ChunkPos pPos) ChunkPos.rangeClosed
(ChunkPos pCenter, int pRadius) ChunkPos.rangeClosed
(ChunkPos pStart, ChunkPos pEnd) void
TicketStorage.removeTicket
(Ticket pTicket, ChunkPos pChunkPos) void
TicketStorage.removeTicketWithRadius
(TicketType pTicketType, ChunkPos pChunkPos, int pRadius) boolean
TicketStorage.shouldForceNaturalSpawning
(ChunkPos chunkPos) static void
NaturalSpawner.spawnMobsForChunkGeneration
(ServerLevelAccessor pLevelAccessor, Holder<Biome> pBiome, ChunkPos pChunkPos, RandomSource pRandom) StructureManager.startsForStructure
(ChunkPos pChunkPos, Predicate<Structure> pStructurePredicate) boolean
TicketStorage.updateChunkForced
(ChunkPos pChunkPos, boolean pAdd) Method parameters in net.minecraft.world.level with type arguments of type ChunkPosModifier and TypeMethodDescriptionprivate void
TicketStorage.forEachTicket
(BiConsumer<ChunkPos, Ticket> pAction) private static void
TicketStorage.forEachTicket
(BiConsumer<ChunkPos, Ticket> pAction, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> pTickets) private static TicketStorage
TicketStorage.fromPacked
(List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> pPacked) -
Uses of ChunkPos in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic BlockPos
BlockEntity.getPosFromTag
(ChunkPos pChunkPos, CompoundTag pTag) -
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> pStructureSet, ConcentricRingsStructurePlacement pPlacement) ChunkGeneratorStructureState.getRingPositionsFor
(ConcentricRingsStructurePlacement pPlacement) Methods in net.minecraft.world.level.chunk with parameters of type ChunkPosModifier and TypeMethodDescriptionLevelChunk.getAuxLightManager
(ChunkPos pos) ChunkGenerator.getStructureGeneratingAt
(Set<Holder<Structure>> pStructureHoldersSet, LevelReader pLevel, StructureManager pStructureManager, boolean pSkipKnownStructures, StructurePlacement pPlacement, ChunkPos pChunkPos) void
LevelChunk.UnsavedListener.setUnsaved
(ChunkPos pChunkPos) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry pStructureSelectionEntry, StructureManager pStructureManager, RegistryAccess pRegistryAccess, RandomState pRandom, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkAccess pChunk, ChunkPos pChunkPos, SectionPos pSectionPos, ResourceKey<Level> pLevel) static BlockPos
ProtoChunk.unpackOffsetCoordinates
(short pPackedPos, int pYOffset, ChunkPos pChunkPos) boolean
ChunkSource.updateChunkForced
(ChunkPos pChunkPos, boolean pAdd) Constructors in net.minecraft.world.level.chunk with parameters of type ChunkPosModifierConstructorDescriptionChunkAccess
(ChunkPos pChunkPos, UpgradeData pUpgradeData, LevelHeightAccessor pLevelHeightAccessor, Registry<Biome> pBiomeRegistry, long pInhabitedTime, LevelChunkSection[] pSections, BlendingData pBlendingData) EmptyLevelChunk
(Level pLevel, ChunkPos pPos, Holder<Biome> pBiome) LevelChunk
(Level pLevel, ChunkPos pPos) LevelChunk
(Level pLevel, ChunkPos pPos, UpgradeData pData, LevelChunkTicks<Block> pBlockTicks, LevelChunkTicks<Fluid> pFluidTicks, long pInhabitedTime, LevelChunkSection[] pSections, LevelChunk.PostLoadProcessor pPostLoad, BlendingData pBlendingData) ProtoChunk
(ChunkPos pChunkPos, UpgradeData pUpgradeData, LevelChunkSection[] pSections, ProtoChunkTicks<Block> pBlockTicks, ProtoChunkTicks<Fluid> pLiquidTicks, LevelHeightAccessor pLevelHeightAccessor, Registry<Biome> pBiomeRegistry, BlendingData pBlendingData) ProtoChunk
(ChunkPos pChunkPos, UpgradeData pUpgradeData, LevelHeightAccessor pLevelHeightAccessor, Registry<Biome> pBiomeRegistry, BlendingData pBlendingData) -
Uses of ChunkPos in net.minecraft.world.level.chunk.storage
Fields in net.minecraft.world.level.chunk.storage declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPos
SerializableChunkData.chunkPos
The field for thechunkPos
record component.private final ChunkPos
RegionFile.ChunkBuffer.pos
Fields in net.minecraft.world.level.chunk.storage with type parameters of type ChunkPosModifier and TypeFieldDescriptionprivate final SequencedMap
<ChunkPos, IOWorker.PendingStore> IOWorker.pendingWrites
Methods in net.minecraft.world.level.chunk.storage that return ChunkPosModifier and TypeMethodDescriptionSerializableChunkData.chunkPos()
Returns the value of thechunkPos
record component.Methods in net.minecraft.world.level.chunk.storage with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
private DataInputStream
RegionFile.createChunkInputStream
(ChunkPos pChunkPos, byte pVersionByte, InputStream pInputStream) private DataInputStream
RegionFile.createExternalChunkInputStream
(ChunkPos pChunkPos, byte pVersionByte) static ReportedException
ChunkIOErrorReporter.createMisplacedChunkReport
(ChunkPos pPos, ChunkPos pExpectedPos) boolean
RegionFile.doesChunkExist
(ChunkPos pChunkPos) private static ChunkEntities
<Entity> EntityStorage.emptyChunk
(ChunkPos pPos) void
RegionFile.getChunkDataInputStream
(ChunkPos pChunkPos) RegionFile.getChunkDataOutputStream
(ChunkPos pChunkPos) Creates a newInputStream
for a chunk stored in a separate file.private Path
RegionFile.getExternalChunkPath
(ChunkPos pChunkPos) 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 pChunkPos) Gets the offset within the region file where the chunk metadata for a chunk can be found.private RegionFile
RegionFileStorage.getRegionFile
(ChunkPos pChunkPos) protected void
ChunkStorage.handleLegacyStructureIndex
(ChunkPos pChunkPos) boolean
boolean
ChunkStorage.isOldChunkAround
(ChunkPos pPos, int pRadius) boolean
IOWorker.isOldChunkAround
(ChunkPos pChunkPos, int pRadius) EntityStorage.loadEntities
(ChunkPos p_156551_) private static void
private static CompoundTag
SerializableChunkData.packStructureData
(StructurePieceSerializationContext pContext, ChunkPos pPos, Map<Structure, StructureStart> pStructureStarts, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> pReferences) SerializableChunkData.read
(ServerLevel pLevel, PoiManager pPoiManager, RegionStorageInfo pRegionStorageInfo, ChunkPos pPos) void
Neo: Removes the data for the given chunk position.void
ChunkIOErrorReporter.reportChunkLoadFailure
(Throwable pThrowable, RegionStorageInfo pRegionStorageInfo, ChunkPos pChunkPos) void
ChunkIOErrorReporter.reportChunkSaveFailure
(Throwable pThrowable, RegionStorageInfo pRegionStorageInfo, ChunkPos pChunkPos) private void
EntityStorage.reportLoadFailureIfPresent
(CompletableFuture<?> pFuture, ChunkPos pPos) default void
ChunkIOErrorReporter.reportMisplacedChunk
(ChunkPos pPos, ChunkPos pExpectedPos, RegionStorageInfo pRegionStorageInfo) private void
EntityStorage.reportSaveFailureIfPresent
(CompletableFuture<?> pFuture, ChunkPos pPos) private void
IOWorker.runStore
(ChunkPos pChunkPos, IOWorker.PendingStore pPendingStore) ChunkScanAccess.scanChunk
(ChunkPos pChunkPos, StreamTagVisitor pVisitor) IOWorker.scanChunk
(ChunkPos p_196939_, StreamTagVisitor p_196940_) void
RegionFileStorage.scanChunk
(ChunkPos pChunkPos, StreamTagVisitor pVisitor) IOWorker.store
(ChunkPos pChunkPos, Supplier<CompoundTag> pDataSupplier) IOWorker.store
(ChunkPos pChunkPos, CompoundTag pChunkData) private CompletableFuture
<Optional<SectionStorage.PackedChunk<P>>> private void
SectionStorage.unpackChunk
(ChunkPos pPos) private void
SectionStorage.unpackChunk
(ChunkPos pPos, SectionStorage.PackedChunk<P> pPackedChunk) SerializableChunkData.unpackStructureReferences
(RegistryAccess pRegistries, ChunkPos pPos, CompoundTag pTag) ChunkStorage.write
(ChunkPos pPos, Supplier<CompoundTag> pTagSupplier) RecreatingChunkStorage.write
(ChunkPos p_321778_, Supplier<CompoundTag> p_363767_) RecreatingSimpleRegionStorage.write
(ChunkPos p_321592_, CompoundTag p_321676_) protected void
RegionFile.write
(ChunkPos pChunkPos, ByteBuffer pChunkData) protected void
RegionFileStorage.write
(ChunkPos pChunkPos, CompoundTag pChunkData) SimpleRegionStorage.write
(ChunkPos pChunkPos, CompoundTag pData) private void
SectionStorage.writeChunk
(ChunkPos pPos) private <T> com.mojang.serialization.Dynamic
<T> SectionStorage.writeChunk
(ChunkPos pPos, com.mojang.serialization.DynamicOps<T> pOps) Constructors in net.minecraft.world.level.chunk.storage with parameters of type ChunkPosModifierConstructorDescriptionChunkBuffer
(ChunkPos pPos) (package private)
SerializableChunkData
(Registry<Biome> biomeRegistry, ChunkPos chunkPos, int minSectionY, long lastUpdateTime, long inhabitedTime, ChunkStatus chunkStatus, BlendingData.Packed blendingData, BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, long[] carvingMask, Map<Heightmap.Types, long[]> heightmaps, ChunkAccess.PackedTicks packedTicks, it.unimi.dsi.fastutil.shorts.ShortList[] postProcessingSections, boolean lightCorrect, List<SerializableChunkData.SectionData> sectionData, List<CompoundTag> entities, List<CompoundTag> blockEntities, CompoundTag structureData) Deprecated.Neo: use constructor with additional data insteadSerializableChunkData
(Registry<Biome> biomeRegistry, ChunkPos chunkPos, int minSectionY, long lastUpdateTime, long inhabitedTime, ChunkStatus chunkStatus, BlendingData.Packed blendingData, BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, long[] carvingMask, Map<Heightmap.Types, long[]> heightmaps, ChunkAccess.PackedTicks packedTicks, it.unimi.dsi.fastutil.shorts.ShortList[] postProcessingSections, boolean lightCorrect, List<SerializableChunkData.SectionData> sectionData, List<CompoundTag> entities, List<CompoundTag> blockEntities, CompoundTag structureData, CompoundTag attachmentData, ListTag auxLightData) Creates an instance of aSerializableChunkData
record class. -
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 pChunkPos) boolean
EntityPersistentStorage.loadEntities
(ChunkPos pPos) void
ChunkStatusUpdateListener.onChunkStatusChange
(ChunkPos pChunkPos, FullChunkStatus pFullChunkStatus) void
TransientEntitySectionManager.startTicking
(ChunkPos pPos) void
TransientEntitySectionManager.stopTicking
(ChunkPos pPos) void
PersistentEntitySectionManager.updateChunkStatus
(ChunkPos pChunkPos, FullChunkStatus pFullChunkStatus) void
PersistentEntitySectionManager.updateChunkStatus
(ChunkPos pPos, Visibility pVisibility) 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 pChunk, ChunkPos pChunkPos, NoiseRouter pNoiseRouter, PositionalRandomFactory pPositionalRandomFactory, int pMinY, int pHeight, Aquifer.FluidPicker pGlobalFluidPicker) Creates a standard noise based aquifer.static Beardifier
Beardifier.forStructuresInChunk
(StructureManager pStructureManager, ChunkPos pChunkPos) Constructors in net.minecraft.world.level.levelgen with parameters of type ChunkPosModifierConstructorDescription(package private)
NoiseBasedAquifer
(NoiseChunk pNoiseChunk, ChunkPos pChunkPos, NoiseRouter pNoiseRouter, PositionalRandomFactory pPositionalRandomFactory, int pMinY, int pHeight, Aquifer.FluidPicker pGlobalFluidPicker) -
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 pChunkPos, double pX, double pZ, int pBranchIndex, int pBranchCount, float pWidth) boolean
CanyonWorldCarver.carve
(CarvingContext p_224813_, CanyonCarverConfiguration p_224814_, ChunkAccess p_224815_, Function<BlockPos, Holder<Biome>> p_224816_, RandomSource p_224817_, Aquifer p_224818_, ChunkPos p_224819_, CarvingMask p_224820_) boolean
CaveWorldCarver.carve
(CarvingContext p_224885_, CaveCarverConfiguration p_224886_, ChunkAccess p_224887_, Function<BlockPos, Holder<Biome>> p_224888_, RandomSource p_224889_, Aquifer p_224890_, ChunkPos p_224891_, CarvingMask p_224892_) boolean
ConfiguredWorldCarver.carve
(CarvingContext pContext, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) abstract boolean
WorldCarver.carve
(CarvingContext pContext, C pConfig, ChunkAccess pChunk, Function<BlockPos, Holder<Biome>> pBiomeAccessor, RandomSource pRandom, Aquifer pAquifer, ChunkPos pChunkPos, CarvingMask pCarvingMask) 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 ChunkPos -
Uses of ChunkPos in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as ChunkPosModifier and TypeFieldDescriptionprivate final 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 pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, PiecesContainer pPieces) void
Structure.afterPlace
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pChunkGenerator, RandomSource pRandom, BoundingBox pBoundingBox, ChunkPos pChunkPos, PiecesContainer pPieces) private boolean
StructureCheck.canCreateStructure
(ChunkPos pChunkPos, Structure pStructure) StructureCheck.checkStart
(ChunkPos pChunkPos, Structure pStructure, StructurePlacement pPlacement, boolean pSkipKnownStructures) StructureStart.createTag
(StructurePieceSerializationContext pContext, ChunkPos pChunkPos) Structure.generate
(Holder<Structure> pStructure, ResourceKey<Level> pLevel, RegistryAccess pRegistryAccess, ChunkGenerator pChunkGenerator, BiomeSource pBiomeSource, RandomState pRandomState, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkPos pChunkPos, int pReferences, LevelHeightAccessor pHeightAccessor, Predicate<Holder<Biome>> pValidBiome) void
StructureCheck.incrementReference
(ChunkPos pPos, Structure pStructure) boolean
StructurePiece.isCloseToChunk
(ChunkPos pChunkPos, int pDistance) private static WorldgenRandom
Structure.GenerationContext.makeRandom
(long pSeed, ChunkPos pChunkPos) void
StructureCheck.onStructureLoad
(ChunkPos pChunkPos, Map<Structure, StructureStart> pChunkStarts) void
StructureStart.placeInChunk
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos) void
PoolElementStructurePiece.postProcess
(WorldGenLevel p_226502_, StructureManager p_226503_, ChunkGenerator p_226504_, RandomSource p_226505_, BoundingBox p_226506_, ChunkPos p_226507_, BlockPos p_226508_) abstract void
StructurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
TemplateStructurePiece.postProcess
(WorldGenLevel p_226899_, StructureManager p_226900_, ChunkGenerator p_226901_, RandomSource p_226902_, BoundingBox p_226903_, ChunkPos p_226904_, BlockPos p_226905_) private StructureCheckResult
StructureCheck.tryLoadFromStorage
(ChunkPos pChunkPos, Structure pStructure, boolean pSkipKnownStructures, long pPackedChunkPos) private CompoundTag
LegacyStructureDataHandler.updateStructureStart
(CompoundTag pTag, ChunkPos pChunkPos) 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 pStructure, ChunkPos pChunkPos, int pReferences, PiecesContainer pPieceContainer) -
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 pSeed, int pRegionX, int pRegionZ) 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 p_273644_, StructureManager p_272615_, ChunkGenerator p_273655_, RandomSource p_272939_, BoundingBox p_273179_, ChunkPos p_273334_, PiecesContainer p_273575_) void
WoodlandMansionStructure.afterPlace
(WorldGenLevel p_230227_, StructureManager p_230228_, ChunkGenerator p_230229_, RandomSource p_230230_, BoundingBox p_230231_, ChunkPos p_230232_, PiecesContainer p_230233_) private static StructurePiece
OceanMonumentStructure.createTopPiece
(ChunkPos pChunkPos, WorldgenRandom pRandom) void
BuriedTreasurePieces.BuriedTreasurePiece.postProcess
(WorldGenLevel p_227370_, StructureManager p_227371_, ChunkGenerator p_227372_, RandomSource p_227373_, BoundingBox p_227374_, ChunkPos p_227375_, BlockPos p_227376_) void
DesertPyramidPiece.postProcess
(WorldGenLevel p_227405_, StructureManager p_227406_, ChunkGenerator p_227407_, RandomSource p_227408_, BoundingBox p_227409_, ChunkPos p_227410_, BlockPos p_227411_) void
IglooPieces.IglooPiece.postProcess
(WorldGenLevel p_227568_, StructureManager p_227569_, ChunkGenerator p_227570_, RandomSource p_227571_, BoundingBox p_227572_, ChunkPos p_227573_, BlockPos p_227574_) void
JungleTemplePiece.postProcess
(WorldGenLevel p_227674_, StructureManager p_227675_, ChunkGenerator p_227676_, RandomSource p_227677_, BoundingBox p_227678_, ChunkPos p_227679_, BlockPos p_227680_) void
MineshaftPieces.MineShaftCorridor.postProcess
(WorldGenLevel p_227743_, StructureManager p_227744_, ChunkGenerator p_227745_, RandomSource p_227746_, BoundingBox p_227747_, ChunkPos p_227748_, BlockPos p_227749_) void
MineshaftPieces.MineShaftCrossing.postProcess
(WorldGenLevel p_227836_, StructureManager p_227837_, ChunkGenerator p_227838_, RandomSource p_227839_, BoundingBox p_227840_, ChunkPos p_227841_, BlockPos p_227842_) void
MineshaftPieces.MineShaftRoom.postProcess
(WorldGenLevel p_227914_, StructureManager p_227915_, ChunkGenerator p_227916_, RandomSource p_227917_, BoundingBox p_227918_, ChunkPos p_227919_, BlockPos p_227920_) void
MineshaftPieces.MineShaftStairs.postProcess
(WorldGenLevel p_227939_, StructureManager p_227940_, ChunkGenerator p_227941_, RandomSource p_227942_, BoundingBox p_227943_, ChunkPos p_227944_, BlockPos p_227945_) void
NetherFortressPieces.BridgeCrossing.postProcess
(WorldGenLevel p_228035_, StructureManager p_228036_, ChunkGenerator p_228037_, RandomSource p_228038_, BoundingBox p_228039_, ChunkPos p_228040_, BlockPos p_228041_) void
NetherFortressPieces.BridgeEndFiller.postProcess
(WorldGenLevel p_228065_, StructureManager p_228066_, ChunkGenerator p_228067_, RandomSource p_228068_, BoundingBox p_228069_, ChunkPos p_228070_, BlockPos p_228071_) void
NetherFortressPieces.BridgeStraight.postProcess
(WorldGenLevel p_228094_, StructureManager p_228095_, ChunkGenerator p_228096_, RandomSource p_228097_, BoundingBox p_228098_, ChunkPos p_228099_, BlockPos p_228100_) void
NetherFortressPieces.CastleCorridorStairsPiece.postProcess
(WorldGenLevel p_228123_, StructureManager p_228124_, ChunkGenerator p_228125_, RandomSource p_228126_, BoundingBox p_228127_, ChunkPos p_228128_, BlockPos p_228129_) void
NetherFortressPieces.CastleCorridorTBalconyPiece.postProcess
(WorldGenLevel p_228151_, StructureManager p_228152_, ChunkGenerator p_228153_, RandomSource p_228154_, BoundingBox p_228155_, ChunkPos p_228156_, BlockPos p_228157_) void
NetherFortressPieces.CastleEntrance.postProcess
(WorldGenLevel p_228180_, StructureManager p_228181_, ChunkGenerator p_228182_, RandomSource p_228183_, BoundingBox p_228184_, ChunkPos p_228185_, BlockPos p_228186_) void
NetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess
(WorldGenLevel p_228209_, StructureManager p_228210_, ChunkGenerator p_228211_, RandomSource p_228212_, BoundingBox p_228213_, ChunkPos p_228214_, BlockPos p_228215_) void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess
(WorldGenLevel p_228239_, StructureManager p_228240_, ChunkGenerator p_228241_, RandomSource p_228242_, BoundingBox p_228243_, ChunkPos p_228244_, BlockPos p_228245_) void
NetherFortressPieces.CastleSmallCorridorPiece.postProcess
(WorldGenLevel p_228271_, StructureManager p_228272_, ChunkGenerator p_228273_, RandomSource p_228274_, BoundingBox p_228275_, ChunkPos p_228276_, BlockPos p_228277_) void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess
(WorldGenLevel p_228301_, StructureManager p_228302_, ChunkGenerator p_228303_, RandomSource p_228304_, BoundingBox p_228305_, ChunkPos p_228306_, BlockPos p_228307_) void
NetherFortressPieces.CastleStalkRoom.postProcess
(WorldGenLevel p_228333_, StructureManager p_228334_, ChunkGenerator p_228335_, RandomSource p_228336_, BoundingBox p_228337_, ChunkPos p_228338_, BlockPos p_228339_) void
NetherFortressPieces.MonsterThrone.postProcess
(WorldGenLevel p_228362_, StructureManager p_228363_, ChunkGenerator p_228364_, RandomSource p_228365_, BoundingBox p_228366_, ChunkPos p_228367_, BlockPos p_228368_) void
NetherFortressPieces.RoomCrossing.postProcess
(WorldGenLevel p_228461_, StructureManager p_228462_, ChunkGenerator p_228463_, RandomSource p_228464_, BoundingBox p_228465_, ChunkPos p_228466_, BlockPos p_228467_) void
NetherFortressPieces.StairsRoom.postProcess
(WorldGenLevel p_228489_, StructureManager p_228490_, ChunkGenerator p_228491_, RandomSource p_228492_, BoundingBox p_228493_, ChunkPos p_228494_, BlockPos p_228495_) void
NetherFossilPieces.NetherFossilPiece.postProcess
(WorldGenLevel p_228548_, StructureManager p_228549_, ChunkGenerator p_228550_, RandomSource p_228551_, BoundingBox p_228552_, ChunkPos p_228553_, BlockPos p_228554_) void
OceanMonumentPieces.MonumentBuilding.postProcess
(WorldGenLevel p_228659_, StructureManager p_228660_, ChunkGenerator p_228661_, RandomSource p_228662_, BoundingBox p_228663_, ChunkPos p_228664_, BlockPos p_228665_) void
OceanMonumentPieces.OceanMonumentCoreRoom.postProcess
(WorldGenLevel p_228704_, StructureManager p_228705_, ChunkGenerator p_228706_, RandomSource p_228707_, BoundingBox p_228708_, ChunkPos p_228709_, BlockPos p_228710_) void
OceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess
(WorldGenLevel p_228717_, StructureManager p_228718_, ChunkGenerator p_228719_, RandomSource p_228720_, BoundingBox p_228721_, ChunkPos p_228722_, BlockPos p_228723_) void
OceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess
(WorldGenLevel p_228730_, StructureManager p_228731_, ChunkGenerator p_228732_, RandomSource p_228733_, BoundingBox p_228734_, ChunkPos p_228735_, BlockPos p_228736_) void
OceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess
(WorldGenLevel p_228743_, StructureManager p_228744_, ChunkGenerator p_228745_, RandomSource p_228746_, BoundingBox p_228747_, ChunkPos p_228748_, BlockPos p_228749_) void
OceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess
(WorldGenLevel p_228756_, StructureManager p_228757_, ChunkGenerator p_228758_, RandomSource p_228759_, BoundingBox p_228760_, ChunkPos p_228761_, BlockPos p_228762_) void
OceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess
(WorldGenLevel p_228769_, StructureManager p_228770_, ChunkGenerator p_228771_, RandomSource p_228772_, BoundingBox p_228773_, ChunkPos p_228774_, BlockPos p_228775_) void
OceanMonumentPieces.OceanMonumentEntryRoom.postProcess
(WorldGenLevel p_228782_, StructureManager p_228783_, ChunkGenerator p_228784_, RandomSource p_228785_, BoundingBox p_228786_, ChunkPos p_228787_, BlockPos p_228788_) void
OceanMonumentPieces.OceanMonumentPenthouse.postProcess
(WorldGenLevel p_228795_, StructureManager p_228796_, ChunkGenerator p_228797_, RandomSource p_228798_, BoundingBox p_228799_, ChunkPos p_228800_, BlockPos p_228801_) void
OceanMonumentPieces.OceanMonumentSimpleRoom.postProcess
(WorldGenLevel p_228901_, StructureManager p_228902_, ChunkGenerator p_228903_, RandomSource p_228904_, BoundingBox p_228905_, ChunkPos p_228906_, BlockPos p_228907_) void
OceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess
(WorldGenLevel p_228914_, StructureManager p_228915_, ChunkGenerator p_228916_, RandomSource p_228917_, BoundingBox p_228918_, ChunkPos p_228919_, BlockPos p_228920_) void
OceanMonumentPieces.OceanMonumentWingRoom.postProcess
(WorldGenLevel p_228929_, StructureManager p_228930_, ChunkGenerator p_228931_, RandomSource p_228932_, BoundingBox p_228933_, ChunkPos p_228934_, BlockPos p_228935_) void
OceanRuinPieces.OceanRuinPiece.postProcess
(WorldGenLevel p_229029_, StructureManager p_229030_, ChunkGenerator p_229031_, RandomSource p_229032_, BoundingBox p_229033_, ChunkPos p_229034_, BlockPos p_229035_) void
RuinedPortalPiece.postProcess
(WorldGenLevel p_229137_, StructureManager p_229138_, ChunkGenerator p_229139_, RandomSource p_229140_, BoundingBox p_229141_, ChunkPos p_229142_, BlockPos p_229143_) void
ShipwreckPieces.ShipwreckPiece.postProcess
(WorldGenLevel p_229363_, StructureManager p_229364_, ChunkGenerator p_229365_, RandomSource p_229366_, BoundingBox p_229367_, ChunkPos p_229368_, BlockPos p_229369_) void
StrongholdPieces.ChestCorridor.postProcess
(WorldGenLevel p_229472_, StructureManager p_229473_, ChunkGenerator p_229474_, RandomSource p_229475_, BoundingBox p_229476_, ChunkPos p_229477_, BlockPos p_229478_) void
StrongholdPieces.FillerCorridor.postProcess
(WorldGenLevel p_229502_, StructureManager p_229503_, ChunkGenerator p_229504_, RandomSource p_229505_, BoundingBox p_229506_, ChunkPos p_229507_, BlockPos p_229508_) void
StrongholdPieces.FiveCrossing.postProcess
(WorldGenLevel p_229534_, StructureManager p_229535_, ChunkGenerator p_229536_, RandomSource p_229537_, BoundingBox p_229538_, ChunkPos p_229539_, BlockPos p_229540_) void
StrongholdPieces.LeftTurn.postProcess
(WorldGenLevel p_229564_, StructureManager p_229565_, ChunkGenerator p_229566_, RandomSource p_229567_, BoundingBox p_229568_, ChunkPos p_229569_, BlockPos p_229570_) void
StrongholdPieces.Library.postProcess
(WorldGenLevel p_229596_, StructureManager p_229597_, ChunkGenerator p_229598_, RandomSource p_229599_, BoundingBox p_229600_, ChunkPos p_229601_, BlockPos p_229602_) void
StrongholdPieces.PortalRoom.postProcess
(WorldGenLevel p_229635_, StructureManager p_229636_, ChunkGenerator p_229637_, RandomSource p_229638_, BoundingBox p_229639_, ChunkPos p_229640_, BlockPos p_229641_) void
StrongholdPieces.PrisonHall.postProcess
(WorldGenLevel p_229667_, StructureManager p_229668_, ChunkGenerator p_229669_, RandomSource p_229670_, BoundingBox p_229671_, ChunkPos p_229672_, BlockPos p_229673_) void
StrongholdPieces.RightTurn.postProcess
(WorldGenLevel p_229694_, StructureManager p_229695_, ChunkGenerator p_229696_, RandomSource p_229697_, BoundingBox p_229698_, ChunkPos p_229699_, BlockPos p_229700_) void
StrongholdPieces.RoomCrossing.postProcess
(WorldGenLevel p_229725_, StructureManager p_229726_, ChunkGenerator p_229727_, RandomSource p_229728_, BoundingBox p_229729_, ChunkPos p_229730_, BlockPos p_229731_) void
StrongholdPieces.StairsDown.postProcess
(WorldGenLevel p_229775_, StructureManager p_229776_, ChunkGenerator p_229777_, RandomSource p_229778_, BoundingBox p_229779_, ChunkPos p_229780_, BlockPos p_229781_) void
StrongholdPieces.Straight.postProcess
(WorldGenLevel p_229820_, StructureManager p_229821_, ChunkGenerator p_229822_, RandomSource p_229823_, BoundingBox p_229824_, ChunkPos p_229825_, BlockPos p_229826_) void
StrongholdPieces.StraightStairsDown.postProcess
(WorldGenLevel p_229853_, StructureManager p_229854_, ChunkGenerator p_229855_, RandomSource p_229856_, BoundingBox p_229857_, ChunkPos p_229858_, BlockPos p_229859_) void
SwampHutPiece.postProcess
(WorldGenLevel p_229961_, StructureManager p_229962_, ChunkGenerator p_229963_, RandomSource p_229964_, BoundingBox p_229965_, ChunkPos p_229966_, BlockPos p_229967_) static PiecesContainer
OceanMonumentStructure.regeneratePiecesAfterLoad
(ChunkPos pChunkPos, long pSeed, PiecesContainer pPiecesContainer) -
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 p_285274_) void
LayerLightEventListener.DummyLightLayerEventListener.propagateLightSources
(ChunkPos p_285209_) void
LevelLightEngine.propagateLightSources
(ChunkPos p_284998_) void
LightEventListener.propagateLightSources
(ChunkPos pChunkPos) void
SkyLightEngine.propagateLightSources
(ChunkPos p_285333_) void
LevelLightEngine.retainData
(ChunkPos pPos, boolean pRetain) void
LightEngine.retainData
(ChunkPos pChunkPos, boolean pRetainData) void
LayerLightEventListener.DummyLightLayerEventListener.setLightEnabled
(ChunkPos p_164431_, boolean p_164432_) void
LevelLightEngine.setLightEnabled
(ChunkPos p_285439_, boolean p_285012_) void
LightEngine.setLightEnabled
(ChunkPos p_285116_, boolean p_285522_) void
LightEventListener.setLightEnabled
(ChunkPos pChunkPos, boolean pLightEnabled) void
SkyLightEngine.setLightEnabled
(ChunkPos p_285459_, boolean p_285013_) -
Uses of ChunkPos in net.minecraft.world.ticks
Methods in net.minecraft.world.ticks with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
LevelTicks.addContainer
(ChunkPos pChunkPos, LevelChunkTicks<T> pChunkTicks) SavedTick.filterTickListForChunk
(List<SavedTick<T>> pTickList, ChunkPos pChunkPos) void
LevelTicks.removeContainer
(ChunkPos pChunkPos) -
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
Method parameters in net.neoforged.neoforge.common.world.chunk with type arguments of type ChunkPosModifier and TypeMethodDescriptionstatic TicketStorage
ForcedChunkManager.readStoredTickets
(Function<List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>>, TicketStorage> vanillaInitializer, List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> tickets, List<ForcedChunkManager.OwnedChunks> ownedChunks) Reads any forced chunks we might have previously saved.static TicketStorage
ForcedChunkManager.readStoredTickets
(Function<List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>>, TicketStorage> vanillaInitializer, List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> tickets, List<ForcedChunkManager.OwnedChunks> ownedChunks) Reads any forced chunks we might have previously saved. -
Uses of ChunkPos in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic 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 ChunkPosMethods 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)