Uses of Class
net.minecraft.world.level.chunk.LevelChunk
Package
Description
-
Uses of LevelChunk in net.minecraft.client.gui.components
Modifier and TypeFieldDescriptionprivate CompletableFuture<LevelChunk>
DebugScreenOverlay.serverChunk
Modifier and TypeMethodDescriptionprivate LevelChunk
DebugScreenOverlay.getClientChunk()
private LevelChunk
DebugScreenOverlay.getServerChunk()
-
Uses of LevelChunk in net.minecraft.client.multiplayer
Modifier and TypeFieldDescription(package private) AtomicReferenceArray<LevelChunk>
ClientChunkCache.Storage.chunks
Modifier and TypeMethodDescriptionClientChunkCache.getChunk(int p_104451_, int p_104452_, ChunkStatus p_104453_, boolean p_104454_)
protected LevelChunk
ClientChunkCache.Storage.getChunk(int p_104480_)
protected LevelChunk
ClientChunkCache.Storage.replace(int p_104488_, LevelChunk p_104489_, LevelChunk p_104490_)
ClientChunkCache.replaceWithPacketData(int p_171616_, int p_171617_, ChunkBiomeContainer p_171618_, FriendlyByteBuf p_171619_, CompoundTag p_171620_, BitSet p_171621_)
Modifier and TypeMethodDescriptionprivate static boolean
ClientChunkCache.isValidChunk(LevelChunk p_104439_, int p_104440_, int p_104441_)
protected void
ClientChunkCache.Storage.replace(int p_104485_, LevelChunk p_104486_)
protected LevelChunk
ClientChunkCache.Storage.replace(int p_104488_, LevelChunk p_104489_, LevelChunk p_104490_)
void
ClientLevel.unload(LevelChunk p_104666_)
-
Uses of LevelChunk in net.minecraft.client.renderer.chunk
Modifier and TypeMethodDescriptionstatic boolean
RenderChunkRegion.isAllEmpty(BlockPos p_112931_, BlockPos p_112932_, int p_112933_, int p_112934_, LevelChunk[][] p_112935_)
ModifierConstructorDescriptionRenderChunkRegion(Level p_112910_, int p_112911_, int p_112912_, LevelChunk[][] p_112913_, BlockPos p_112914_, BlockPos p_112915_)
-
Uses of LevelChunk in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionprotected int
ClientboundLevelChunkPacket.calculateChunkSize(LevelChunk p_178902_)
ClientboundLevelChunkPacket.extractChunkData(FriendlyByteBuf p_178904_, LevelChunk p_178905_)
-
Uses of LevelChunk in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>
ChunkHolder.entityTickingChunkFuture
private CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>
ChunkHolder.fullChunkFuture
private CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>
ChunkHolder.tickingChunkFuture
static com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>
ChunkHolder.UNLOADED_LEVEL_CHUNK
private static CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>
ChunkHolder.UNLOADED_LEVEL_CHUNK_FUTURE
Modifier and TypeMethodDescriptionServerChunkCache.getChunkNow(int p_8357_, int p_8358_)
ChunkHolder.getTickingChunk()
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>
ChunkHolder.getEntityTickingChunkFuture()
CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>
ChunkHolder.getFullChunkFuture()
CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>
ChunkHolder.getTickingChunkFuture()
CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>
ChunkMap.prepareAccessibleChunk(ChunkHolder p_143110_)
CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>
ChunkMap.prepareEntityTickingChunk(ChunkPos p_143118_)
CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>
ChunkMap.prepareTickingChunk(ChunkHolder p_143054_)
Modifier and TypeMethodDescriptionvoid
ChunkHolder.broadcastChanges(LevelChunk p_140055_)
ChunkMap.packTicks(LevelChunk p_140271_)
private void
ChunkMap.playerLoadedChunk(ServerPlayer p_140196_, Packet<?>[] p_140197_, LevelChunk p_140198_)
void
ServerLevel.tickChunk(LevelChunk p_8715_, int p_8716_)
void
ServerLevel.unload(LevelChunk p_8713_)
Modifier and TypeMethodDescriptionprivate boolean
ServerChunkCache.checkChunkFuture(long p_8374_, Function<ChunkHolder,CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>>> p_8375_)
private void
ServerChunkCache.getFullChunk(long p_8371_, Consumer<LevelChunk> p_8372_)
private static String
ChunkMap.printFuture(CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>> p_140279_)
private void
ChunkHolder.scheduleFullChunkPromotion(ChunkMap p_142999_, CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,ChunkHolder.ChunkLoadingFailure>> p_143000_, Executor p_143001_, ChunkHolder.FullChunkStatus p_143002_)
-
Uses of LevelChunk in net.minecraft.world.level
Modifier and TypeMethodDescriptionLevel.getChunk(int p_46727_, int p_46728_)
Level.getChunkAt(BlockPos p_46746_)
Modifier and TypeMethodDescriptionprivate static BlockPos
NaturalSpawner.getRandomPosWithin(Level p_47063_, LevelChunk p_47064_)
void
Level.markAndNotifyBlock(BlockPos p_46605_, LevelChunk levelchunk, BlockState blockstate, BlockState p_46606_, int p_46607_, int p_46608_)
static void
NaturalSpawner.spawnCategoryForChunk(MobCategory p_47046_, ServerLevel p_47047_, LevelChunk p_47048_, NaturalSpawner.SpawnPredicate p_47049_, NaturalSpawner.AfterSpawnCallback p_47050_)
static void
NaturalSpawner.spawnForChunk(ServerLevel p_47030_, LevelChunk p_47031_, NaturalSpawner.SpawnState p_47032_, boolean p_47033_, boolean p_47034_, boolean p_47035_)
Modifier and TypeMethodDescriptionvoid
NaturalSpawner.ChunkGetter.query(long p_47104_, Consumer<LevelChunk> p_47105_)
-
Uses of LevelChunk in net.minecraft.world.level.block.entity
Modifier and TypeMethodDescriptionprivate static BlockPos
TheEndGatewayBlockEntity.findValidSpawnInChunk(LevelChunk p_59954_)
-
Uses of LevelChunk in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionChunkSource.getChunk(int p_62228_, int p_62229_, boolean p_62230_)
ChunkSource.getChunkNow(int p_62221_, int p_62222_)
ImposterProtoChunk.getWrapped()
Modifier and TypeMethodDescriptionvoid
UpgradeData.upgrade(LevelChunk p_63342_)
private void
UpgradeData.upgradeInside(LevelChunk p_63348_)
private static void
UpgradeData.upgradeSides(LevelChunk p_63344_, Direction8 p_63345_)
ModifierConstructorDescriptionLevelChunk(ServerLevel p_156365_, ProtoChunk p_156366_, Consumer<LevelChunk> p_156367_)
LevelChunk(Level p_62800_, ChunkPos p_62801_, ChunkBiomeContainer p_62802_, UpgradeData p_62803_, TickList<Block> p_62804_, TickList<Fluid> p_62805_, long p_62806_, LevelChunkSection[] p_62807_, Consumer<LevelChunk> p_62808_)
-
Uses of LevelChunk in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static void
ChunkSerializer.postLoadChunk(ServerLevel p_156523_, CompoundTag p_156524_, LevelChunk p_156525_)
-
Uses of LevelChunk in net.minecraftforge.fmllegacy.network
Modifier and TypeFieldDescriptionstatic PacketDistributor<LevelChunk>
PacketDistributor.TRACKING_CHUNK
Send to all tracking the Chunk in the Supplier
PacketDistributor.with(Supplier)
ChunkModifier and TypeMethodDescriptionPacketDistributor.trackingChunk(Supplier<LevelChunk> chunkPosSupplier)