Uses of Class
net.minecraft.util.math.ChunkPos
Packages that use ChunkPos
Package
Description
The base package for all Minecraft classes.
-
Uses of ChunkPos in net.minecraft
Methods in net.minecraft with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic boolean
SharedConstants.isOutsideGenerationArea
(ChunkPos pos) -
Uses of ChunkPos in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud declared as ChunkPos -
Uses of ChunkPos in net.minecraft.client.render
Methods in net.minecraft.client.render with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate void
ChunkRenderingDataPreparer.addNeighbors
(ChunkRenderingDataPreparer.Events events, ChunkPos chunkPos) void
ChunkRenderingDataPreparer.addNeighbors
(ChunkPos chunkPos) void
WorldRenderer.scheduleNeighborUpdates
(ChunkPos chunkPos) -
Uses of ChunkPos in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug with type parameters of type ChunkPosModifier and TypeFieldDescriptionChunkLoadingDebugRenderer.ChunkLoadingStatus.clientStates
(package private) final CompletableFuture
<Map<ChunkPos, String>> ChunkLoadingDebugRenderer.ChunkLoadingStatus.serverStates
-
Uses of ChunkPos in net.minecraft.client.toast
Methods in net.minecraft.client.toast with parameters of type ChunkPosModifier 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
Methods in net.minecraft.client.world with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.entity
Fields in net.minecraft.entity declared as ChunkPosMethods in net.minecraft.entity that return ChunkPos -
Uses of ChunkPos in net.minecraft.network
Methods in net.minecraft.network that return ChunkPosModifier and TypeMethodDescriptionPacketByteBuf.readChunkPos()
Reads a chunk position from this buf.static ChunkPos
PacketByteBuf.readChunkPos
(ByteBuf buf) Methods in net.minecraft.network with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic void
PacketByteBuf.writeChunkPos
(ByteBuf buf, ChunkPos pos) PacketByteBuf.writeChunkPos
(ChunkPos pos) Writes a chunk position to this buf. -
Uses of ChunkPos in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPos
ChunkBiomeDataS2CPacket.Serialized.pos
The field for thepos
record component.private final ChunkPos
UnloadChunkS2CPacket.pos
The field for thepos
record component.Methods in net.minecraft.network.packet.s2c.play that return ChunkPosModifier and TypeMethodDescriptionChunkBiomeDataS2CPacket.Serialized.pos()
Returns the value of thepos
record component.UnloadChunkS2CPacket.pos()
Returns the value of thepos
record component.Methods in net.minecraft.network.packet.s2c.play with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate void
LightData.putChunk
(ChunkPos pos, LightingProvider lightProvider, LightType type, int y, BitSet initialized, BitSet uninitialized, List<byte[]> nibbles) Constructors in net.minecraft.network.packet.s2c.play with parameters of type ChunkPosModifierConstructorDescriptionLightData
(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
Fields in net.minecraft.server declared as ChunkPosMethods in net.minecraft.server with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
MinecraftServer.onChunkLoadFailure
(Throwable exception, StorageKey key, ChunkPos chunkPos) void
MinecraftServer.onChunkSaveFailure
(Throwable exception, StorageKey key, ChunkPos chunkPos) 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
private void
MinecraftServer.writeChunkIoReport
(CrashReport report, ChunkPos pos, StorageKey key) -
Uses of ChunkPos in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate static void
PlaceCommand.throwOnUnloadedPos
(ServerWorld world, ChunkPos pos1, ChunkPos pos2) -
Uses of ChunkPos in net.minecraft.server.integrated
Methods in net.minecraft.server.integrated with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
IntegratedServer.onChunkLoadFailure
(Throwable exception, StorageKey key, ChunkPos chunkPos) void
IntegratedServer.onChunkSaveFailure
(Throwable exception, StorageKey key, ChunkPos chunkPos) -
Uses of ChunkPos in net.minecraft.server.network
Fields in net.minecraft.server.network declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPos
ChunkFilter.Cylindrical.center
The field for thecenter
record component.Methods in net.minecraft.server.network that return ChunkPosModifier and TypeMethodDescriptionChunkFilter.Cylindrical.center()
Returns the value of thecenter
record component.Methods in net.minecraft.server.network with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic long
ServerPlayerEntity.addEnderPearlTicket
(ServerWorld world, ChunkPos chunkPos) static 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) Method parameters in net.minecraft.server.network with type arguments of type ChunkPosModifier and TypeMethodDescriptionvoid
void
static void
ChunkFilter.forEachChangedChunk
(ChunkFilter oldFilter, ChunkFilter newFilter, Consumer<ChunkPos> newlyIncluded, Consumer<ChunkPos> justRemoved) Constructors in net.minecraft.server.network with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.server.world
Fields in net.minecraft.server.world with type parameters of type ChunkPosModifier and TypeFieldDescriptionstatic final ChunkTicketType
<ChunkPos> ChunkTicketType.ENDER_PEARL
static 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.Methods in net.minecraft.server.world with parameters of type ChunkPosModifier 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) static CrashException
ChunkErrorHandler.createMisplacementException
(ChunkPos actualPos, ChunkPos expectedPos) 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.isAnyPlayerTicking
(ChunkPos pos) private boolean
ServerChunkLoadingManager.isLevelChunk
(ChunkPos pos) private CompletableFuture
<Chunk> private byte
private void
ServerChunkLoadingManager.markAsProtoChunk
(ChunkPos pos) private void
ServerChunkLoadingManager.markChunkNeedsSaving
(ChunkPos pos) void
ChunkErrorHandler.onChunkLoadFailure
(Throwable exception, StorageKey key, ChunkPos chunkPos) default void
ChunkErrorHandler.onChunkMisplacement
(ChunkPos actualPos, ChunkPos expectedPos, StorageKey key) void
ChunkErrorHandler.onChunkSaveFailure
(Throwable exception, StorageKey key, ChunkPos chunkPos) (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
ChunkTaskScheduler.updateLevel
(ChunkPos pos, IntSupplier levelGetter, int targetLevel, IntConsumer levelSetter) protected void
LevelPrioritizedQueue.updateLevel
(int fromLevel, ChunkPos pos, int toLevel) private void
ServerChunkLoadingManager.updateLevel
(ChunkPos pos, IntSupplier levelGetter, int targetLevel, IntConsumer levelSetter) 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
.Constructors in net.minecraft.server.world with parameters of type ChunkPosModifierConstructorDescriptionChunkHolder
(ChunkPos pos, int level, HeightLimitView world, LightingProvider lightingProvider, ChunkHolder.LevelUpdateListener levelUpdateListener, ChunkHolder.PlayersWatchingChunkProvider playersWatchingChunkProvider) -
Uses of ChunkPos in net.minecraft.structure
Fields in net.minecraft.structure declared as ChunkPosModifier 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
Methods in net.minecraft.structure that return ChunkPosModifier and TypeMethodDescriptionStructureGeneratorFactory.Context.chunkPos()
Returns the value of thechunkPos
record component.StructurePiecesGenerator.Context.chunkPos()
Returns the value of thechunkPos
record component.StructureStart.getPos()
Methods in net.minecraft.structure with parameters of type ChunkPosModifier 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) Constructors in net.minecraft.structure with parameters of type ChunkPosModifierConstructorDescriptionContext
(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
Methods in net.minecraft.text with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.util.math
Fields in net.minecraft.util.math declared as ChunkPosModifier and TypeFieldDescriptionstatic final ChunkPos
ChunkPos.ORIGIN
The origin of the chunk position,0, 0
.Fields in net.minecraft.util.math with type parameters of type ChunkPosModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ChunkPos> ChunkPos.CODEC
static final PacketCodec
<ByteBuf, ChunkPos> ChunkPos.PACKET_CODEC
Methods in net.minecraft.util.math that return ChunkPosModifier and TypeMethodDescriptionstatic ChunkPos
ChunkPos.fromRegion
(int x, int z) static ChunkPos
ChunkPos.fromRegionCenter
(int x, int z) ChunkSectionPos.toChunkPos()
ColumnPos.toChunkPos()
Methods in net.minecraft.util.math that return types with arguments of type ChunkPosMethods in net.minecraft.util.math with parameters of type ChunkPosModifier 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
Methods in net.minecraft.util.profiling.jfr with parameters of type ChunkPosModifier 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) FlightProfiler.NoopProfiler.startStructureGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, RegistryEntry<Structure> structure) FlightProfiler.startStructureGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, RegistryEntry<Structure> structure) JfrProfiler.startStructureGenerationProfiling
(ChunkPos chunkPos, RegistryKey<World> world, RegistryEntry<Structure> structure) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type ChunkPosModifierConstructorDescriptionChunkGenerationEvent
(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) StructureGenerationEvent
(ChunkPos chunkPos, RegistryEntry<Structure> structure, RegistryKey<World> dimension) -
Uses of ChunkPos in net.minecraft.util.profiling.jfr.sample
Fields in net.minecraft.util.profiling.jfr.sample declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPos
ChunkGenerationSample.chunkPos
The field for thechunkPos
record component.private final ChunkPos
StructureGenerationSample.chunkPos
The field for thechunkPos
record component.Methods in net.minecraft.util.profiling.jfr.sample that return ChunkPosModifier and TypeMethodDescriptionChunkGenerationSample.chunkPos()
Returns the value of thechunkPos
record component.StructureGenerationSample.chunkPos()
Returns the value of thechunkPos
record component.Constructors in net.minecraft.util.profiling.jfr.sample with parameters of type ChunkPosModifierConstructorDescriptionChunkGenerationSample
(Duration duration, ChunkPos chunkPos, ColumnPos columnPos, ChunkStatus chunkStatus, String string) StructureGenerationSample
(Duration duration, ChunkPos chunkPos, String string, String string2, boolean bool) -
Uses of ChunkPos in net.minecraft.world
Methods in net.minecraft.world that return ChunkPosMethods in net.minecraft.world with parameters of type ChunkPosModifier 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) (package private) boolean
SpawnHelper.Info.canSpawn
(SpawnGroup group, ChunkPos chunkPos) ChunkLoadingManager.createLoader
(ChunkStatus requestedStatus, ChunkPos pos) 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) private boolean
StructureLocator.isGenerationPossible
(ChunkPos pos, Structure structure) Returns whetherstructure
is able to generate inpos
.boolean
ChunkRegion.needsBlending
(ChunkPos chunkPos, int checkRadius) static void
SpawnHelper.populateEntities
(ServerWorldAccess world, RegistryEntry<Biome> biomeEntry, ChunkPos chunkPos, Random random) <T> void
SimulationDistanceLevelPropagator.remove
(ChunkTicketType<T> type, ChunkPos pos, int level, T argument) -
Uses of ChunkPos in net.minecraft.world.border
Methods in net.minecraft.world.border with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.world.chunk
Fields in net.minecraft.world.chunk declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPos
SerializedChunk.chunkPos
The field for thechunkPos
record component.protected final ChunkPos
AbstractChunkHolder.pos
protected final ChunkPos
Chunk.pos
private final ChunkPos
ChunkLoader.pos
Methods in net.minecraft.world.chunk that return ChunkPosModifier and TypeMethodDescriptionSerializedChunk.chunkPos()
Returns the value of thechunkPos
record component.AbstractChunkHolder.getPos()
Chunk.getPos()
WrapperProtoChunk.getPos()
Methods in net.minecraft.world.chunk with parameters of type ChunkPosModifier and TypeMethodDescriptionSerializedChunk.convert
(ServerWorld world, PointOfInterestStorage poiStorage, StorageKey key, ChunkPos expectedPos) static ChunkLoader
ChunkLoader.create
(ChunkLoadingManager chunkLoadingManager, ChunkStatus targetStatus, ChunkPos pos) static BlockPos
ProtoChunk.joinBlockPos
(short sectionRel, int sectionY, ChunkPos chunkPos) private static void
SerializedChunk.logRecoverableError
(ChunkPos chunkPos, int y, String message) void
ChunkStatusChangeListener.onChunkStatusChange
(ChunkPos pos, ChunkLevelType levelType) SerializedChunk.readStructureReferences
(DynamicRegistryManager registryManager, ChunkPos pos, NbtCompound nbt) void
ChunkManager.setChunkForced
(ChunkPos pos, boolean forced) void
WorldChunk.UnsavedListener.setUnsaved
(ChunkPos pos) private static NbtCompound
SerializedChunk.writeStructures
(StructureContext context, ChunkPos pos, Map<Structure, StructureStart> starts, Map<Structure, LongSet> references) Constructors in net.minecraft.world.chunk with parameters of type ChunkPosModifierConstructorDescriptionChunk
(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) SerializedChunk
(Registry<Biome> registry, ChunkPos chunkPos, int int2, long long2, long long3, ChunkStatus chunkStatus, BlendingData.Serialized serialized, @Nullable BelowZeroRetrogen belowZeroRetrogen, UpgradeData upgradeData, @org.jetbrains.annotations.Nullable long[] long4, Map<Heightmap.Type, long[]> map, Chunk.TickSchedulers tickSchedulers, ShortList[] shortList, boolean bool, List<SerializedChunk.SectionData> list, List<NbtCompound> list2, List<NbtCompound> list3, NbtCompound nbtCompound) 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
Methods in net.minecraft.world.chunk.light with parameters of type ChunkPosModifier 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.entity
Methods in net.minecraft.world.entity with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
ClientEntityManager.startTicking
(ChunkPos pos) void
ClientEntityManager.stopTicking
(ChunkPos pos) -
Uses of ChunkPos in net.minecraft.world.gen
Methods in net.minecraft.world.gen with parameters of type ChunkPosModifier 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
Methods in net.minecraft.world.gen.carver with parameters of type ChunkPosModifier 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
Methods in net.minecraft.world.gen.chunk with parameters of type ChunkPosModifier 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, RegistryKey<World> dimension) Constructors in net.minecraft.world.gen.chunk with parameters of type ChunkPosModifierConstructorDescription(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
Fields in net.minecraft.world.gen.chunk.placement with type parameters of type ChunkPosModifier and TypeFieldDescriptionprivate final Map
<ConcentricRingsStructurePlacement, CompletableFuture<List<ChunkPos>>> StructurePlacementCalculator.concentricPlacementsToPositions
Methods in net.minecraft.world.gen.chunk.placement that return ChunkPosModifier and TypeMethodDescriptionRandomSpreadStructurePlacement.getStartChunk
(long seed, int chunkX, int chunkZ) Methods in net.minecraft.world.gen.chunk.placement that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionprivate CompletableFuture
<List<ChunkPos>> StructurePlacementCalculator.calculateConcentricsRingPlacementPos
(RegistryEntry<StructureSet> structureSetEntry, ConcentricRingsStructurePlacement placement) StructurePlacementCalculator.getPlacementPositions
(ConcentricRingsStructurePlacement placement) Methods in net.minecraft.world.gen.chunk.placement with parameters of type ChunkPos -
Uses of ChunkPos in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as ChunkPosModifier and TypeFieldDescriptionprivate static final ChunkPos
VoidStartPlatformFeature.START_CHUNK
Methods in net.minecraft.world.gen.feature with parameters of type ChunkPosModifier and TypeMethodDescriptionFeaturePlacementContext.getOrCreateCarvingMask
(ChunkPos chunkPos) -
Uses of ChunkPos in net.minecraft.world.gen.structure
Fields in net.minecraft.world.gen.structure declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPos
Structure.Context.chunkPos
The field for thechunkPos
record component.Methods in net.minecraft.world.gen.structure that return ChunkPosModifier and TypeMethodDescriptionStructure.Context.chunkPos()
Returns the value of thechunkPos
record component.Methods in net.minecraft.world.gen.structure with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate static StructurePiece
OceanMonumentStructure.createBasePiece
(ChunkPos pos, ChunkRandom random) private static ChunkRandom
Structure.Context.createChunkRandom
(long seed, ChunkPos chunkPos) Structure.createStructureStart
(RegistryEntry<Structure> structure, RegistryKey<World> dimension, 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) Constructors in net.minecraft.world.gen.structure with parameters of type ChunkPosModifierConstructorDescriptionContext
(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
Methods in net.minecraft.world.poi with parameters of type ChunkPosModifier and TypeMethodDescriptionPointOfInterestStorage.getInChunk
(Predicate<RegistryEntry<PointOfInterestType>> typePredicate, ChunkPos chunkPos, PointOfInterestStorage.OccupationStatus occupationStatus) -
Uses of ChunkPos in net.minecraft.world.storage
Fields in net.minecraft.world.storage declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPos
ChunkDataList.pos
private final ChunkPos
RegionFile.ChunkBuffer.pos
Fields in net.minecraft.world.storage with type parameters of type ChunkPosModifier and TypeFieldDescriptionprivate final SequencedMap
<ChunkPos, StorageIoWorker.Result> StorageIoWorker.results
Methods in net.minecraft.world.storage that return ChunkPosModifier and TypeMethodDescriptionChunkDataList.getChunkPos()
private static ChunkPos
EntityChunkDataAccess.getChunkPos
(NbtCompound chunkNbt) Methods in net.minecraft.world.storage with parameters of type ChunkPosModifier 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) private void
EntityChunkDataAccess.handleLoadFailure
(CompletableFuture<?> future, ChunkPos pos) private void
EntityChunkDataAccess.handleSaveFailure
(CompletableFuture<?> future, ChunkPos pos) boolean
boolean
RegionFile.isChunkValid
(ChunkPos pos) private void
SerializingRegionBasedStorage.loadAndWait
(ChunkPos chunkPos) protected void
VersionedChunkStorage.markFeatureUpdateResolved
(ChunkPos chunkPos) boolean
StorageIoWorker.needsBlending
(ChunkPos chunkPos, int checkRadius) boolean
VersionedChunkStorage.needsBlending
(ChunkPos chunkPos, int checkRadius) private void
SerializingRegionBasedStorage.onLoad
(ChunkPos chunkPos, @Nullable SerializingRegionBasedStorage.LoadResult<P> result) 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, Supplier<NbtCompound> nbtSupplier) VersionedChunkStorage.setNbt
(ChunkPos chunkPos, Supplier<NbtCompound> nbtSupplier) StorageIoWorker.setResult
(ChunkPos pos, Supplier<NbtCompound> nbtSupplier) StorageIoWorker.setResult
(ChunkPos pos, @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) Constructors in net.minecraft.world.storage with parameters of type ChunkPosModifierConstructorDescriptionChunkBuffer
(ChunkPos pos) ChunkDataList
(ChunkPos pos, List<T> list) -
Uses of ChunkPos in net.minecraft.world.tick
Methods in net.minecraft.world.tick with parameters of type ChunkPosModifier 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) -
Uses of ChunkPos in net.minecraft.world.updater
Fields in net.minecraft.world.updater with type parameters of type ChunkPosModifier and TypeFieldDescriptionWorldUpdater.Region.chunksToUpgrade
The field for thechunksToUpgrade
record component.Methods in net.minecraft.world.updater that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionWorldUpdater.Region.chunksToUpgrade()
Returns the value of thechunksToUpgrade
record component.Methods in net.minecraft.world.updater with parameters of type ChunkPosModifier 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) Constructor parameters in net.minecraft.world.updater with type arguments of type ChunkPosModifierConstructorDescription(package private)
Region
(RegionFile regionFile, List<ChunkPos> list)