Uses of Class
net.minecraft.util.math.ChunkPos
Package
Description
The base package for all Minecraft classes.
-
Uses of ChunkPos in net.minecraft
-
Uses of ChunkPos in net.minecraft.client.gui
Modifier and TypeMethodDescriptionvoid
WorldGenerationProgressTracker.setChunkStatus
(ChunkPos pos, @Nullable ChunkStatus status) void
-
Uses of ChunkPos in net.minecraft.client.gui.hud
-
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.world
Modifier and TypeMethodDescriptionvoid
ClientWorld.resetChunkColor
(ChunkPos chunkPos) void
ClientEntityManager.startTicking
(ChunkPos pos) void
ClientEntityManager.stopTicking
(ChunkPos pos) -
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 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, boolean nonEdge) LightUpdateS2CPacket
(ChunkPos chunkPos, LightingProvider lightProvider, @Nullable BitSet skyBits, @Nullable BitSet blockBits, boolean nonEdge) -
Uses of ChunkPos in net.minecraft.server
Modifier and TypeMethodDescriptionvoid
QueueingWorldGenerationProgressListener.setChunkStatus
(ChunkPos pos, @Nullable ChunkStatus status) void
WorldGenerationProgressListener.setChunkStatus
(ChunkPos pos, @Nullable ChunkStatus status) void
WorldGenerationProgressLogger.setChunkStatus
(ChunkPos pos, @Nullable ChunkStatus status) 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.network
Modifier and TypeMethodDescriptionSpawnLocating.findServerSpawnPoint
(ServerWorld world, ChunkPos chunkPos) static void
DebugInfoSender.sendChunkWatchingChange
(ServerWorld world, ChunkPos pos) void
ServerPlayerEntity.sendInitialChunkPackets
(ChunkPos chunkPos, Packet<?> chunkDataPacket) void
ServerPlayerEntity.sendUnloadChunkPacket
(ChunkPos chunkPos) -
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.LIGHT
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
ThreadedAnvilChunkStorage.canTickChunk
(ServerPlayerEntity player, ChunkPos pos) Returns whether theplayer
can tick the chunk atpos
.ServerChunkManager.getChunkLoadingDebugInfo
(ChunkPos pos) ThreadedAnvilChunkStorage.getChunkLoadingDebugInfo
(ChunkPos chunkPos) ChunkHolder.PlayersWatchingChunkProvider.getPlayersWatchingChunk
(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge) ThreadedAnvilChunkStorage.getPlayersWatchingChunk
(ChunkPos pos) ThreadedAnvilChunkStorage.getPlayersWatchingChunk
(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge) private Chunk
ThreadedAnvilChunkStorage.getProtoChunk
(ChunkPos chunkPos) private CompletableFuture<com.mojang.datafixers.util.Either<List<Chunk>,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.getRegion
(ChunkPos centerChunk, int margin, IntFunction<ChunkStatus> distanceToStatus) private static double
ThreadedAnvilChunkStorage.getSquaredDistance
(ChunkPos pos, Entity entity) private CompletableFuture<Optional<NbtCompound>>
ThreadedAnvilChunkStorage.getUpdatedChunkNbt
(ChunkPos chunkPos) private boolean
ThreadedAnvilChunkStorage.isLevelChunk
(ChunkPos pos) private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded>> CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,
ChunkHolder.Unloaded>> ThreadedAnvilChunkStorage.makeChunkEntitiesTickable
(ChunkPos pos) private byte
ThreadedAnvilChunkStorage.mark
(ChunkPos pos, ChunkStatus.ChunkType type) private void
ThreadedAnvilChunkStorage.markAsProtoChunk
(ChunkPos pos) (package private) void
ThreadedAnvilChunkStorage.onChunkStatusChange
(ChunkPos chunkPos, ChunkHolder.LevelType levelType) private com.mojang.datafixers.util.Either<Chunk,
ChunkHolder.Unloaded> ThreadedAnvilChunkStorage.recoverFromException
(Throwable throwable, ChunkPos chunkPos) protected void
ThreadedAnvilChunkStorage.releaseLightTicket
(ChunkPos pos) <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
ThreadedAnvilChunkStorage.sendWatchPackets
(ServerPlayerEntity player, ChunkPos pos, MutableObject<ChunkDataS2CPacket> packet, boolean oldWithinViewDistance, boolean newWithinViewDistance) 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) boolean
ServerEntityManager.shouldTick
(ChunkPos pos) boolean
ServerWorld.shouldTick
(ChunkPos pos) (package private) boolean
ThreadedAnvilChunkStorage.shouldTick
(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, ChunkHolder.LevelType 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.util.math
Modifier and TypeMethodDescriptionstatic ChunkPos
ChunkPos.fromRegion
(int x, int z) static ChunkPos
ChunkPos.fromRegionCenter
(int x, int z) ChunkSectionPos.toChunkPos()
ColumnPos.toChunkPos()
Modifier and TypeMethodDescriptionModifier 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) static Stream<ChunkSectionPos>
-
Uses of ChunkPos in net.minecraft.util.profiling.jfr
Modifier and TypeMethodDescriptionFlightProfiler.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) -
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 TypeFieldDescriptionprivate final ChunkPos
ChunkRegion.lowerCorner
private final ChunkPos
ChunkRegion.upperCorner
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) static ProtoChunk
ChunkSerializer.deserialize
(ServerWorld world, PointOfInterestStorage poiStorage, ChunkPos chunkPos, NbtCompound nbt) int
private List<ServerPlayerEntity>
SpawnDensityCapper.getMobSpawnablePlayers
(ChunkPos chunkPos) StructureLocator.getStructurePresence
(ChunkPos pos, Structure type, boolean skipReferencedStructures) private @Nullable StructurePresence
StructureLocator.getStructurePresence
(ChunkPos pos, Structure structure, boolean skipReferencedStructures, long posLong) 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> registryEntry, ChunkPos chunkPos, Random random) ChunkSerializer.readStructureReferences
(DynamicRegistryManager dynamicRegistryManager, ChunkPos chunkPos, NbtCompound nbtCompound) <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 TypeMethodDescriptionstatic BlockPos
ProtoChunk.joinBlockPos
(short sectionRel, int sectionY, ChunkPos chunkPos) void
ChunkStatusChangeListener.onChunkStatusChange
(ChunkPos pos, ChunkHolder.LevelType levelType) void
ChunkManager.setChunkForced
(ChunkPos pos, boolean forced) ModifierConstructorDescriptionChunk
(ChunkPos pos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> biome, long inhabitedTime, @Nullable ChunkSection[] sectionArrayInitializer, @Nullable BlendingData blendingData) EmptyChunk
(World world, ChunkPos chunkPos, RegistryEntry<Biome> registryEntry) 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 chunkPos) 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
ChunkLightingView.Empty.setColumnEnabled
(ChunkPos pos, boolean retainData) void
ChunkLightProvider.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 TypeMethodDescriptionStructureAccessor.getStructurePresence
(ChunkPos chunkPos, Structure structure, boolean skipExistingChunk) StructureAccessor.method_41035
(ChunkPos chunkPos, Predicate<Structure> predicate) static StructureWeightSampler
StructureWeightSampler.method_42695
(StructureAccessor structureAccessor, ChunkPos chunkPos) -
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 TypeFieldDescriptionprivate final Map<ConcentricRingsStructurePlacement,
CompletableFuture<List<ChunkPos>>> ChunkGenerator.concentricRingPositions
Modifier and TypeMethodDescriptionprivate CompletableFuture<List<ChunkPos>>
ChunkGenerator.generateConcentricRingPositions
(RegistryEntry<StructureSet> structureSet, NoiseConfig noiseConfig, ConcentricRingsStructurePlacement concentricRingsStructurePlacement) ChunkGenerator.getConcentricRingsStartChunks
(ConcentricRingsStructurePlacement structurePlacement, NoiseConfig noiseConfig) Modifier and TypeMethodDescriptionstatic AquiferSampler
AquiferSampler.aquifer
(ChunkNoiseSampler chunkNoiseSampler, ChunkPos chunkPos, NoiseRouter noiseRouter, RandomSplitter randomSplitter, int int2, int int3, 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 int2, int int3, AquiferSampler.FluidLevelSampler fluidLevelSampler) -
Uses of ChunkPos in net.minecraft.world.gen.chunk.placement
Modifier and TypeMethodDescriptionRandomSpreadStructurePlacement.getStartChunk
(long seed, int x, int z) -
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
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) void
PointOfInterestStorage.initForPalette
(ChunkPos chunkPos, ChunkSection chunkSection) -
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 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 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>>
private @Nullable DataInputStream
RegionFile.method_22408
(ChunkPos chunkPos, byte byte2) private @Nullable DataInputStream
RegionFile.method_22409
(ChunkPos chunkPos, byte byte2, InputStream inputStream) void
RegionFile.method_31740
(ChunkPos chunkPos) void
RegionBasedStorage.method_39802
(ChunkPos chunkPos, NbtScanner nbtScanner) 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) StorageIoWorker.scanChunk
(ChunkPos pos, NbtScanner scanner) private <T> com.mojang.serialization.Dynamic<T>
SerializingRegionBasedStorage.serialize
(ChunkPos chunkPos, com.mojang.serialization.DynamicOps<T> ops) void
VersionedChunkStorage.setNbt
(ChunkPos chunkPos, NbtCompound nbt) StorageIoWorker.setResult
(ChunkPos pos, @Nullable NbtCompound nbt) private <T> void
SerializingRegionBasedStorage.update
(ChunkPos pos, com.mojang.serialization.DynamicOps<T> ops, T data) 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 byteBuffer) 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