Uses of Class
net.minecraft.world.level.ChunkPos
Package
Description
-
Uses of ChunkPos in net.minecraft
Modifier and TypeMethodDescriptionstatic boolean
SharedConstants.debugVoidTerrain
(ChunkPos p_183708_) -
Uses of ChunkPos in net.minecraft.client.gui.components
-
Uses of ChunkPos in net.minecraft.client.multiplayer
-
Uses of ChunkPos in net.minecraft.client.renderer.chunk
ModifierConstructorDescriptionChunkCompileTask
(ChunkPos pos, double p_194423_, boolean p_194424_) RebuildTask
(ChunkPos pos, double p_194427_, RenderChunkRegion p_194428_, boolean p_194429_) ResortTransparencyTask
(ChunkPos pos, double p_112889_, ChunkRenderDispatcher.CompiledChunk p_112890_) -
Uses of ChunkPos in net.minecraft.client.renderer.debug
Modifier and TypeFieldDescriptionChunkDebugRenderer.ChunkData.clientData
(package private) final CompletableFuture<Map<ChunkPos,
String>> ChunkDebugRenderer.ChunkData.serverData
-
Uses of ChunkPos in net.minecraft.core
Modifier and TypeMethodDescriptionstatic Stream<SectionPos>
SectionPos.aroundChunk
(ChunkPos p_175558_, int p_175559_, int p_175560_, int p_175561_) static SectionPos
-
Uses of ChunkPos in net.minecraft.network
-
Uses of ChunkPos in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final ChunkPos
ClientboundChunksBiomesPacket.ChunkBiomeData.pos
The field for thepos
record component.Modifier and TypeMethodDescriptionClientboundChunksBiomesPacket.ChunkBiomeData.pos()
Returns the value of thepos
record component.Modifier and TypeMethodDescriptionprivate void
ClientboundLightUpdatePacketData.prepareSectionData
(ChunkPos p_195742_, LevelLightEngine p_195743_, LightLayer p_195744_, int p_195745_, BitSet p_195746_, BitSet p_195747_, List<byte[]> p_195748_) static void
DebugPackets.sendPoiPacketsForChunk
(ServerLevel p_133677_, ChunkPos p_133678_) ModifierConstructorDescriptionChunkBiomeData
(ChunkPos pos, byte[] buffer) Creates an instance of aChunkBiomeData
record class.ClientboundLightUpdatePacket
(ChunkPos p_178912_, LevelLightEngine p_178913_, BitSet p_178914_, BitSet p_178915_, boolean p_178916_) ClientboundLightUpdatePacketData
(ChunkPos p_195731_, LevelLightEngine p_195732_, BitSet p_195733_, BitSet p_195734_, boolean p_195735_) -
Uses of ChunkPos in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static void
PlaceCommand.checkLoaded
(ServerLevel p_214544_, ChunkPos p_214545_, ChunkPos p_214546_) -
Uses of ChunkPos in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate final ChunkPos
WorldGenRegion.firstPos
private final ChunkPos
WorldGenRegion.lastPos
(package private) final ChunkPos
ChunkHolder.pos
Modifier and TypeFieldDescriptionstatic final TicketType<ChunkPos>
TicketType.FORCED
static final TicketType<ChunkPos>
TicketType.LIGHT
static final TicketType<ChunkPos>
TicketType.PLAYER
static final TicketType<ChunkPos>
TicketType.UNKNOWN
Modifier and TypeMethodDescriptionWorldGenRegion.getCenter()
ChunkHolder.getPos()
ColumnPos.toChunkPos()
Modifier and TypeMethodDescription<T> void
DistanceManager.addRegionTicket
(TicketType<T> p_140841_, ChunkPos p_140842_, int p_140843_, T p_140844_) <T> void
DistanceManager.addRegionTicket
(TicketType<T> p_140841_, ChunkPos p_140842_, int p_140843_, T p_140844_, boolean forceTicks) <T> void
ServerChunkCache.addRegionTicket
(TicketType<T> p_8388_, ChunkPos p_8389_, int p_8390_, T p_8391_) <T> void
ServerChunkCache.addRegionTicket
(TicketType<T> p_8388_, ChunkPos p_8389_, int p_8390_, T p_8391_, boolean forceTicks) <T> void
DistanceManager.addTicket
(TicketType<T> p_140793_, ChunkPos p_140794_, int p_140795_, T p_140796_) <T> void
TickingTracker.addTicket
(TicketType<T> p_184155_, ChunkPos p_184156_, int p_184157_, T p_184158_) (package private) boolean
ChunkMap.anyPlayerCloseEnoughForSpawning
(ChunkPos p_183880_) private ChunkAccess
ChunkMap.createEmptyChunk
(ChunkPos p_214962_) void
ThreadedLevelLightEngine.enableLightSources
(ChunkPos p_9336_, boolean p_9337_) private static double
ChunkMap.euclideanDistanceSquared
(ChunkPos p_140227_, Entity p_140228_) ChunkMap.getChunkDebugData
(ChunkPos p_140205_) ServerChunkCache.getChunkDebugData
(ChunkPos p_8449_) private CompletableFuture<com.mojang.datafixers.util.Either<List<ChunkAccess>,
ChunkHolder.ChunkLoadingFailure>> ChunkMap.getChunkRangeFuture
(ChunkPos p_140211_, int p_140212_, IntFunction<ChunkStatus> p_140213_) int
ChunkHolder.PlayerProvider.getPlayers
(ChunkPos p_183717_, boolean p_183718_) ChunkMap.getPlayers
(ChunkPos p_183801_, boolean p_183802_) ChunkMap.getPlayersCloseForSpawning
(ChunkPos p_183889_) static BlockPos
PlayerRespawnLogic.getSpawnPosInChunk
(ServerLevel p_183933_, ChunkPos p_183934_) private com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure> ChunkMap.handleChunkLoadFailure
(Throwable p_214902_, ChunkPos p_214903_) private boolean
ChunkMap.isExistingChunkFull
(ChunkPos p_140426_) boolean
ServerLevel.isNaturalSpawningAllowed
(ChunkPos p_201917_) boolean
WorldGenRegion.isOldChunkAround
(ChunkPos p_215160_, int p_215161_) private byte
ChunkMap.markPosition
(ChunkPos p_140230_, ChunkStatus.ChunkType p_140231_) private void
ChunkMap.markPositionReplaceable
(ChunkPos p_140423_) (package private) void
ChunkMap.onFullChunkStatusChange
(ChunkPos p_143076_, ChunkHolder.FullChunkStatus p_143077_) void
ChunkHolder.LevelChangeListener.onLevelChange
(ChunkPos p_140119_, IntSupplier p_140120_, int p_140121_, IntConsumer p_140122_) void
ChunkTaskPriorityQueueSorter.onLevelChange
(ChunkPos p_140616_, IntSupplier p_140617_, int p_140618_, IntConsumer p_140619_) private boolean
ChunkMap.playerIsCloseEnoughForSpawning
(ServerPlayer p_183752_, ChunkPos p_183753_) CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,
ChunkHolder.ChunkLoadingFailure>> ChunkMap.prepareEntityTickingChunk
(ChunkPos p_143118_) private CompletableFuture<Optional<CompoundTag>>
protected void
ChunkMap.releaseLightTicket
(ChunkPos p_140376_) <T> void
DistanceManager.removeRegionTicket
(TicketType<T> p_140850_, ChunkPos p_140851_, int p_140852_, T p_140853_) <T> void
DistanceManager.removeRegionTicket
(TicketType<T> p_140850_, ChunkPos p_140851_, int p_140852_, T p_140853_, boolean forceTicks) <T> void
ServerChunkCache.removeRegionTicket
(TicketType<T> p_8439_, ChunkPos p_8440_, int p_8441_, T p_8442_) <T> void
ServerChunkCache.removeRegionTicket
(TicketType<T> p_8439_, ChunkPos p_8440_, int p_8441_, T p_8442_, boolean forceTicks) <T> void
DistanceManager.removeTicket
(TicketType<T> p_140824_, ChunkPos p_140825_, int p_140826_, T p_140827_) <T> void
TickingTracker.removeTicket
(TicketType<T> p_184169_, ChunkPos p_184170_, int p_184171_, T p_184172_) protected void
ChunkTaskPriorityQueue.resortChunkTasks
(int p_140522_, ChunkPos p_140523_, int p_140524_) void
ThreadedLevelLightEngine.retainData
(ChunkPos p_9370_, boolean p_9371_) private CompletableFuture<com.mojang.datafixers.util.Either<ChunkAccess,
ChunkHolder.ChunkLoadingFailure>> ChunkMap.scheduleChunkLoad
(ChunkPos p_140418_) void
ServerPlayer.trackChunk
(ChunkPos p_184136_, Packet<?> p_184137_) void
ServerPlayer.untrackChunk
(ChunkPos p_9089_) protected void
DistanceManager.updateChunkForced
(ChunkPos p_140800_, boolean p_140801_) void
ServerChunkCache.updateChunkForced
(ChunkPos p_8400_, boolean p_8401_) protected void
ThreadedLevelLightEngine.updateChunkStatus
(ChunkPos p_9331_) protected void
ChunkMap.updateChunkTracking
(ServerPlayer p_183755_, ChunkPos p_183756_, org.apache.commons.lang3.mutable.MutableObject<ClientboundLevelChunkWithLightPacket> p_183757_, boolean p_183758_, boolean p_183759_) ModifierConstructorDescriptionChunkHolder
(ChunkPos p_142986_, int p_142987_, LevelHeightAccessor p_142988_, LevelLightEngine p_142989_, ChunkHolder.LevelChangeListener p_142990_, ChunkHolder.PlayerProvider p_142991_) -
Uses of ChunkPos in net.minecraft.server.level.progress
Modifier and TypeMethodDescriptionvoid
ChunkProgressListener.onStatusChange
(ChunkPos p_9618_, ChunkStatus p_9619_) void
LoggerChunkProgressListener.onStatusChange
(ChunkPos p_9633_, ChunkStatus p_9634_) void
ProcessorChunkProgressListener.onStatusChange
(ChunkPos p_9645_, ChunkStatus p_9646_) void
StoringChunkProgressListener.onStatusChange
(ChunkPos p_9669_, ChunkStatus p_9670_) void
ChunkProgressListener.updateSpawnPos
(ChunkPos p_9617_) void
LoggerChunkProgressListener.updateSpawnPos
(ChunkPos p_9631_) void
ProcessorChunkProgressListener.updateSpawnPos
(ChunkPos p_9643_) void
StoringChunkProgressListener.updateSpawnPos
(ChunkPos p_9667_) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr
Modifier 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 p_185348_, ResourceKey<Level> p_185349_, String p_185350_) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr.event
ModifierConstructorDescriptionChunkGenerationEvent
(ChunkPos p_195543_, ResourceKey<Level> p_195544_, String p_195545_) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr.stats
Modifier and TypeFieldDescriptionprivate final ChunkPos
ChunkGenStat.chunkPos
The field for thechunkPos
record component.Modifier and TypeMethodDescriptionChunkGenStat.chunkPos()
Returns the value of thechunkPos
record component.ModifierConstructorDescriptionChunkGenStat
(Duration duration, ChunkPos chunkPos, ColumnPos worldPos, ChunkStatus status, String level) Creates an instance of aChunkGenStat
record class. -
Uses of ChunkPos in net.minecraft.util.worldupdate
-
Uses of ChunkPos in net.minecraft.world.entity
-
Uses of ChunkPos in net.minecraft.world.entity.ai.village.poi
Modifier and TypeMethodDescriptionvoid
PoiManager.checkConsistencyWithBlocks
(ChunkPos p_27048_, LevelChunkSection p_27049_) PoiManager.getInChunk
(Predicate<Holder<PoiType>> p_27118_, ChunkPos p_27119_, PoiManager.Occupancy p_27120_) -
Uses of ChunkPos in net.minecraft.world.level
Modifier and TypeMethodDescriptionstatic ChunkPos
ChunkPos.maxFromRegion
(int p_220341_, int p_220342_) static ChunkPos
ChunkPos.minFromRegion
(int p_220338_, int p_220339_) Modifier and TypeMethodDescriptionChunkPos.rangeClosed
(ChunkPos p_45597_, int p_45598_) ChunkPos.rangeClosed
(ChunkPos p_45600_, ChunkPos p_45601_) Modifier and TypeMethodDescriptionvoid
LocalMobCapCalculator.addMob
(ChunkPos p_186513_, MobCategory p_186514_) boolean
LocalMobCapCalculator.canSpawn
(MobCategory p_186505_, ChunkPos p_186506_) (package private) boolean
NaturalSpawner.SpawnState.canSpawnForCategory
(MobCategory p_186549_, ChunkPos p_186550_) StructureManager.checkStructurePresence
(ChunkPos p_220474_, Structure p_220475_, boolean p_220476_) int
ChunkPos.getChessboardDistance
(ChunkPos p_45595_) private List<ServerPlayer>
LocalMobCapCalculator.getPlayersNear
(ChunkPos p_186508_) ChunkPos.rangeClosed
(ChunkPos p_45597_, int p_45598_) ChunkPos.rangeClosed
(ChunkPos p_45600_, ChunkPos p_45601_) static void
NaturalSpawner.spawnMobsForChunkGeneration
(ServerLevelAccessor p_220451_, Holder<Biome> p_220452_, ChunkPos p_220453_, RandomSource p_220454_) StructureManager.startsForStructure
(ChunkPos p_220478_, Predicate<Structure> p_220479_) -
Uses of ChunkPos in net.minecraft.world.level.border
-
Uses of ChunkPos in net.minecraft.world.level.chunk
Modifier and TypeFieldDescriptionprivate final Map<ConcentricRingsStructurePlacement,
CompletableFuture<List<ChunkPos>>> ChunkGeneratorStructureState.ringPositions
Modifier and TypeMethodDescriptionprivate CompletableFuture<List<ChunkPos>>
ChunkGeneratorStructureState.generateRingPositions
(Holder<StructureSet> p_255966_, ConcentricRingsStructurePlacement p_255744_) ChunkGeneratorStructureState.getRingPositionsFor
(ConcentricRingsStructurePlacement p_256667_) Modifier and TypeMethodDescriptionChunkGenerator.getStructureGeneratingAt
(Set<Holder<Structure>> p_223199_, LevelReader p_223200_, StructureManager p_223201_, boolean p_223202_, StructurePlacement p_223203_, ChunkPos p_223204_) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry p_223105_, StructureManager p_223106_, RegistryAccess p_223107_, RandomState p_223108_, StructureTemplateManager p_223109_, long p_223110_, ChunkAccess p_223111_, ChunkPos p_223112_, SectionPos p_223113_) static BlockPos
ProtoChunk.unpackOffsetCoordinates
(short p_63228_, int p_63229_, ChunkPos p_63230_) void
ChunkSource.updateChunkForced
(ChunkPos p_62233_, boolean p_62234_) ModifierConstructorDescriptionChunkAccess
(ChunkPos p_187621_, UpgradeData p_187622_, LevelHeightAccessor p_187623_, Registry<Biome> p_187624_, long p_187625_, LevelChunkSection[] p_187626_, BlendingData p_187627_) EmptyLevelChunk
(Level p_204422_, ChunkPos p_204423_, Holder<Biome> p_204424_) LevelChunk
(Level p_187945_, ChunkPos p_187946_) LevelChunk
(Level p_196854_, ChunkPos p_196855_, UpgradeData p_196856_, LevelChunkTicks<Block> p_196857_, LevelChunkTicks<Fluid> p_196858_, long p_196859_, LevelChunkSection[] p_196860_, LevelChunk.PostLoadProcessor p_196861_, BlendingData p_196862_) ProtoChunk
(ChunkPos p_188173_, UpgradeData p_188174_, LevelChunkSection[] p_188175_, ProtoChunkTicks<Block> p_188176_, ProtoChunkTicks<Fluid> p_188177_, LevelHeightAccessor p_188178_, Registry<Biome> p_188179_, BlendingData p_188180_) ProtoChunk
(ChunkPos p_188167_, UpgradeData p_188168_, LevelHeightAccessor p_188169_, Registry<Biome> p_188170_, BlendingData p_188171_) -
Uses of ChunkPos in net.minecraft.world.level.chunk.storage
Modifier and TypeFieldDescriptionprivate final Map<ChunkPos,
IOWorker.PendingStore> IOWorker.pendingWrites
Modifier and TypeMethodDescriptionprivate static ChunkPos
EntityStorage.readChunkPos
(CompoundTag p_156571_) Modifier and TypeMethodDescriptionvoid
private DataInputStream
RegionFile.createChunkInputStream
(ChunkPos p_63651_, byte p_63652_, InputStream p_63653_) private DataInputStream
RegionFile.createExternalChunkInputStream
(ChunkPos p_63648_, byte p_63649_) boolean
RegionFile.doesChunkExist
(ChunkPos p_63674_) private static ChunkEntities<Entity>
EntityStorage.emptyChunk
(ChunkPos p_156569_) void
RegionFile.getChunkDataInputStream
(ChunkPos p_63646_) RegionFile.getChunkDataOutputStream
(ChunkPos p_63679_) private Path
RegionFile.getExternalChunkPath
(ChunkPos p_63685_) private static long
private int
private static int
RegionFile.getOffsetIndex
(ChunkPos p_63689_) private RegionFile
RegionFileStorage.getRegionFile
(ChunkPos p_63712_) boolean
boolean
ChunkStorage.isOldChunkAround
(ChunkPos p_223452_, int p_223453_) boolean
IOWorker.isOldChunkAround
(ChunkPos p_223472_, int p_223473_) EntityStorage.loadEntities
(ChunkPos p_156551_) private static void
private static CompoundTag
ChunkSerializer.packStructureData
(StructurePieceSerializationContext p_188250_, ChunkPos p_188251_, Map<Structure, StructureStart> p_188252_, Map<Structure, it.unimi.dsi.fastutil.longs.LongSet> p_188253_) static ProtoChunk
ChunkSerializer.read
(ServerLevel p_188231_, PoiManager p_188232_, ChunkPos p_188233_, CompoundTag p_188234_) private void
SectionStorage.readColumn
(ChunkPos p_63815_) private <T> void
SectionStorage.readColumn
(ChunkPos p_63802_, com.mojang.serialization.DynamicOps<T> p_63803_, T p_63804_) private void
IOWorker.runStore
(ChunkPos p_63536_, IOWorker.PendingStore p_63537_) ChunkScanAccess.scanChunk
(ChunkPos p_196888_, StreamTagVisitor p_196889_) IOWorker.scanChunk
(ChunkPos p_196939_, StreamTagVisitor p_196940_) void
RegionFileStorage.scanChunk
(ChunkPos p_196957_, StreamTagVisitor p_196958_) IOWorker.store
(ChunkPos p_63539_, CompoundTag p_63540_) private CompletableFuture<Optional<CompoundTag>>
ChunkSerializer.unpackStructureReferences
(RegistryAccess p_208155_, ChunkPos p_208156_, CompoundTag p_208157_) void
ChunkStorage.write
(ChunkPos p_63503_, CompoundTag p_63504_) protected void
RegionFile.write
(ChunkPos p_63655_, ByteBuffer p_63656_) protected void
RegionFileStorage.write
(ChunkPos p_63709_, CompoundTag p_63710_) private static void
EntityStorage.writeChunkPos
(CompoundTag p_156563_, ChunkPos p_156564_) private void
SectionStorage.writeColumn
(ChunkPos p_63826_) private <T> com.mojang.serialization.Dynamic<T>
SectionStorage.writeColumn
(ChunkPos p_63799_, com.mojang.serialization.DynamicOps<T> p_63800_) -
Uses of ChunkPos in net.minecraft.world.level.entity
Modifier and TypeMethodDescriptionboolean
PersistentEntitySectionManager.canPositionTick
(ChunkPos p_202166_) EntityPersistentStorage.loadEntities
(ChunkPos p_156824_) void
ChunkStatusUpdateListener.onChunkStatusChange
(ChunkPos p_156795_, ChunkHolder.FullChunkStatus p_156796_) void
TransientEntitySectionManager.startTicking
(ChunkPos p_157652_) void
TransientEntitySectionManager.stopTicking
(ChunkPos p_157659_) void
PersistentEntitySectionManager.updateChunkStatus
(ChunkPos p_157525_, ChunkHolder.FullChunkStatus p_157526_) void
PersistentEntitySectionManager.updateChunkStatus
(ChunkPos p_157528_, Visibility p_157529_) -
Uses of ChunkPos in net.minecraft.world.level.levelgen
Modifier and TypeMethodDescriptionstatic Aquifer
Aquifer.create
(NoiseChunk p_223881_, ChunkPos p_223882_, NoiseRouter p_223883_, PositionalRandomFactory p_223884_, int p_223885_, int p_223886_, Aquifer.FluidPicker p_223887_) static Beardifier
Beardifier.forStructuresInChunk
(StructureManager p_223938_, ChunkPos p_223939_) ModifierConstructorDescription(package private)
NoiseBasedAquifer
(NoiseChunk p_223891_, ChunkPos p_223892_, NoiseRouter p_223893_, PositionalRandomFactory p_223894_, int p_223895_, int p_223896_, Aquifer.FluidPicker p_223897_) -
Uses of ChunkPos in net.minecraft.world.level.levelgen.carver
Modifier and TypeMethodDescriptionprotected static boolean
WorldCarver.canReach
(ChunkPos p_159368_, double p_159369_, double p_159370_, int p_159371_, int p_159372_, float p_159373_) 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 p_224899_, ChunkAccess p_224900_, Function<BlockPos, Holder<Biome>> p_224901_, RandomSource p_224902_, Aquifer p_224903_, ChunkPos p_224904_, CarvingMask p_224905_) abstract boolean
WorldCarver.carve
(CarvingContext p_224913_, C p_224914_, ChunkAccess p_224915_, Function<BlockPos, Holder<Biome>> p_224916_, RandomSource p_224917_, Aquifer p_224918_, ChunkPos p_224919_, CarvingMask p_224920_) -
Uses of ChunkPos in net.minecraft.world.level.levelgen.feature
Modifier and TypeFieldDescriptionprivate static final ChunkPos
VoidStartPlatformFeature.PLATFORM_ORIGIN_CHUNK
-
Uses of ChunkPos in net.minecraft.world.level.levelgen.placement
Modifier and TypeMethodDescriptionPlacementContext.getCarvingMask
(ChunkPos p_191822_, GenerationStep.Carving p_191823_) -
Uses of ChunkPos in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionprivate final ChunkPos
Structure.GenerationContext.chunkPos
The field for thechunkPos
record component.private final ChunkPos
StructureStart.chunkPos
Modifier and TypeMethodDescriptionStructure.GenerationContext.chunkPos()
Returns the value of thechunkPos
record component.StructureStart.getChunkPos()
Modifier and TypeMethodDescriptionvoid
PostPlacementProcessor.afterPlace
(WorldGenLevel p_226526_, StructureManager p_226527_, ChunkGenerator p_226528_, RandomSource p_226529_, BoundingBox p_226530_, ChunkPos p_226531_, PiecesContainer p_226532_) void
Structure.afterPlace
(WorldGenLevel p_226560_, StructureManager p_226561_, ChunkGenerator p_226562_, RandomSource p_226563_, BoundingBox p_226564_, ChunkPos p_226565_, PiecesContainer p_226566_) private boolean
StructureCheck.canCreateStructure
(ChunkPos p_226756_, Structure p_226757_) StructureCheck.checkStart
(ChunkPos p_226730_, Structure p_226731_, boolean p_226732_) StructureStart.createTag
(StructurePieceSerializationContext p_192661_, ChunkPos p_192662_) Structure.generate
(RegistryAccess p_226597_, ChunkGenerator p_226598_, BiomeSource p_226599_, RandomState p_226600_, StructureTemplateManager p_226601_, long p_226602_, ChunkPos p_226603_, int p_226604_, LevelHeightAccessor p_226605_, Predicate<Holder<Biome>> p_226606_) void
StructureCheck.incrementReference
(ChunkPos p_226723_, Structure p_226724_) boolean
StructurePiece.isCloseToChunk
(ChunkPos p_73412_, int p_73413_) private static WorldgenRandom
Structure.GenerationContext.makeRandom
(long p_226654_, ChunkPos p_226655_) void
StructureCheck.onStructureLoad
(ChunkPos p_197283_, Map<Structure, StructureStart> p_197284_) void
StructureStart.placeInChunk
(WorldGenLevel p_226851_, StructureManager p_226852_, ChunkGenerator p_226853_, RandomSource p_226854_, BoundingBox p_226855_, ChunkPos p_226856_) 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 p_226769_, StructureManager p_226770_, ChunkGenerator p_226771_, RandomSource p_226772_, BoundingBox p_226773_, ChunkPos p_226774_, BlockPos p_226775_) 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 p_226734_, Structure p_226735_, boolean p_226736_, long p_226737_) private CompoundTag
LegacyStructureDataHandler.updateStructureStart
(CompoundTag p_71329_, ChunkPos p_71330_) ModifierConstructorDescriptionGenerationContext
(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 p_226846_, ChunkPos p_226847_, int p_226848_, PiecesContainer p_226849_) -
Uses of ChunkPos in net.minecraft.world.level.levelgen.structure.pieces
Modifier 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.Modifier and TypeMethodDescriptionPieceGenerator.Context.chunkPos()
Returns the value of thechunkPos
record component.PieceGeneratorSupplier.Context.chunkPos()
Returns the value of thechunkPos
record component.ModifierConstructorDescriptionContext
(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
Modifier and TypeMethodDescriptionRandomSpreadStructurePlacement.getPotentialStructureChunk
(long p_227009_, int p_227010_, int p_227011_) -
Uses of ChunkPos in net.minecraft.world.level.levelgen.structure.structures
Modifier 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 p_228961_, WorldgenRandom p_228962_) 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 p_228957_, long p_228958_, PiecesContainer p_228959_) -
Uses of ChunkPos in net.minecraft.world.level.lighting
Modifier and TypeMethodDescriptionvoid
LayerLightEngine.enableLightSources
(ChunkPos p_75676_, boolean p_75677_) void
LayerLightEventListener.DummyLightLayerEventListener.enableLightSources
(ChunkPos p_164431_, boolean p_164432_) void
LevelLightEngine.enableLightSources
(ChunkPos p_75812_, boolean p_75813_) void
LightEventListener.enableLightSources
(ChunkPos p_164452_, boolean p_164453_) void
LayerLightEngine.retainData
(ChunkPos p_75700_, boolean p_75701_) void
LevelLightEngine.retainData
(ChunkPos p_75829_, boolean p_75830_) -
Uses of ChunkPos in net.minecraft.world.ticks
Modifier and TypeMethodDescriptionvoid
LevelTicks.addContainer
(ChunkPos p_193232_, LevelChunkTicks<T> p_193233_) static <T> LevelChunkTicks<T>
static <T> ProtoChunkTicks<T>
static <T> void
SavedTick.loadTickList
(ListTag p_193351_, Function<String, Optional<T>> p_193352_, ChunkPos p_193353_, Consumer<SavedTick<T>> p_193354_) void
LevelTicks.removeContainer
(ChunkPos p_193230_) -
Uses of ChunkPos in net.minecraftforge.client.model.data
Modifier and TypeFieldDescriptionModelDataManager.modelDataCache
ModelDataManager.needModelDataRefresh
-
Uses of ChunkPos in net.minecraftforge.common
Modifier and TypeFieldDescriptionprivate static final Map<LevelReader,
Map<ChunkPos, ChunkTicketManager<Vec3>>> FarmlandWaterManager.customWaterHandler
Modifier 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.minecraftforge.common.ticket
-
Uses of ChunkPos in net.minecraftforge.common.util
-
Uses of ChunkPos in net.minecraftforge.common.world
Modifier and TypeMethodDescriptionprivate static <T extends Comparable<? super T>>
voidForgeChunkManager.forceChunk
(ServerLevel level, ChunkPos pos, TicketType<ForgeChunkManager.TicketOwner<T>> type, ForgeChunkManager.TicketOwner<T> owner, boolean add, boolean ticking) Adds/Removes a ticket from the level's chunk provider with the proper levels to match the forced chunks. -
Uses of ChunkPos in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.fireChunkUnWatch
(ServerPlayer entity, ChunkPos chunkpos, ServerLevel level) -
Uses of ChunkPos in net.minecraftforge.event.level
Modifier and TypeMethodDescriptionChunkWatchEvent.getPos()
Returns the chunk position this watch event is affecting.ModifierConstructorDescriptionChunkWatchEvent
(ServerPlayer player, ChunkPos pos, ServerLevel level) UnWatch
(ServerPlayer player, ChunkPos pos, ServerLevel level)