Uses of Class
net.minecraft.util.math.ChunkPos
Package
Description
-
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) 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 static void
LightUpdateS2CPacket.method_33138(ChunkPos chunkPos, LightingProvider lightProvider, LightType lightType, int int2, BitSet bitSet, BitSet bitSet2, List<byte[]> list)
ModifierConstructorDescriptionLightUpdateS2CPacket(ChunkPos chunkPos, LightingProvider lightProvider, @Nullable BitSet bitSet, @Nullable BitSet bitSet2, 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, boolean validSpawnNeeded)
static void
DebugInfoSender.sendChunkWatchingChange(ServerWorld world, ChunkPos pos)
void
ServerPlayerEntity.sendInitialChunkPackets(ChunkPos chunkPos, Packet<?> packet, Packet<?> packet2)
void
ServerPlayerEntity.sendUnloadChunkPacket(ChunkPos chunkPos)
-
Uses of ChunkPos in net.minecraft.server.world
Modifier and TypeFieldDescriptionstatic ChunkTicketType<ChunkPos>
ChunkTicketType.FORCED
Used to force load chunks.static ChunkTicketType<ChunkPos>
ChunkTicketType.LIGHT
static ChunkTicketType<ChunkPos>
ChunkTicketType.PLAYER
static 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 static int
ThreadedAnvilChunkStorage.getChebyshevDistance(ChunkPos pos, int x, int z)
private static int
ThreadedAnvilChunkStorage.getChebyshevDistance(ChunkPos chunkPos, Entity entity)
private static int
ThreadedAnvilChunkStorage.getChebyshevDistance(ChunkPos pos, ServerPlayerEntity player, boolean useWatchedPosition)
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)
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, Packet<?>[] packets, boolean withinMaxWatchDistance, boolean withinViewDistance)
protected void
ChunkTicketManager.setChunkForced(ChunkPos pos, boolean forced)
void
ServerChunkManager.setChunkForced(ChunkPos pos, boolean forced)
void
ServerLightingProvider.setColumnEnabled(ChunkPos chunkPos, boolean bool)
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
.ModifierConstructorDescriptionChunkHolder(ChunkPos pos, int level, HeightLimitView world, LightingProvider lightingProvider, ChunkHolder.LevelUpdateListener levelUpdateListener, ChunkHolder.PlayersWatchingChunkProvider playersWatchingChunkProvider)
-
Uses of ChunkPos in net.minecraft.structure
Modifier and TypeMethodDescriptionboolean
BuriedTreasureGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
DesertTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
IglooGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
JungleTempleGenerator.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
MineshaftGenerator.MineshaftStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.Bridge.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeEnd.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgePlatform.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeSmallCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.BridgeStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorBalcony.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorExit.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorLeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorNetherWartsRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorRightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.CorridorStairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFortressGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
NetherFossilGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Base.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.CoreRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.DoubleZRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Entry.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.Penthouse.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoomTop.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanMonumentGenerator.WingRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
OceanRuinGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
PoolStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
RuinedPortalStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
ShipwreckGenerator.Piece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
SimpleStructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.ChestCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Corridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.FiveWayCrossing.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.LeftTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Library.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.PortalRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.PrisonHall.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.RightTurn.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SmallCorridor.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SpiralStaircase.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.SquareRoom.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
StrongholdGenerator.Stairs.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
abstract boolean
StructurePiece.generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
boolean
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 box, ChunkPos chunkPos)
abstract void
StructureStart.init(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, StructureManager manager, ChunkPos pos, Biome biome, C config, HeightLimitView world)
boolean
StructurePiece.intersectsChunk(ChunkPos pos, int offset)
StructureStart.toNbt(ServerWorld world, ChunkPos chunkPos)
ModifierConstructorDescriptionMarginedStructureStart(StructureFeature<C> feature, ChunkPos pos, int references, long seed)
StructureStart(StructureFeature<C> feature, ChunkPos pos, int references, long seed)
-
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.world
Modifier and TypeFieldDescriptionprivate ChunkPos
ChunkRegion.centerPos
private ChunkPos
ChunkRegion.lowerCorner
private ChunkPos
ChunkTickScheduler.pos
private ChunkPos
ChunkRegion.upperCorner
Modifier and TypeMethodDescriptionstatic ProtoChunk
ChunkSerializer.deserialize(ServerWorld world, StructureManager structureManager, PointOfInterestStorage poiStorage, ChunkPos pos, NbtCompound nbt)
private NbtCompound
FeatureUpdater.getUpdatedStarts(NbtCompound nbt, ChunkPos pos)
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(ServerWorld world, ChunkPos chunkPos, Map<StructureFeature<?>,StructureStart<?>> map, Map<StructureFeature<?>,LongSet> map2)
ModifierConstructorDescriptionChunkTickScheduler(Predicate<T> shouldExclude, ChunkPos pos, NbtList nbtList, HeightLimitView world)
ChunkTickScheduler(Predicate<T> shouldExclude, ChunkPos pos, HeightLimitView world)
-
Uses of ChunkPos in net.minecraft.world.biome.source
Modifier and TypeMethodDescriptionBiomeAccess.getBiomeForNoiseGen(ChunkPos chunkPos)
default Biome
BiomeAccess.Storage.getBiomeForNoiseGen(ChunkPos chunkPos)
ModifierConstructorDescriptionBiomeArray(IndexedIterable<Biome> biomes, HeightLimitView world, ChunkPos chunkPos, BiomeSource biomeSource)
BiomeArray(IndexedIterable<Biome> biomes, HeightLimitView world, ChunkPos chunkPos, BiomeSource biomeSource, @org.jetbrains.annotations.Nullable int[] int2)
-
Uses of ChunkPos in net.minecraft.world.border
-
Uses of ChunkPos in net.minecraft.world.chunk
Modifier and TypeMethodDescriptionChunk.getPos()
ProtoChunk.getPos()
ReadOnlyChunk.getPos()
WorldChunk.getPos()
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)
ModifierConstructorDescriptionEmptyChunk(World world, ChunkPos pos)
ProtoChunk(ChunkPos pos, UpgradeData upgradeData, @Nullable ChunkSection[] chunkSection, ChunkTickScheduler<Block> blockTickScheduler, ChunkTickScheduler<Fluid> fluidTickScheduler, HeightLimitView world)
ProtoChunk(ChunkPos pos, UpgradeData upgradeData, HeightLimitView world)
WorldChunk(World world, ChunkPos pos, BiomeArray biomes)
WorldChunk(World world, ChunkPos pos, BiomeArray biomes, UpgradeData upgradeData, TickScheduler<Block> blockTickScheduler, TickScheduler<Fluid> fluidTickScheduler, long inhabitedTime, @Nullable ChunkSection[] sections, @Nullable Consumer<WorldChunk> loadToWorldConsumer)
-
Uses of ChunkPos in net.minecraft.world.chunk.light
Modifier and TypeMethodDescriptionvoid
ChunkLightingView.Empty.setColumnEnabled(ChunkPos chunkPos, boolean bool)
void
ChunkLightProvider.setColumnEnabled(ChunkPos chunkPos, boolean bool)
void
LightingProvider.setColumnEnabled(ChunkPos chunkPos, boolean bool)
void
LightingView.setColumnEnabled(ChunkPos chunkPos, boolean bool)
void
ChunkLightProvider.setRetainColumn(ChunkPos pos, boolean retainData)
void
LightingProvider.setRetainData(ChunkPos pos, boolean retainData)
-
Uses of ChunkPos in net.minecraft.world.gen
ModifierConstructorDescriptionNoiseInterpolator(int sizeX, int sizeY, int sizeZ, ChunkPos pos, int minY, NoiseInterpolator.ColumnSampler columnSampler)
-
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, 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
Modifier and TypeMethodDescriptionstatic AquiferSampler
AquiferSampler.aquifer(ChunkPos pos, DoublePerlinNoiseSampler edgeDensityNoise, DoublePerlinNoiseSampler fluidLevelNoise, DoublePerlinNoiseSampler fluidTypeNoise, ChunkGeneratorSettings settings, NoiseColumnSampler columnSampler, int startY, int deltaY)
private AquiferSampler
NoiseChunkGenerator.createBlockSampler(int startY, int deltaY, ChunkPos pos)
private DoubleFunction<BlockSource>
NoiseChunkGenerator.createBlockSourceFactory(int int2, ChunkPos chunkPos, Consumer<NoiseInterpolator> consumer)
private DoubleFunction<WeightSampler>
NoiseChunkGenerator.createWeightSamplerFactory(int int2, ChunkPos chunkPos, Consumer<NoiseInterpolator> consumer)
boolean
ChunkGenerator.isStrongholdStartingChunk(ChunkPos pos)
ModifierConstructorDescription(package private)
Impl(ChunkPos pos, DoublePerlinNoiseSampler edgeDensityNoise, DoublePerlinNoiseSampler fluidLevelNoise, DoublePerlinNoiseSampler fluidTypeNoise, ChunkGeneratorSettings settings, NoiseColumnSampler columnSampler, int startY, int deltaY)
NoodleCavesSampler(ChunkPos chunkPos, int int2)
OreVeinSource(ChunkPos pos, int int2, long seed)
-
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 TypeMethodDescriptionStructureFeature.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.Modifier and TypeMethodDescriptionStructureFeature.StructureStartFactory.create(StructureFeature<C> feature, ChunkPos pos, int int2, long long2)
private StructureStart<C>
StructureFeature.createStart(ChunkPos pos, int int2, long long2)
void
OceanMonumentFeature.Start.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
void
WoodlandMansionFeature.Start.generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
(package private) static int
EndCityFeature.getGenerationHeight(ChunkPos chunkPos, ChunkGenerator chunkGenerator, HeightLimitView heightLimitView)
void
BuriedTreasureFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, ProbabilityConfig probabilityConfig, HeightLimitView heightLimitView)
void
DesertPyramidFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
EndCityFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
IglooFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
JigsawFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView)
void
JungleTempleFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
MineshaftFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, MineshaftFeatureConfig mineshaftFeatureConfig, HeightLimitView heightLimitView)
void
NetherFortressFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
NetherFossilFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, RangeDecoratorConfig rangeDecoratorConfig, HeightLimitView heightLimitView)
void
OceanMonumentFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
OceanRuinFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, OceanRuinFeatureConfig oceanRuinFeatureConfig, HeightLimitView heightLimitView)
void
RuinedPortalFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, RuinedPortalFeatureConfig ruinedPortalFeatureConfig, HeightLimitView heightLimitView)
void
ShipwreckFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, ShipwreckFeatureConfig shipwreckFeatureConfig, HeightLimitView heightLimitView)
void
StrongholdFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
SwampHutFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
void
WoodlandMansionFeature.Start.init(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator chunkGenerator, StructureManager structureManager, ChunkPos chunkPos, Biome biome, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
private boolean
PillagerOutpostFeature.isVillageNearby(ChunkGenerator generator, long worldSeed, ChunkRandom random, ChunkPos pos)
private void
OceanMonumentFeature.Start.method_36216(ChunkPos chunkPos)
protected boolean
BastionRemnantFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView)
protected boolean
BuriedTreasureFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, ProbabilityConfig probabilityConfig, HeightLimitView heightLimitView)
protected boolean
EndCityFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
protected boolean
MineshaftFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, MineshaftFeatureConfig mineshaftFeatureConfig, HeightLimitView heightLimitView)
protected boolean
NetherFortressFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
protected boolean
OceanMonumentFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
protected boolean
PillagerOutpostFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, StructurePoolFeatureConfig structurePoolFeatureConfig, HeightLimitView heightLimitView)
protected boolean
StrongholdFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
protected boolean
StructureFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long worldSeed, ChunkRandom random, ChunkPos pos, Biome biome, ChunkPos chunkPos, C config, HeightLimitView world)
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.ChunkRandom, int, int)
.protected boolean
WoodlandMansionFeature.shouldStartAt(ChunkGenerator chunkGenerator, BiomeSource biomeSource, long long2, ChunkRandom chunkRandom, ChunkPos chunkPos, Biome biome, ChunkPos chunkPos2, DefaultFeatureConfig defaultFeatureConfig, HeightLimitView heightLimitView)
ConfiguredStructureFeature.tryPlaceStart(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, BiomeSource biomeSource, StructureManager structureManager, long worldSeed, ChunkPos chunkPos, Biome biome, int referenceCount, StructureConfig structureConfig, HeightLimitView heightLimitView)
StructureFeature.tryPlaceStart(DynamicRegistryManager dynamicRegistryManager, ChunkGenerator generator, BiomeSource biomeSource, StructureManager manager, long worldSeed, ChunkPos pos, Biome biome, int referenceCount, ChunkRandom random, StructureConfig structureConfig, C config, HeightLimitView world)
Tries to place a starting point for this type of structure in the given chunk.ModifierConstructorDescriptionStart(StructureFeature<ProbabilityConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(JigsawFeature feature, ChunkPos chunkPos, int int2, long long2)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<MineshaftFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<RangeDecoratorConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<OceanRuinFeatureConfig> feature, ChunkPos pos, int references, long seed)
protected
Start(StructureFeature<RuinedPortalFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<ShipwreckFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
Start(StructureFeature<DefaultFeatureConfig> feature, ChunkPos pos, int references, long seed)
-
Uses of ChunkPos in net.minecraft.world.poi
Modifier 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
Modifier and TypeFieldDescriptionprivate ChunkPos
ChunkDataList.pos
private ChunkPos
RegionFile.ChunkBuffer.pos
Modifier and TypeFieldDescriptionprivate Map<ChunkPos,StorageIoWorker.Result>
StorageIoWorker.results
Modifier and TypeMethodDescriptionChunkDataList.getChunkPos()
private static ChunkPos
EntityChunkDataAccess.getChunkPos(NbtCompound chunkTag)
Modifier 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)
ModifierConstructorDescriptionChunkBuffer(ChunkPos pos)
ChunkDataList(ChunkPos pos, List<T> list)
-
Uses of ChunkPos in net.minecraft.world.updater