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.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 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 @Nullable NbtCompound
ThreadedAnvilChunkStorage.getUpdatedChunkNbt
(ChunkPos pos) private boolean
ThreadedAnvilChunkStorage.isLevelChunk
(ChunkPos pos) private static boolean
ThreadedAnvilChunkStorage.isOnDistanceEdge
(ChunkPos chunkPos, ServerPlayerEntity player, boolean usePlayerWatchedSection, int distance) private static boolean
ThreadedAnvilChunkStorage.isWithinDistance
(ChunkPos chunkPos, int sectionX, int sectionZ, int distance) private static boolean
ThreadedAnvilChunkStorage.isWithinDistance
(ChunkPos chunkPos, ServerPlayerEntity player, boolean usePlayerWatchedSection, int distance) 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) 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> mutableObject, 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) (package private) boolean
ThreadedAnvilChunkStorage.shouldTick
(ChunkPos pos) boolean
ServerWorld.shouldTickEntity
(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 pos) void
DesertTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
IglooGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
JungleTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.Bridge.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeEnd.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgePlatform.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeSmallCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorBalcony.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorExit.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorLeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorNetherWartsRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorRightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
NetherFossilGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Base.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.CoreRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleXRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleXYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleYZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Entry.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Penthouse.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.SimpleRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.SimpleRoomTop.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.WingRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
OceanRuinGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
RuinedPortalStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
ShipwreckGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
SimpleStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.ChestCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Corridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.FiveWayCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.LeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Library.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.PortalRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.PrisonHall.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.RightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SpiralStaircase.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SquareRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Stairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) abstract void
StructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) void
SwampHutGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pos) 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, long long2, ChunkPos chunkPos, C c, HeightLimitView heightLimitView, Predicate<Biome> predicate, StructureManager structureManager, DynamicRegistryManager dynamicRegistryManager) Context
(C c, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, HeightLimitView heightLimitView, ChunkRandom chunkRandom, long long2) StructureStart
(StructureFeature<C> feature, ChunkPos pos, int references, StructurePiecesList children) -
Uses of ChunkPos in net.minecraft.util.math
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<StructureFeature<?>, 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) <F extends StructureFeature<?>>
StructurePresenceStructureLocator.getStructurePresence
(ChunkPos pos, F feature, boolean skipExistingChunk) private @Nullable StructurePresence
StructureLocator.getStructurePresence
(ChunkPos pos, StructureFeature<?> feature, boolean skipExistingChunk, long posLong) private NbtCompound
FeatureUpdater.getUpdatedStarts
(NbtCompound nbt, ChunkPos pos) void
SpawnDensityCapper.increaseDensity
(ChunkPos chunkPos, SpawnGroup spawnGroup) void
StructureLocator.incrementReferences
(ChunkPos pos, StructureFeature<?> feature) (package private) boolean
SpawnHelper.Info.isBelowCap
(SpawnGroup group, ChunkPos chunkPos) private <FC extends FeatureConfig,
F extends StructureFeature<FC>>
booleanStructureLocator.isGenerationPossible
(ChunkPos pos, ConfiguredStructureFeature<FC, F> feature, Collection<RegistryKey<Biome>> allowedBiomes) Returns whetherfeature
is able to generate inpos
.private static void
ChunkSerializer.logRecoverableError
(ChunkPos chunkPos, int y, String message) static void
SpawnHelper.populateEntities
(ServerWorldAccess world, Biome biome, ChunkPos chunkPos, Random random) private static Map<StructureFeature<?>,
LongSet> ChunkSerializer.readStructureReferences
(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<StructureFeature<?>, StructureStart<?>> starts, Map<StructureFeature<?>, 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 pos) 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
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, StructureFeature<?> structure, boolean skipExistingChunk) -
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, Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
CaveCarver.carve
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, Biome> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, CarvingMask carvingMask) boolean
ConfiguredCarver.carve
(CarverContext context, Chunk chunk, Function<BlockPos, Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, CarvingMask mask) boolean
RavineCarver.carve
(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, 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, DoublePerlinNoiseSampler barrierNoise, DoublePerlinNoiseSampler fluidLevelFloodednessNoise, DoublePerlinNoiseSampler fluidLevelSpreadNoise, DoublePerlinNoiseSampler fluidTypeNoise, RandomDeriver randomDeriver, int minY, int height, AquiferSampler.FluidLevelSampler fluidLevelSampler) boolean
ChunkGenerator.isStrongholdStartingChunk
(ChunkPos pos) ModifierConstructorDescription(package private)
Impl
(ChunkNoiseSampler chunkNoiseSampler, ChunkPos chunkPos, DoublePerlinNoiseSampler barrierNoise, DoublePerlinNoiseSampler fluidLevelFloodednessNoise, DoublePerlinNoiseSampler fluidLevelSpreadNoise, DoublePerlinNoiseSampler fluidTypeNoise, RandomDeriver randomDeriver, int minY, int height, AquiferSampler.FluidLevelSampler fluidLevelSampler) -
Uses of ChunkPos in net.minecraft.world.gen.decorator
Modifier and TypeMethodDescriptionDecoratorContext.getOrCreateCarvingMask
(ChunkPos chunkPos, GenerationStep.Carver carver) -
Uses of ChunkPos in net.minecraft.world.gen.feature
Modifier and TypeFieldDescriptionprivate static final ChunkPos
VoidStartPlatformFeature.START_CHUNK
Modifier and TypeMethodDescriptionfinal ChunkPos
StructureFeature.getStartChunk
(StructureConfig config, long seed, int x, int z) Determines the cell of the structure placement grid a chunk belongs to, and returns the chunk within that cell, that this structure will actually be placed at.Modifier and TypeMethodDescriptionboolean
StructureFeature.canGenerate
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos pos, C config, HeightLimitView world, Predicate<Biome> biomePredicate) private static StructurePiece
OceanMonumentFeature.createBasePiece
(ChunkPos pos, ChunkRandom random) private static int
EndCityFeature.getGenerationHeight
(ChunkPos pos, ChunkGenerator chunkGenerator, HeightLimitView world) BuriedTreasureFeature.getLocatedPos
(ChunkPos chunkPos) Returns a block position for feature location.StructureFeature.getLocatedPos
(ChunkPos chunkPos) Returns a block position for feature location.private static boolean
PillagerOutpostFeature.isVillageNearby
(ChunkGenerator chunkGenerator, long seed, ChunkPos chunkPos) static StructurePiecesList
OceanMonumentFeature.modifyPiecesOnRead
(ChunkPos pos, long worldSeed, StructurePiecesList pieces) private static void
WoodlandMansionFeature.postPlace
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, StructurePiecesList children) ConfiguredStructureFeature.tryPlaceStart
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, int structureReferences, StructureConfig structureConfig, HeightLimitView world, Predicate<Biome> biomeLimit) StructureFeature.tryPlaceStart
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos pos, int structureReferences, StructureConfig structureConfig, C config, HeightLimitView world, Predicate<Biome> biomePredicate) Tries to place a starting point for this type of structure in the given chunk. -
Uses of ChunkPos in net.minecraft.world.poi
Modifier and TypeMethodDescriptionPointOfInterestStorage.getInChunk
(Predicate<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 chunkTag) 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 chunkPos) private @Nullable NbtCompound
private <T> com.mojang.serialization.Dynamic<T>
SerializingRegionBasedStorage.method_20367
(ChunkPos chunkPos, com.mojang.serialization.DynamicOps<T> dynamicOps) 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) private static void
EntityChunkDataAccess.putChunkPos
(NbtCompound chunkTag, ChunkPos pos) ChunkDataAccess.readChunkData
(ChunkPos pos) EntityChunkDataAccess.readChunkData
(ChunkPos pos) protected CompletableFuture<NbtCompound>
StorageIoWorker.readChunkData
(ChunkPos pos) private void
void
NbtScannable.scanChunk
(ChunkPos pos, NbtScanner scanner) StorageIoWorker.scanChunk
(ChunkPos pos, NbtScanner scanner) 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> dynamicOps, 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