Uses of Class
net.minecraft.util.math.ChunkPos
Package
Description
The base package for all Minecraft classes.
-
Uses of ChunkPos in net.minecraft
Modifier and TypeMethodDescriptionstatic boolean
SharedConstants.isOutsideGenerationArea
(ChunkPos pos) -
Uses of ChunkPos in net.minecraft.client.gui.hud
-
Uses of ChunkPos in net.minecraft.client.render
Modifier and TypeMethodDescriptionvoid
WorldRenderer.method_52815
(ChunkPos chunkPos) void
ChunkRenderingDataPreparer.method_52819
(ChunkPos chunkPos) private void
ChunkRenderingDataPreparer.method_52822
(ChunkRenderingDataPreparer.class_8680 class_8680, ChunkPos chunkPos) -
Uses of ChunkPos in net.minecraft.client.render.debug
Modifier and TypeFieldDescriptionChunkLoadingDebugRenderer.ChunkLoadingStatus.clientStates
(package private) final CompletableFuture
<Map<ChunkPos, String>> ChunkLoadingDebugRenderer.ChunkLoadingStatus.serverStates
-
Uses of ChunkPos in net.minecraft.client.toast
Modifier and TypeMethodDescriptionstatic void
SystemToast.addChunkLoadFailure
(MinecraftClient client, ChunkPos pos) static void
SystemToast.addChunkSaveFailure
(MinecraftClient client, ChunkPos pos) -
Uses of ChunkPos in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientWorld.resetChunkColor
(ChunkPos chunkPos) void
ClientEntityManager.startTicking
(ChunkPos pos) void
ClientEntityManager.stopTicking
(ChunkPos pos) void
-
Uses of ChunkPos in net.minecraft.entity
-
Uses of ChunkPos in net.minecraft.network
Modifier and TypeMethodDescriptionPacketByteBuf.readChunkPos()
Reads a chunk position from this buf.Modifier and TypeMethodDescriptionPacketByteBuf.writeChunkPos
(ChunkPos pos) Writes a chunk position to this buf. -
Uses of ChunkPos in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final ChunkPos
ChunkBiomeDataS2CPacket.Serialized.pos
The field for thepos
record component.private final ChunkPos
UnloadChunkS2CPacket.pos
The field for thepos
record component.Modifier and TypeMethodDescriptionChunkBiomeDataS2CPacket.Serialized.pos()
Returns the value of thepos
record component.UnloadChunkS2CPacket.pos()
Returns the value of thepos
record component.Modifier and TypeMethodDescriptionprivate void
LightData.putChunk
(ChunkPos pos, LightingProvider lightProvider, LightType type, int y, BitSet initialized, BitSet uninitialized, List<byte[]> nibbles) ModifierConstructorDescriptionLightData
(ChunkPos pos, LightingProvider lightProvider, @Nullable BitSet skyBits, @Nullable BitSet blockBits) LightUpdateS2CPacket
(ChunkPos chunkPos, LightingProvider lightProvider, @Nullable BitSet skyBits, @Nullable BitSet blockBits) Serialized
(ChunkPos chunkPos, byte[] byte2) UnloadChunkS2CPacket
(ChunkPos chunkPos) -
Uses of ChunkPos in net.minecraft.server
Modifier and TypeMethodDescriptionvoid
MinecraftServer.onChunkLoadFailure
(ChunkPos pos) void
MinecraftServer.onChunkSaveFailure
(ChunkPos pos) void
QueueingWorldGenerationProgressListener.setChunkStatus
(ChunkPos pos, @Nullable ChunkStatus status) void
WorldGenerationProgressListener.setChunkStatus
(ChunkPos pos, @Nullable ChunkStatus status) void
WorldGenerationProgressLogger.setChunkStatus
(ChunkPos pos, @Nullable ChunkStatus status) void
WorldGenerationProgressTracker.setChunkStatus
(ChunkPos pos, @Nullable ChunkStatus status) void
void
void
void
-
Uses of ChunkPos in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static void
PlaceCommand.throwOnUnloadedPos
(ServerWorld world, ChunkPos pos1, ChunkPos pos2) -
Uses of ChunkPos in net.minecraft.server.integrated
Modifier and TypeMethodDescriptionvoid
IntegratedServer.onChunkLoadFailure
(ChunkPos pos) void
IntegratedServer.onChunkSaveFailure
(ChunkPos pos) -
Uses of ChunkPos in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate final ChunkPos
ChunkFilter.Cylindrical.center
The field for thecenter
record component.Modifier and TypeMethodDescriptionChunkFilter.Cylindrical.center()
Returns the value of thecenter
record component.Modifier and TypeMethodDescriptionstatic ChunkFilter
ChunkFilter.cylindrical
(ChunkPos center, int viewDistance) SpawnLocating.findServerSpawnPoint
(ServerWorld world, ChunkPos chunkPos) default boolean
ChunkFilter.isWithinDistance
(ChunkPos pos) private List
<WorldChunk> ChunkDataSender.makeBatch
(ServerChunkLoadingManager chunkLoadingManager, ChunkPos playerPos) static void
DebugInfoSender.sendChunkWatchingChange
(ServerWorld world, ChunkPos pos) void
ChunkDataSender.unload
(ServerPlayerEntity player, ChunkPos pos) Modifier and TypeMethodDescriptionvoid
void
static void
ChunkFilter.forEachChangedChunk
(ChunkFilter oldFilter, ChunkFilter newFilter, Consumer<ChunkPos> newlyIncluded, Consumer<ChunkPos> justRemoved) -
Uses of ChunkPos in net.minecraft.server.world
Modifier and TypeFieldDescriptionstatic final ChunkTicketType
<ChunkPos> ChunkTicketType.FORCED
Used to force load chunks.static final ChunkTicketType
<ChunkPos> ChunkTicketType.PLAYER
static final ChunkTicketType
<ChunkPos> ChunkTicketType.UNKNOWN
Represents a type of ticket that has an unknown cause for loading chunks.Modifier and TypeMethodDescription<T> void
ChunkTicketManager.addTicket
(ChunkTicketType<T> type, ChunkPos pos, int radius, T argument) <T> void
ServerChunkManager.addTicket
(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument) Adds a chunk ticket to the ticket manager.<T> void
ChunkTicketManager.addTicketWithLevel
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) private boolean
ServerChunkLoadingManager.canTickChunk
(ServerPlayerEntity player, ChunkPos pos) Returns whether theplayer
can tick the chunk atpos
.ServerChunkLoadingManager.createLoader
(ChunkStatus requestedStatus, ChunkPos pos) void
ServerChunkLoadingManager.forceLighting
(ChunkPos centerPos, int radius) ServerChunkLoadingManager.getChunkLoadingDebugInfo
(ChunkPos chunkPos) ServerChunkManager.getChunkLoadingDebugInfo
(ChunkPos pos) ChunkHolder.PlayersWatchingChunkProvider.getPlayersWatchingChunk
(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge) ServerChunkLoadingManager.getPlayersWatchingChunk
(ChunkPos pos) ServerChunkLoadingManager.getPlayersWatchingChunk
(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge) private Chunk
ServerChunkLoadingManager.getProtoChunk
(ChunkPos chunkPos) private static double
ServerChunkLoadingManager.getSquaredDistance
(ChunkPos pos, Entity entity) private CompletableFuture
<Optional<NbtCompound>> ServerChunkLoadingManager.getUpdatedChunkNbt
(ChunkPos chunkPos) private boolean
ServerChunkLoadingManager.isLevelChunk
(ChunkPos pos) private CompletableFuture
<Chunk> private byte
private void
ServerChunkLoadingManager.markAsProtoChunk
(ChunkPos pos) (package private) void
ServerChunkLoadingManager.onChunkStatusChange
(ChunkPos chunkPos, ChunkLevelType levelType) void
ServerLightingProvider.propagateLight
(ChunkPos chunkPos) private Chunk
ServerChunkLoadingManager.recoverFromException
(Throwable throwable, ChunkPos chunkPos) <T> void
ChunkTicketManager.removeTicket
(ChunkTicketType<T> type, ChunkPos pos, int radius, T argument) <T> void
ServerChunkManager.removeTicket
(ChunkTicketType<T> ticketType, ChunkPos pos, int radius, T argument) Removes a chunk ticket from the ticket manager.<T> void
ChunkTicketManager.removeTicketWithLevel
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) protected void
ChunkTicketManager.setChunkForced
(ChunkPos pos, boolean forced) void
ServerChunkManager.setChunkForced
(ChunkPos pos, boolean forced) void
ServerLightingProvider.setColumnEnabled
(ChunkPos pos, boolean retainData) void
ServerLightingProvider.setRetainData
(ChunkPos pos, boolean retainData) (package private) boolean
ServerChunkLoadingManager.shouldTick
(ChunkPos pos) boolean
ServerEntityManager.shouldTick
(ChunkPos pos) boolean
ServerWorld.shouldTick
(ChunkPos pos) private void
ServerChunkLoadingManager.track
(ServerPlayerEntity player, ChunkPos pos) private static void
ServerChunkLoadingManager.untrack
(ServerPlayerEntity player, ChunkPos pos) protected void
ServerLightingProvider.updateChunkStatus
(ChunkPos pos) void
ChunkHolder.LevelUpdateListener.updateLevel
(ChunkPos pos, IntSupplier levelGetter, int targetLevel, IntConsumer levelSetter) void
ChunkTaskPrioritySystem.updateLevel
(ChunkPos pos, IntSupplier levelGetter, int targetLevel, IntConsumer levelSetter) protected void
LevelPrioritizedQueue.updateLevel
(int fromLevel, ChunkPos pos, int toLevel) void
ServerEntityManager.updateTrackingStatus
(ChunkPos chunkPos, ChunkLevelType levelType) Updates the tracking status of tracking sections in a chunk atchunkPos
given thelevelType
.void
ServerEntityManager.updateTrackingStatus
(ChunkPos chunkPos, EntityTrackingStatus trackingStatus) Updates thetrackingStatus
of tracking sections in a chunk atchunkPos
.ModifierConstructorDescriptionChunkHolder
(ChunkPos pos, int level, HeightLimitView world, LightingProvider lightingProvider, ChunkHolder.LevelUpdateListener levelUpdateListener, ChunkHolder.PlayersWatchingChunkProvider playersWatchingChunkProvider) -
Uses of ChunkPos in net.minecraft.structure
Modifier and TypeFieldDescriptionprivate final ChunkPos
StructureGeneratorFactory.Context.chunkPos
The field for thechunkPos
record component.private final ChunkPos
StructurePiecesGenerator.Context.chunkPos
The field for thechunkPos
record component.private final ChunkPos
StructureStart.pos
Modifier and TypeMethodDescriptionStructureGeneratorFactory.Context.chunkPos()
Returns the value of thechunkPos
record component.StructurePiecesGenerator.Context.chunkPos()
Returns the value of thechunkPos
record component.StructureStart.getPos()
Modifier and TypeMethodDescriptionvoid
PostPlacementProcessor.afterPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos pos, StructurePiecesList children) void
BuriedTreasureGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
DesertTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
IglooGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
JungleTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
MineshaftGenerator.MineshaftStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.Bridge.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeEnd.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgePlatform.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeSmallCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.BridgeStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorBalcony.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorExit.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorLeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorNetherWartsRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorRightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.CorridorStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFortressGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
NetherFossilGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.Base.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.CoreRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleXRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleXYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleYZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.DoubleZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.Entry.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.Penthouse.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.SimpleRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.SimpleRoomTop.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanMonumentGenerator.WingRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
OceanRuinGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
RuinedPortalStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
ShipwreckGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
SimpleStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.ChestCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.Corridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.FiveWayCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.LeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.Library.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.PortalRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.PrisonHall.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.RightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.SpiralStaircase.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.SquareRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
StrongholdGenerator.Stairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) abstract void
StructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) void
SwampHutGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) boolean
StructurePiece.intersectsChunk
(ChunkPos pos, int offset) void
StructureStart.place
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos) StructureStart.toNbt
(StructureContext context, ChunkPos chunkPos) ModifierConstructorDescriptionContext
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, long long2, ChunkPos chunkPos, C c, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate, StructureTemplateManager structureTemplateManager, DynamicRegistryManager dynamicRegistryManager) Context
(C c, ChunkGenerator chunkGenerator, StructureTemplateManager structureTemplateManager, ChunkPos chunkPos, HeightLimitView heightLimitView, ChunkRandom chunkRandom, long long2) StructureStart
(Structure structure, ChunkPos pos, int references, StructurePiecesList children) -
Uses of ChunkPos in net.minecraft.text
-
Uses of ChunkPos in net.minecraft.util.math
Modifier and TypeFieldDescriptionstatic final ChunkPos
ChunkPos.ORIGIN
The origin of the chunk position,0, 0
.Modifier and TypeMethodDescriptionstatic ChunkPos
ChunkPos.fromRegion
(int x, int z) static ChunkPos
ChunkPos.fromRegionCenter
(int x, int z) ChunkSectionPos.toChunkPos()
ColumnPos.toChunkPos()
Modifier and TypeMethodDescriptionstatic ChunkSectionPos
Creates a chunk section position from a chunk position and the y-coordinate of the vertical section.int
ChunkPos.getChebyshevDistance
(ChunkPos pos) int
ChunkPos.getSquaredDistance
(ChunkPos pos) static Stream
<ChunkSectionPos> -
Uses of ChunkPos in net.minecraft.util.profiling.jfr
Modifier and TypeMethodDescriptionvoid
FlightProfiler.NoopProfiler.onChunkRegionRead
(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) void
FlightProfiler.onChunkRegionRead
(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) void
JfrProfiler.onChunkRegionRead
(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) void
FlightProfiler.NoopProfiler.onChunkRegionWrite
(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) void
FlightProfiler.onChunkRegionWrite
(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) void
JfrProfiler.onChunkRegionWrite
(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) FlightProfiler.NoopProfiler.startChunkGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) FlightProfiler.startChunkGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) JfrProfiler.startChunkGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr.event
ModifierConstructorDescriptionChunkGenerationEvent
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) ChunkRegionEvent
(StorageKey key, ChunkPos chunkPos, ChunkCompressionFormat format, int bytes) ChunkRegionReadEvent
(StorageKey storageKey, ChunkPos chunkPos, ChunkCompressionFormat chunkCompressionFormat, int int2) ChunkRegionWriteEvent
(StorageKey storageKey, ChunkPos chunkPos, ChunkCompressionFormat chunkCompressionFormat, int int2) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr.sample
Modifier and TypeFieldDescriptionprivate final ChunkPos
ChunkGenerationSample.chunkPos
The field for thechunkPos
record component.Modifier and TypeMethodDescriptionChunkGenerationSample.chunkPos()
Returns the value of thechunkPos
record component.ModifierConstructorDescriptionChunkGenerationSample
(Duration duration, ChunkPos chunkPos, ColumnPos columnPos, ChunkStatus chunkStatus, String string) -
Uses of ChunkPos in net.minecraft.world
Modifier and TypeMethodDescription<T> void
SimulationDistanceLevelPropagator.add
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) void
StructureLocator.cache
(ChunkPos pos, Map<Structure, StructureStart> structureStarts) boolean
SpawnDensityCapper.canSpawn
(SpawnGroup spawnGroup, ChunkPos chunkPos) ChunkLoadingManager.createLoader
(ChunkStatus requestedStatus, ChunkPos pos) static ProtoChunk
ChunkSerializer.deserialize
(ServerWorld world, PointOfInterestStorage poiStorage, ChunkPos chunkPos, NbtCompound nbt) int
private List
<ServerPlayerEntity> SpawnDensityCapper.getMobSpawnablePlayers
(ChunkPos chunkPos) private @Nullable StructurePresence
StructureLocator.getStructurePresence
(ChunkPos pos, Structure structure, boolean skipReferencedStructures, long posLong) StructureLocator.getStructurePresence
(ChunkPos pos, Structure type, StructurePlacement placement, boolean skipReferencedStructures) private NbtCompound
FeatureUpdater.getUpdatedStarts
(NbtCompound nbt, ChunkPos pos) void
SpawnDensityCapper.increaseDensity
(ChunkPos chunkPos, SpawnGroup spawnGroup) void
StructureLocator.incrementReferences
(ChunkPos pos, Structure structure) (package private) boolean
SpawnHelper.Info.isBelowCap
(SpawnGroup group, ChunkPos chunkPos) private boolean
StructureLocator.isGenerationPossible
(ChunkPos pos, Structure structure) Returns whetherstructure
is able to generate inpos
.private static void
ChunkSerializer.logRecoverableError
(ChunkPos chunkPos, int y, String message) boolean
ChunkRegion.needsBlending
(ChunkPos chunkPos, int checkRadius) static void
SpawnHelper.populateEntities
(ServerWorldAccess world, RegistryEntry<Biome> biomeEntry, ChunkPos chunkPos, Random random) ChunkSerializer.readStructureReferences
(DynamicRegistryManager registryManager, ChunkPos pos, NbtCompound nbt) <T> void
SimulationDistanceLevelPropagator.remove
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) private static NbtCompound
ChunkSerializer.writeStructures
(StructureContext context, ChunkPos pos, Map<Structure, StructureStart> starts, Map<Structure, LongSet> references) -
Uses of ChunkPos in net.minecraft.world.border
-
Uses of ChunkPos in net.minecraft.world.chunk
Modifier and TypeFieldDescriptionprotected final ChunkPos
AbstractChunkHolder.pos
protected final ChunkPos
Chunk.pos
private final ChunkPos
ChunkLoader.pos
Modifier and TypeMethodDescriptionAbstractChunkHolder.getPos()
Chunk.getPos()
WrapperProtoChunk.getPos()
Modifier and TypeMethodDescriptionstatic ChunkLoader
ChunkLoader.create
(ChunkLoadingManager chunkLoadingManager, ChunkStatus targetStatus, ChunkPos pos) static BlockPos
ProtoChunk.joinBlockPos
(short sectionRel, int sectionY, ChunkPos chunkPos) void
ChunkStatusChangeListener.onChunkStatusChange
(ChunkPos pos, ChunkLevelType levelType) void
ChunkManager.setChunkForced
(ChunkPos pos, boolean forced) ModifierConstructorDescriptionChunk
(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biomeRegistry, long inhabitedTime, @Nullable ChunkSection[] sectionArray, @Nullable BlendingData blendingData) private
ChunkLoader
(ChunkLoadingManager chunkLoadingManager, ChunkStatus targetStatus, ChunkPos pos, BoundedRegionArray<AbstractChunkHolder> chunks) EmptyChunk
(World world, ChunkPos pos, RegistryEntry<Biome> biomeEntry) ProtoChunk
(ChunkPos pos, UpgradeData upgradeData, @Nullable ChunkSection[] sections, SimpleTickScheduler<Block> blockTickScheduler, SimpleTickScheduler<Fluid> fluidTickScheduler, HeightLimitView world, Registry<Biome> biomeRegistry, @Nullable BlendingData blendingData) ProtoChunk
(ChunkPos pos, UpgradeData upgradeData, HeightLimitView world, Registry<Biome> biomeRegistry, @Nullable BlendingData blendingData) WorldChunk
(World world, ChunkPos pos) WorldChunk
(World world, ChunkPos pos, UpgradeData upgradeData, ChunkTickScheduler<Block> blockTickScheduler, ChunkTickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable ChunkSection[] sectionArrayInitializer, @Nullable WorldChunk.EntityLoader entityLoader, @Nullable BlendingData blendingData) -
Uses of ChunkPos in net.minecraft.world.chunk.light
Modifier and TypeMethodDescriptionvoid
ChunkBlockLightProvider.propagateLight
(ChunkPos chunkPos) void
ChunkLightingView.Empty.propagateLight
(ChunkPos chunkPos) void
ChunkSkyLightProvider.propagateLight
(ChunkPos chunkPos) void
LightingProvider.propagateLight
(ChunkPos chunkPos) void
LightingView.propagateLight
(ChunkPos chunkPos) void
ChunkLightingView.Empty.setColumnEnabled
(ChunkPos pos, boolean retainData) void
ChunkLightProvider.setColumnEnabled
(ChunkPos pos, boolean retainData) void
ChunkSkyLightProvider.setColumnEnabled
(ChunkPos pos, boolean retainData) void
LightingProvider.setColumnEnabled
(ChunkPos pos, boolean retainData) void
LightingView.setColumnEnabled
(ChunkPos pos, boolean retainData) void
ChunkLightProvider.setRetainColumn
(ChunkPos pos, boolean retainData) void
LightingProvider.setRetainData
(ChunkPos pos, boolean retainData) -
Uses of ChunkPos in net.minecraft.world.gen
Modifier and TypeMethodDescriptionstatic StructureWeightSampler
StructureWeightSampler.createStructureWeightSampler
(StructureAccessor world, ChunkPos pos) StructureAccessor.getStructurePresence
(ChunkPos chunkPos, Structure structure, StructurePlacement placement, boolean skipReferencedStructures) StructureAccessor.getStructureStarts
(ChunkPos pos, Predicate<Structure> predicate) -
Uses of ChunkPos in net.minecraft.world.gen.carver
Modifier and TypeMethodDescriptionprotected static boolean
Carver.canCarveBranch
(ChunkPos pos, double x, double z, int branchIndex, int branchCount, float baseWidth) abstract boolean
Carver.carve
(CarverContext context, C config, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
CaveCarver.carve
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) boolean
ConfiguredCarver.carve
(CarverContext context, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
RavineCarver.carve
(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, RegistryEntry<Biome>> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) CarvingMask.streamBlockPos
(ChunkPos chunkPos) -
Uses of ChunkPos in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionstatic AquiferSampler
AquiferSampler.aquifer
(ChunkNoiseSampler chunkNoiseSampler, ChunkPos chunkPos, NoiseRouter noiseRouter, RandomSplitter randomSplitter, int minimumY, int height, AquiferSampler.FluidLevelSampler fluidLevelSampler) private static @Nullable com.mojang.datafixers.util.Pair
<BlockPos, RegistryEntry<Structure>> ChunkGenerator.locateStructure
(Set<RegistryEntry<Structure>> structures, WorldView world, StructureAccessor structureAccessor, boolean skipReferencedStructures, StructurePlacement placement, ChunkPos pos) private boolean
ChunkGenerator.trySetStructureStart
(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos) ModifierConstructorDescription(package private)
Impl
(ChunkNoiseSampler chunkNoiseSampler, ChunkPos chunkPos, NoiseRouter noiseRouter, RandomSplitter randomSplitter, int minimumY, int height, AquiferSampler.FluidLevelSampler fluidLevelSampler) -
Uses of ChunkPos in net.minecraft.world.gen.chunk.placement
Modifier and TypeFieldDescriptionprivate final Map
<ConcentricRingsStructurePlacement, CompletableFuture<List<ChunkPos>>> StructurePlacementCalculator.concentricPlacementsToPositions
Modifier and TypeMethodDescriptionRandomSpreadStructurePlacement.getStartChunk
(long seed, int chunkX, int chunkZ) Modifier and TypeMethodDescriptionprivate CompletableFuture
<List<ChunkPos>> StructurePlacementCalculator.calculateConcentricsRingPlacementPos
(RegistryEntry<StructureSet> structureSetEntry, ConcentricRingsStructurePlacement placement) StructurePlacementCalculator.getPlacementPositions
(ConcentricRingsStructurePlacement placement) -
Uses of ChunkPos in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionprivate static final ChunkPos
VoidStartPlatformFeature.START_CHUNK
Modifier and TypeMethodDescriptionFeaturePlacementContext.getOrCreateCarvingMask
(ChunkPos chunkPos, GenerationStep.Carver carver) -
Uses of ChunkPos in net.minecraft.world.gen.structure
Modifier and TypeFieldDescriptionprivate final ChunkPos
Structure.Context.chunkPos
The field for thechunkPos
record component.Modifier and TypeMethodDescriptionStructure.Context.chunkPos()
Returns the value of thechunkPos
record component.Modifier and TypeMethodDescriptionprivate static StructurePiece
OceanMonumentStructure.createBasePiece
(ChunkPos pos, ChunkRandom random) private static ChunkRandom
Structure.Context.createChunkRandom
(long seed, ChunkPos chunkPos) Structure.createStructureStart
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, int references, HeightLimitView world, Predicate<RegistryEntry<Biome>> validBiomes) static StructurePiecesList
OceanMonumentStructure.modifyPiecesOnRead
(ChunkPos pos, long worldSeed, StructurePiecesList pieces) void
DesertPyramidStructure.postPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces) void
Structure.postPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces) void
WoodlandMansionStructure.postPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos, StructurePiecesList pieces) ModifierConstructorDescriptionContext
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, HeightLimitView world, Predicate<RegistryEntry<Biome>> biomePredicate) Context
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, NoiseConfig noiseConfig, StructureTemplateManager structureTemplateManager, ChunkRandom chunkRandom, long long2, ChunkPos chunkPos, HeightLimitView heightLimitView, Predicate<RegistryEntry<Biome>> predicate) -
Uses of ChunkPos in net.minecraft.world.poi
Modifier and TypeMethodDescriptionPointOfInterestStorage.getInChunk
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, ChunkPos chunkPos, PointOfInterestStorage.OccupationStatus occupationStatus) -
Uses of ChunkPos in net.minecraft.world.storage
Modifier and TypeFieldDescriptionprivate final ChunkPos
ChunkDataList.pos
private final ChunkPos
RegionFile.ChunkBuffer.pos
Modifier and TypeFieldDescriptionprivate final Map
<ChunkPos, StorageIoWorker.Result> StorageIoWorker.results
Modifier and TypeMethodDescriptionChunkDataList.getChunkPos()
private static ChunkPos
EntityChunkDataAccess.getChunkPos
(NbtCompound chunkNbt) Modifier and TypeMethodDescriptionprivate static long
SerializingRegionBasedStorage.chunkSectionPosAsLong
(ChunkPos chunkPos, int y) private @Nullable DataInputStream
RegionFile.decompress
(ChunkPos pos, byte flags, InputStream stream) void
private static ChunkDataList
<Entity> EntityChunkDataAccess.emptyDataList
(ChunkPos pos) RegionFile.getChunkInputStream
(ChunkPos pos) RegionFile.getChunkOutputStream
(ChunkPos pos) private Path
RegionFile.getExternalChunkPath
(ChunkPos chunkPos) private static int
private @Nullable DataInputStream
RegionFile.getInputStream
(ChunkPos pos, byte flags) private RegionFile
RegionBasedStorage.getRegionFile
(ChunkPos pos) private int
RegionFile.getSectorData
(ChunkPos pos) boolean
boolean
RegionFile.isChunkValid
(ChunkPos pos) private void
SerializingRegionBasedStorage.loadDataAt
(ChunkPos pos) private CompletableFuture
<Optional<NbtCompound>> protected void
VersionedChunkStorage.markFeatureUpdateResolved
(ChunkPos chunkPos) boolean
StorageIoWorker.needsBlending
(ChunkPos chunkPos, int checkRadius) boolean
VersionedChunkStorage.needsBlending
(ChunkPos chunkPos, int checkRadius) private static void
EntityChunkDataAccess.putChunkPos
(NbtCompound chunkNbt, ChunkPos pos) ChunkDataAccess.readChunkData
(ChunkPos pos) EntityChunkDataAccess.readChunkData
(ChunkPos pos) StorageIoWorker.readChunkData
(ChunkPos pos) private void
void
NbtScannable.scanChunk
(ChunkPos pos, NbtScanner scanner) void
RegionBasedStorage.scanChunk
(ChunkPos chunkPos, NbtScanner scanner) StorageIoWorker.scanChunk
(ChunkPos pos, NbtScanner scanner) private <T> com.mojang.serialization.Dynamic
<T> SerializingRegionBasedStorage.serialize
(ChunkPos chunkPos, com.mojang.serialization.DynamicOps<T> ops) ChunkPosKeyedStorage.set
(ChunkPos pos, @Nullable NbtCompound nbt) RecreationStorage.set
(ChunkPos pos, @Nullable NbtCompound nbt) RecreatedChunkStorage.setNbt
(ChunkPos chunkPos, NbtCompound nbt) VersionedChunkStorage.setNbt
(ChunkPos chunkPos, NbtCompound nbt) StorageIoWorker.setResult
(ChunkPos pos, @Nullable NbtCompound nbt) private void
SerializingRegionBasedStorage.update
(ChunkPos pos, RegistryOps<NbtElement> ops, @Nullable NbtCompound nbt) protected void
RegionBasedStorage.write
(ChunkPos pos, @Nullable NbtCompound nbt) private void
StorageIoWorker.write
(ChunkPos pos, StorageIoWorker.Result result) protected void
RegionFile.writeChunk
(ChunkPos pos, ByteBuffer buf) ModifierConstructorDescriptionChunkBuffer
(ChunkPos pos) ChunkDataList
(ChunkPos pos, List<T> list) -
Uses of ChunkPos in net.minecraft.world.tick
Modifier and TypeMethodDescriptionvoid
WorldTickScheduler.addChunkTickScheduler
(ChunkPos pos, ChunkTickScheduler<T> scheduler) static <T> ChunkTickScheduler
<T> ChunkTickScheduler.create
(NbtList tickQueue, Function<String, Optional<T>> nameToTypeFunction, ChunkPos pos) void
WorldTickScheduler.removeChunkTickScheduler
(ChunkPos pos) static <T> SimpleTickScheduler
<T> SimpleTickScheduler.tick
(NbtList tickList, Function<String, Optional<T>> typeToNameFunction, ChunkPos pos) static <T> void
Tick.tick
(NbtList tickList, Function<String, Optional<T>> nameToTypeFunction, ChunkPos pos, Consumer<Tick<T>> tickConsumer) -
Uses of ChunkPos in net.minecraft.world.updater
Modifier and TypeFieldDescriptionWorldUpdater.Region.chunksToUpgrade
The field for thechunksToUpgrade
record component.Modifier and TypeMethodDescriptionWorldUpdater.Region.chunksToUpgrade()
Returns the value of thechunksToUpgrade
record component.Modifier and TypeMethodDescriptionprotected boolean
WorldUpdater.ChunkPosKeyedStorageUpdate.update
(ChunkPosKeyedStorage chunkPosKeyedStorage, ChunkPos chunkPos, RegistryKey<World> registryKey) protected boolean
WorldUpdater.RegionUpdate.update
(VersionedChunkStorage versionedChunkStorage, ChunkPos chunkPos, RegistryKey<World> registryKey) private boolean
WorldUpdater.Update.update
(RegistryKey<World> worldKey, T storage, ChunkPos chunkPos) protected abstract boolean
WorldUpdater.Update.update
(T storage, ChunkPos chunkPos, RegistryKey<World> worldKey) ModifierConstructorDescription(package private)
Region
(RegionFile regionFile, List<ChunkPos> list)