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 pThrowable, RegionStorageInfo pRegionStorageInfo, ChunkPos pChunkPos) void
IntegratedServer.reportChunkSaveFailure
(Throwable pThrowable, RegionStorageInfo pRegionStorageInfo, ChunkPos pChunkPos) -
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 p_372953_) Methods in net.minecraft.network with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic void
FriendlyByteBuf.writeChunkPos
(io.netty.buffer.ByteBuf p_373081_, ChunkPos p_373096_) 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 TypeMethodDescriptionClientboundTrackedWaypointPacket.addWaypointChunk
(UUID pUuid, Waypoint.Icon pIcon, ChunkPos pChunkPos) private 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) ClientboundTrackedWaypointPacket.updateWaypointChunk
(UUID pUuid, Waypoint.Icon pIcon, 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 pThrowable, RegionStorageInfo pRegionStorageInfo, ChunkPos pChunkPos) void
MinecraftServer.reportChunkSaveFailure
(Throwable pThrowable, RegionStorageInfo pRegionStorageInfo, ChunkPos pChunkPos) 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 pPos, boolean pBoundaryOnly) Returns the players tracking the given chunk.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 p_371860_, IntSupplier p_371728_, int p_371296_, IntConsumer p_371591_) void
ChunkTaskDispatcher.onLevelChange
(ChunkPos pChunkPos, IntSupplier pQueueLevelGetter, int pTicketLevel, IntConsumer pQueueLevelSetter) static long
ServerPlayer.placeEnderPearlTicket
(ServerLevel pLevel, ChunkPos pPos) private boolean
ChunkMap.playerIsCloseEnoughForSpawning
(ServerPlayer pPlayer, ChunkPos pChunkPos) void
ThreadedLevelLightEngine.propagateLightSources
(ChunkPos pChunkPos) 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 pTargetStatus, ChunkPos pPos) GeneratingChunkMap.scheduleGenerationTask
(ChunkStatus pTargetStatus, ChunkPos pPos) private void
ChunkMap.setChunkUnsaved
(ChunkPos p_381702_) void
ThreadedLevelLightEngine.setLightEnabled
(ChunkPos pChunkPos, boolean pLightEnabled) boolean
ServerChunkCache.updateChunkForced
(ChunkPos pChunkPos, boolean pAdd) protected void
ThreadedLevelLightEngine.updateChunkStatus
(ChunkPos pChunkPos) void
ServerLevel.waitForChunkAndEntities
(ChunkPos pChunkPos, int pRadius) 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 pChunkPos, ChunkStatus pChunkStatus) void
ProcessorChunkProgressListener.onStatusChange
(ChunkPos pChunkPos, ChunkStatus pChunkStatus) void
StoringChunkProgressListener.onStatusChange
(ChunkPos pChunkPos, ChunkStatus pChunkStatus) 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 pChunkPos, ResourceKey<Level> pLevel, String pName) 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 pRegionStorageInfo, ChunkPos pChunkPos, RegionFileVersion pVersion, int pBytes) 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 pRegionStorageInfo, ChunkPos pChunkPos, RegionFileVersion pVersion, int pBytes) 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 pChunkPos, ResourceKey<Level> pLevel, Holder<Structure> pStructure) 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> pDimension, 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 pChunkStorage, ChunkPos pChunkPos, ResourceKey<Level> pDimension) 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> p_401366_, it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap<List<Ticket>> pAction) private static TicketStorage
TicketStorage.fromPacked
(List<com.mojang.datafixers.util.Pair<ChunkPos, Ticket>> p_401113_) -
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 ChunkPosModifier and TypeFieldDescriptionprotected final ChunkPos
ChunkAccess.chunkPos
private final ChunkPos
ChunkAccess.ChunkPathElement.pos
The field for thepos
record component.Fields 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 ChunkPosModifier and TypeMethodDescriptionChunkAccess.getPos()
ImposterProtoChunk.getPos()
ChunkAccess.ChunkPathElement.pos()
Returns the value of thepos
record component.Methods in net.minecraft.world.level.chunk that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionprivate CompletableFuture
<List<ChunkPos>> ChunkGeneratorStructureState.generateRingPositions
(Holder<StructureSet> 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>> p_223199_, LevelReader p_223200_, StructureManager p_223201_, boolean p_223202_, StructurePlacement p_223203_, ChunkPos p_223204_) static ProblemReporter.PathElement
ChunkAccess.problemPath
(ChunkPos pPos) 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) (package private)
ChunkPathElement
(ChunkPos pos) Creates an instance of aChunkPathElement
record class.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 pPos) 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 pChunkPos, StreamTagVisitor pVisitor) 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 pPos, Supplier<CompoundTag> pTagSupplier) RecreatingSimpleRegionStorage.write
(ChunkPos pChunkPos, CompoundTag pData) 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 p_362535_, com.mojang.serialization.DynamicOps<T> p_360921_) 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 pContext, CanyonCarverConfiguration 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
.boolean
CaveWorldCarver.carve
(CarvingContext pContext, CaveCarverConfiguration 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
.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 pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) abstract void
StructurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
TemplateStructurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) 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 pLevel, StructureManager pStructureManager, ChunkGenerator pChunkGenerator, RandomSource pRandom, BoundingBox pBoundingBox, ChunkPos pChunkPos, PiecesContainer pPieces) void
WoodlandMansionStructure.afterPlace
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pChunkGenerator, RandomSource pRandom, BoundingBox pBoundingBox, ChunkPos pChunkPos, PiecesContainer pPieces) private static StructurePiece
OceanMonumentStructure.createTopPiece
(ChunkPos pChunkPos, WorldgenRandom pRandom) void
BuriedTreasurePieces.BuriedTreasurePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
DesertPyramidPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
IglooPieces.IglooPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
JungleTemplePiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftCorridor.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
MineshaftPieces.MineShaftStairs.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.BridgeCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.BridgeEndFiller.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.BridgeStraight.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleCorridorStairsPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleCorridorTBalconyPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleEntrance.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorCrossingPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorLeftTurnPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleSmallCorridorRightTurnPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.CastleStalkRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.MonsterThrone.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.RoomCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFortressPieces.StairsRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
NetherFossilPieces.NetherFossilPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.MonumentBuilding.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentCoreRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleXRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleXYRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleYRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleYZRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentDoubleZRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentEntryRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentPenthouse.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentSimpleRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentSimpleTopRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanMonumentPieces.OceanMonumentWingRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
OceanRuinPieces.OceanRuinPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
RuinedPortalPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
ShipwreckPieces.ShipwreckPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.ChestCorridor.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.FillerCorridor.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.FiveCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.LeftTurn.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.Library.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.PortalRoom.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.PrisonHall.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.RightTurn.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.RoomCrossing.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.StairsDown.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.Straight.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
StrongholdPieces.StraightStairsDown.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) void
SwampHutPiece.postProcess
(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) 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 pChunkPos) void
LayerLightEventListener.DummyLightLayerEventListener.propagateLightSources
(ChunkPos pChunkPos) void
LevelLightEngine.propagateLightSources
(ChunkPos pChunkPos) void
LightEventListener.propagateLightSources
(ChunkPos pChunkPos) void
SkyLightEngine.propagateLightSources
(ChunkPos pChunkPos) void
LevelLightEngine.retainData
(ChunkPos pPos, boolean pRetain) void
LightEngine.retainData
(ChunkPos pChunkPos, boolean pRetainData) void
LayerLightEventListener.DummyLightLayerEventListener.setLightEnabled
(ChunkPos pChunkPos, boolean pLightEnabled) void
LevelLightEngine.setLightEnabled
(ChunkPos pChunkPos, boolean pLightEnabled) void
LightEngine.setLightEnabled
(ChunkPos pChunkPos, boolean pLightEnabled) void
LightEventListener.setLightEnabled
(ChunkPos pChunkPos, boolean pLightEnabled) void
SkyLightEngine.setLightEnabled
(ChunkPos pChunkPos, boolean pLightEnabled) -
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.minecraft.world.waypoints
Fields in net.minecraft.world.waypoints declared as ChunkPosModifier and TypeFieldDescriptionprivate ChunkPos
TrackedWaypoint.ChunkWaypoint.chunkPos
private ChunkPos
WaypointTransmitter.EntityChunkConnection.lastPosition
Methods in net.minecraft.world.waypoints with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic boolean
WaypointTransmitter.isChunkVisible
(ChunkPos pPos, ServerPlayer pPlayer) static TrackedWaypoint
TrackedWaypoint.setChunk
(UUID pUuid, Waypoint.Icon pIcon, ChunkPos pChunkPos) Constructors in net.minecraft.world.waypoints with parameters of type 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
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)