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
Fields in net.minecraft declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPos
class_6622.class_6623.comp_127
The field for thecomp_127
record component.Methods in net.minecraft that return ChunkPosModifier and TypeMethodDescriptionclass_6622.class_6623.comp_127()
Returns the value of thecomp_127
record component.Methods in net.minecraft with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
class_6621.afterPlace
(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox blockBox, ChunkPos chunkPos, class_6624 class_6624) private void
class_6606.method_38602
(ChunkPos chunkPos, LightingProvider lightingProvider, LightType lightType, int int2, BitSet bitSet, BitSet bitSet2, List<byte[]> list) <T> void
class_6609.method_38638
(ChunkTicketType<T> chunkTicketType, ChunkPos chunkPos, int int2, T t) int
class_6609.method_38640
(ChunkPos chunkPos) <T> void
class_6609.method_38642
(ChunkTicketType<T> chunkTicketType, ChunkPos chunkPos, int int2, T t) Constructors in net.minecraft with parameters of type ChunkPosModifierConstructorDescriptionclass_6606
(ChunkPos chunkPos, LightingProvider lightingProvider, @Nullable BitSet bitSet, @Nullable BitSet bitSet2, boolean bool) class_6623
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Predicate<Biome> predicate, HeightLimitView heightLimitView, ChunkRandom chunkRandom, long long2) -
Uses of ChunkPos in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as ChunkPosMethods in net.minecraft.client.gui with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
WorldGenerationProgressTracker.setChunkStatus
(ChunkPos pos, @Nullable ChunkStatus status) void
-
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.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.world
Methods in net.minecraft.client.world with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
ClientWorld.resetChunkColor
(ChunkPos chunkPos) void
ClientEntityManager.startTicking
(ChunkPos pos) void
ClientEntityManager.stopTicking
(ChunkPos pos) -
Uses of ChunkPos in net.minecraft.entity
Methods 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.Methods in net.minecraft.network with parameters of type ChunkPosModifier and TypeMethodDescriptionPacketByteBuf.writeChunkPos
(ChunkPos pos) Writes a chunk position to this buf. -
Uses of ChunkPos in net.minecraft.network.packet.s2c.play
Constructors in net.minecraft.network.packet.s2c.play with parameters of type ChunkPosModifierConstructorDescriptionLightUpdateS2CPacket
(ChunkPos chunkPos, LightingProvider lightProvider, @Nullable BitSet bitSet, @Nullable BitSet bitSet2, boolean nonEdge) -
Uses of ChunkPos in net.minecraft.server
Methods in net.minecraft.server with parameters of type ChunkPosModifier 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
Methods in net.minecraft.server.network with parameters of type ChunkPosModifier and TypeMethodDescriptionSpawnLocating.findServerSpawnPoint
(ServerWorld world, ChunkPos chunkPos, boolean validSpawnNeeded) 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
Fields in net.minecraft.server.world declared as ChunkPosFields in net.minecraft.server.world with type parameters of type ChunkPosModifier 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.Methods in net.minecraft.server.world that return ChunkPosMethods 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) ServerChunkManager.getChunkLoadingDebugInfo
(ChunkPos pos) ThreadedAnvilChunkStorage.getChunkLoadingDebugInfo
(ChunkPos chunkPos) ChunkHolder.PlayersWatchingChunkProvider.getPlayersWatchingChunk
(ChunkPos chunkPos, boolean onlyOnWatchDistanceEdge) 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) ServerTickScheduler.getScheduledTicksInChunk
(ChunkPos pos, boolean updateState, boolean getStaleTicks) private static double
ThreadedAnvilChunkStorage.getSquaredDistance
(ChunkPos pos, Entity entity) private @Nullable NbtCompound
ThreadedAnvilChunkStorage.getUpdatedChunkNbt
(ChunkPos pos) (package private) boolean
ThreadedAnvilChunkStorage.isTooFarFromPlayersToSpawnMobs
(ChunkPos chunkPos) 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.method_27053
(ChunkPos chunkPos, ChunkStatus.ChunkType chunkType) private void
ThreadedAnvilChunkStorage.method_27054
(ChunkPos chunkPos) private boolean
ThreadedAnvilChunkStorage.method_27055
(ChunkPos chunkPos) (package private) void
ThreadedAnvilChunkStorage.method_31414
(ChunkPos chunkPos, ChunkHolder.LevelType levelType) boolean
ServerWorld.method_37115
(ChunkPos chunkPos) boolean
ServerEntityManager.method_37253
(ChunkPos chunkPos) private static boolean
ThreadedAnvilChunkStorage.method_37899
(ChunkPos chunkPos, int int2, int int3, int int4) private static boolean
ThreadedAnvilChunkStorage.method_37901
(ChunkPos chunkPos, ServerPlayerEntity serverPlayerEntity, boolean bool, int int2) private static boolean
ThreadedAnvilChunkStorage.method_37906
(ChunkPos chunkPos, ServerPlayerEntity serverPlayerEntity, boolean bool, int int2) ThreadedAnvilChunkStorage.method_37907
(ChunkPos chunkPos) protected void
ThreadedAnvilChunkStorage.releaseLightTicket
(ChunkPos pos) <T> void
ChunkTicketManager.removeTicket
(ChunkTicketType<T> type, ChunkPos chunkPos, 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 withinMaxWatchDistance, boolean withinViewDistance) protected void
ChunkTicketManager.setChunkForced
(ChunkPos chunkPos, boolean forced) void
ServerChunkManager.setChunkForced
(ChunkPos pos, boolean forced) void
ServerLightingProvider.setColumnEnabled
(ChunkPos pos, boolean retainData) void
ServerLightingProvider.setRetainData
(ChunkPos pos, boolean retainData) 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
.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 ChunkPosMethods in net.minecraft.structure that return ChunkPosMethods in net.minecraft.structure with parameters of type ChunkPosModifier and TypeMethodDescriptionvoid
BuriedTreasureGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
DesertTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
IglooGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
JungleTempleGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
MineshaftGenerator.MineshaftStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.Bridge.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeEnd.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgePlatform.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeSmallCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.BridgeStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorBalcony.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorExit.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorLeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorNetherWartsRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorRightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.CorridorStairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFortressGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
NetherFossilGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Base.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.CoreRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleXRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleXYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleYRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleYZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.DoubleZRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Entry.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.Penthouse.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.SimpleRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.SimpleRoomTop.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanMonumentGenerator.WingRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
OceanRuinGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
PoolStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
RuinedPortalStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
ShipwreckGenerator.Piece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
SimpleStructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.ChestCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Corridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.FiveWayCrossing.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.LeftTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Library.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.PortalRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.PrisonHall.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.RightTurn.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SmallCorridor.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SpiralStaircase.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.SquareRoom.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StrongholdGenerator.Stairs.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) abstract void
StructurePiece.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
SwampHutGenerator.generate
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos) void
StructureStart.generateStructure
(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox blockBox, ChunkPos chunkPos) boolean
StructurePiece.intersectsChunk
(ChunkPos pos, int offset) StructureStart.toNbt
(class_6625 class_6625, ChunkPos chunkPos) Constructors in net.minecraft.structure with parameters of type ChunkPosModifierConstructorDescriptionStructureStart
(StructureFeature<C> feature, ChunkPos pos, int references, class_6624 class_6624) -
Uses of ChunkPos in net.minecraft.util.math
Methods in net.minecraft.util.math that return ChunkPosMethods in net.minecraft.util.math that return types with arguments of type ChunkPosModifier and TypeMethodDescriptionMethods 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) 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 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
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type ChunkPosModifierConstructorDescriptionChunkGenerationEvent
(ChunkPos chunkPos, RegistryKey<World> world, String targetStatus) -
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.Methods in net.minecraft.util.profiling.jfr.sample that return ChunkPosModifier and TypeMethodDescriptionChunkGenerationSample.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) -
Uses of ChunkPos in net.minecraft.world
Fields in net.minecraft.world declared as ChunkPosModifier and TypeFieldDescriptionprivate final ChunkPos
ChunkRegion.centerPos
private final ChunkPos
ChunkRegion.lowerCorner
private final ChunkPos
ChunkTickScheduler.pos
private final ChunkPos
ChunkRegion.upperCorner
Methods in net.minecraft.world that return ChunkPosMethods in net.minecraft.world with parameters of type ChunkPosModifier and TypeMethodDescriptionboolean
SpawnDensityCapper.canSpawn
(SpawnGroup spawnGroup, ChunkPos chunkPos) static ProtoChunk
ChunkSerializer.deserialize
(ServerWorld world, PointOfInterestStorage pointOfInterestStorage, ChunkPos chunkPos, NbtCompound nbtCompound) private List<ServerPlayerEntity>
SpawnDensityCapper.getMobSpawnablePlayers
(ChunkPos chunkPos) private NbtCompound
FeatureUpdater.getUpdatedStarts
(NbtCompound nbt, ChunkPos pos) void
SpawnDensityCapper.increaseDensity
(ChunkPos chunkPos, SpawnGroup spawnGroup) (package private) boolean
SpawnHelper.Info.isBelowCap
(SpawnGroup group, ChunkPos chunkPos) static void
SpawnHelper.populateEntities
(ServerWorldAccess world, Biome biome, ChunkPos chunkPos, Random random) private static Map<StructureFeature<?>,
LongSet> ChunkSerializer.readStructureReferences
(ChunkPos pos, NbtCompound nbt) private static NbtCompound
ChunkSerializer.writeStructures
(class_6625 class_6625, ChunkPos pos, Map<StructureFeature<?>, StructureStart<?>> starts, Map<StructureFeature<?>, LongSet> references) Constructors in net.minecraft.world with parameters of type ChunkPosModifierConstructorDescriptionChunkTickScheduler
(Predicate<T> shouldExclude, ChunkPos pos, NbtList nbtList, HeightLimitView world) ChunkTickScheduler
(Predicate<T> shouldExclude, ChunkPos pos, HeightLimitView world) -
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 ChunkPosMethods in net.minecraft.world.chunk that return ChunkPosMethods in net.minecraft.world.chunk with parameters of type ChunkPosModifier 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) Constructors in net.minecraft.world.chunk with parameters of type ChunkPosModifierConstructorDescriptionChunk
(ChunkPos chunkPos, UpgradeData upgradeData, HeightLimitView heightLimitView, Registry<Biome> registry, long long2, @Nullable ChunkSection[] chunkSection, TickScheduler<Block> tickScheduler, TickScheduler<Fluid> tickScheduler2) EmptyChunk
(World world, ChunkPos pos) ProtoChunk
(ChunkPos pos, UpgradeData upgradeData, @Nullable ChunkSection[] chunkSection, ChunkTickScheduler<Block> blockTickScheduler, ChunkTickScheduler<Fluid> fluidTickScheduler, HeightLimitView world, Registry<Biome> registry) ProtoChunk
(ChunkPos pos, UpgradeData upgradeData, HeightLimitView world, Registry<Biome> registry) WorldChunk
(World world, ChunkPos pos) WorldChunk
(World world, ChunkPos pos, UpgradeData upgradeData, TickScheduler<Block> tickScheduler, TickScheduler<Fluid> blockTickScheduler, long long2, @Nullable ChunkSection[] chunkSection, @Nullable Consumer<WorldChunk> consumer) -
Uses of ChunkPos in net.minecraft.world.chunk.light
Methods in net.minecraft.world.chunk.light with parameters of type ChunkPosModifier 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.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, Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, BitSet carvingMask) boolean
CaveCarver.carve
(CarverContext carverContext, CaveCarverConfig caveCarverConfig, Chunk chunk, Function<BlockPos, Biome> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, BitSet bitSet) boolean
ConfiguredCarver.carve
(CarverContext context, Chunk chunk, Function<BlockPos, Biome> posToBiome, Random random, AquiferSampler aquiferSampler, ChunkPos pos, BitSet carvingMask) boolean
RavineCarver.carve
(CarverContext carverContext, RavineCarverConfig ravineCarverConfig, Chunk chunk, Function<BlockPos, Biome> function, Random random, AquiferSampler aquiferSampler, ChunkPos chunkPos, BitSet bitSet) -
Uses of ChunkPos in net.minecraft.world.gen.chunk
Fields in net.minecraft.world.gen.chunk with type parameters of type ChunkPosMethods in net.minecraft.world.gen.chunk with parameters of type ChunkPosModifier and TypeMethodDescriptionstatic AquiferSampler
AquiferSampler.aquifer
(class_6568 class_6568, ChunkPos chunkPos, DoublePerlinNoiseSampler doublePerlinNoiseSampler, DoublePerlinNoiseSampler doublePerlinNoiseSampler2, DoublePerlinNoiseSampler doublePerlinNoiseSampler3, BlockPosRandomDeriver blockPosRandomDeriver, NoiseColumnSampler noiseColumnSampler, int int2, int int3, AquiferSampler.class_6565 class_6565) void
ChunkGenerator.generateFeatures
(StructureWorldAccess world, ChunkPos pos, StructureAccessor structureAccessor) void
DebugChunkGenerator.generateFeatures
(StructureWorldAccess world, ChunkPos pos, StructureAccessor structureAccessor) boolean
ChunkGenerator.isStrongholdStartingChunk
(ChunkPos pos) Constructors in net.minecraft.world.gen.chunk with parameters of type ChunkPosModifierConstructorDescription(package private)
Impl
(class_6568 class_6568, ChunkPos chunkPos, DoublePerlinNoiseSampler doublePerlinNoiseSampler, DoublePerlinNoiseSampler doublePerlinNoiseSampler2, DoublePerlinNoiseSampler doublePerlinNoiseSampler3, BlockPosRandomDeriver blockPosRandomDeriver, NoiseColumnSampler noiseColumnSampler, int int2, int int3, AquiferSampler.class_6565 class_6565) -
Uses of ChunkPos in net.minecraft.world.gen.decorator
Methods in net.minecraft.world.gen.decorator with parameters of type ChunkPosModifier and TypeMethodDescriptionDecoratorContext.getOrCreateCarvingMask
(ChunkPos chunkPos, GenerationStep.Carver carver) -
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 that return ChunkPosModifier and TypeMethodDescriptionfinal ChunkPos
StructureFeature.getStartChunk
(StructureConfig config, long worldSeed, ChunkRandom placementRandom, int chunkX, int chunkY) 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.Methods in net.minecraft.world.gen.feature with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate static int
EndCityFeature.getGenerationHeight
(ChunkPos chunkPos, ChunkGenerator chunkGenerator, HeightLimitView heightLimitView) private boolean
PillagerOutpostFeature.isVillageNearby
(ChunkGenerator generator, long worldSeed, ChunkRandom random, ChunkPos pos) BuriedTreasureFeature.method_38671
(ChunkPos chunkPos) StructureFeature.method_38671
(ChunkPos chunkPos) static class_6624
OceanMonumentFeature.method_38680
(ChunkPos chunkPos, long long2, class_6624 class_6624) private static StructurePiece
OceanMonumentFeature.method_38681
(ChunkPos chunkPos, ChunkRandom chunkRandom) private static void
WoodlandMansionFeature.method_38694
(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox blockBox, ChunkPos chunkPos, class_6624 class_6624) protected boolean
BastionRemnantFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView) protected boolean
BuriedTreasureFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, ProbabilityConfig probabilityConfig, HeightLimitView heightLimitView) protected boolean
EndCityFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView) protected boolean
MineshaftFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, MineshaftFeatureConfig mineshaftFeatureConfig, HeightLimitView heightLimitView) protected boolean
NetherFortressFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView) protected boolean
OceanMonumentFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView) protected boolean
PillagerOutpostFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView) protected boolean
StrongholdFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView) protected boolean
StructureFeature.shouldStartAt
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long worldSeed, ChunkRandom random, ChunkPos pos, ChunkPos chunkPos, C c, HeightLimitView heightLimitView) Checks if this structure can actually be placed at a potential structure position determined viaStructureFeature.getStartChunk(net.minecraft.world.gen.chunk.StructureConfig, long, net.minecraft.world.gen.random.ChunkRandom, int, int)
.ConfiguredStructureFeature.tryPlaceStart
(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, int int2, StructureConfig structureConfig, HeightLimitView heightLimitView, Predicate<Biome> predicate) StructureFeature.tryPlaceStart
(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator generator, BiomeSource biomeSource, StructureManager manager, long worldSeed, ChunkPos pos, int int2, ChunkRandom chunkRandom, StructureConfig structureConfig, C c, HeightLimitView heightLimitView, Predicate<Biome> predicate) Tries to place a starting point for this type of structure in the given chunk. -
Uses of ChunkPos in net.minecraft.world.poi
Methods in net.minecraft.world.poi with parameters of type ChunkPosModifier and TypeMethodDescriptionPointOfInterestStorage.getInChunk
(Predicate<PointOfInterestType> predicate, ChunkPos chunkPos, PointOfInterestStorage.OccupationStatus occupationStatus) void
PointOfInterestStorage.initForPalette
(ChunkPos chunkPos, ChunkSection chunkSection) -
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 Map<ChunkPos,
StorageIoWorker.Result> StorageIoWorker.results
Methods in net.minecraft.world.storage that return ChunkPosModifier and TypeMethodDescriptionChunkDataList.getChunkPos()
private static ChunkPos
EntityChunkDataAccess.getChunkPos
(NbtCompound chunkTag) Methods in net.minecraft.world.storage with parameters of type ChunkPosModifier and TypeMethodDescriptionprivate 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) private static long
SerializingRegionBasedStorage.method_33637
(ChunkPos chunkPos, int int2) 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
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) 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.updater
Methods in net.minecraft.world.updater that return types with arguments of type ChunkPos