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) final 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_194117_, int p_194118_, FriendlyByteBuf p_194119_, CompoundTag p_194120_, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> p_194121_) Modifier and TypeMethodDescriptionprivate void
ClientPacketListener.enableChunkLight
(LevelChunk p_194213_, int p_194214_, int p_194215_) private 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 TypeFieldDescriptionprivate final LevelChunk
RenderRegionCache.ChunkInfo.chunk
private final LevelChunk
RenderChunk.wrapped
ModifierConstructorDescription(package private)
ChunkInfo
(LevelChunk p_200479_) (package private)
RenderChunk
(LevelChunk p_200446_) -
Uses of LevelChunk in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionprivate static int
ClientboundLevelChunkPacketData.calculateChunkSize
(LevelChunk p_195665_) static void
ClientboundLevelChunkPacketData.extractChunkData
(FriendlyByteBuf p_195669_, LevelChunk p_195670_) ModifierConstructorDescriptionClientboundLevelChunkPacketData
(LevelChunk p_195651_) ClientboundLevelChunkWithLightPacket
(LevelChunk p_195704_, LevelLightEngine p_195705_, BitSet p_195706_, BitSet p_195707_, boolean p_195708_) -
Uses of LevelChunk in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate final LevelChunk
ServerChunkCache.ChunkAndHolder.chunk
The field for thechunk
record component.(package private) LevelChunk
ChunkHolder.currentlyLoading
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 final com.mojang.datafixers.util.Either<LevelChunk,
ChunkHolder.ChunkLoadingFailure> ChunkHolder.UNLOADED_LEVEL_CHUNK
private static final CompletableFuture<com.mojang.datafixers.util.Either<LevelChunk,
ChunkHolder.ChunkLoadingFailure>> ChunkHolder.UNLOADED_LEVEL_CHUNK_FUTURE
Modifier and TypeMethodDescriptionServerChunkCache.ChunkAndHolder.chunk()
Returns the value of thechunk
record component.ServerChunkCache.getChunkNow
(int p_8357_, int p_8358_) ChunkHolder.getFullChunk()
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_) private void
ChunkMap.playerLoadedChunk
(ServerPlayer p_183761_, org.apache.commons.lang3.mutable.MutableObject<ClientboundLevelChunkWithLightPacket> p_183762_, LevelChunk p_183763_) void
ServerLevel.startTickingChunk
(LevelChunk p_184103_) void
ServerLevel.tickChunk
(LevelChunk p_8715_, int p_8716_) void
ServerLevel.unload
(LevelChunk p_8713_) Modifier and TypeMethodDescriptionprivate 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_) ModifierConstructorDescription(package private)
ChunkAndHolder
(LevelChunk chunk, ChunkHolder holder) Creates an instance of aChunkAndHolder
record class. -
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 TypeFieldDescriptionprivate final CapabilityProvider.AsField<LevelChunk>
LevelChunk.capProvider
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
LevelChunk.PostLoadProcessor.run
(LevelChunk p_196867_) void
UpgradeData.upgrade
(LevelChunk p_63342_) private void
UpgradeData.upgradeInside
(LevelChunk p_63348_) private static void
UpgradeData.upgradeSides
(LevelChunk p_63344_, Direction8 p_63345_) Modifier and TypeMethodDescriptionboolean
LevelChunk.areCapsCompatible
(CapabilityProvider<LevelChunk> other) -
Uses of LevelChunk in net.minecraftforge.event
Modifier and TypeMethodDescriptionstatic void
ForgeEventFactory.fireChunkWatch
(ServerPlayer entity, LevelChunk chunk, ServerLevel level) -
Uses of LevelChunk in net.minecraftforge.event.level
-
Uses of LevelChunk in net.minecraftforge.network
Modifier and TypeFieldDescriptionstatic final PacketDistributor<LevelChunk>
PacketDistributor.TRACKING_CHUNK
Send to all tracking the Chunk in the Supplier
PacketDistributor.with(Supplier)
ChunkModifier and TypeMethodDescriptionPacketDistributor.trackingChunk
(Supplier<LevelChunk> chunkPosSupplier)