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_330230_, 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
(package 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
ClientboundChunksBiomesPacket.ChunkBiomeData.calculateChunkSize
(LevelChunk p_275324_) private static int
ClientboundLevelChunkPacketData.calculateChunkSize
(LevelChunk p_195665_) static void
ClientboundChunksBiomesPacket.ChunkBiomeData.extractChunkData
(FriendlyByteBuf p_275626_, LevelChunk p_275570_) static void
ClientboundLevelChunkPacketData.extractChunkData
(FriendlyByteBuf p_195669_, LevelChunk p_195670_) Modifier and TypeMethodDescriptionClientboundChunksBiomesPacket.forChunks
(List<LevelChunk> p_275394_) ModifierConstructorDescriptionChunkBiomeData
(LevelChunk p_275569_) ClientboundLevelChunkPacketData
(LevelChunk p_195651_) ClientboundLevelChunkWithLightPacket
(LevelChunk p_285290_, LevelLightEngine p_285254_, BitSet p_285350_, BitSet p_285304_) -
Uses of LevelChunk in net.minecraft.server.level
Modifier and TypeFieldDescriptionprivate final LevelChunk
ServerChunkCache.ChunkAndHolder.chunk
The field for thechunk
record component.GenerationChunkHolder.currentlyLoading
Modifier and TypeFieldDescriptionprivate CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.entityTickingChunkFuture
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.fullChunkFuture
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.tickingChunkFuture
static final ChunkResult
<LevelChunk> ChunkHolder.UNLOADED_LEVEL_CHUNK
private static final CompletableFuture
<ChunkResult<LevelChunk>> 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.getChunkToSend()
ChunkMap.getChunkToSend
(long p_300929_) ChunkHolder.getTickingChunk()
Modifier and TypeMethodDescriptionChunkHolder.getEntityTickingChunkFuture()
ChunkHolder.getFullChunkFuture()
ChunkHolder.getTickingChunkFuture()
ChunkMap.prepareAccessibleChunk
(ChunkHolder p_143110_) ChunkMap.prepareEntityTickingChunk
(ChunkHolder p_281455_) ChunkMap.prepareTickingChunk
(ChunkHolder p_143054_) Modifier and TypeMethodDescriptionvoid
ChunkHolder.broadcastChanges
(LevelChunk p_140055_) private static void
ChunkMap.markChunkPendingToSend
(ServerPlayer p_295834_, LevelChunk p_296281_) private void
ChunkMap.onChunkReadyToSend
(LevelChunk p_296003_) 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<ChunkResult<LevelChunk>> p_140279_) private void
ChunkHolder.scheduleFullChunkPromotion
(ChunkMap p_142999_, CompletableFuture<ChunkResult<LevelChunk>> p_143000_, Executor p_143001_, FullChunkStatus p_287621_) ModifierConstructorDescription(package private)
ChunkAndHolder
(LevelChunk chunk, ChunkHolder holder) Creates an instance of aChunkAndHolder
record class. -
Uses of LevelChunk in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate List
<LevelChunk> PlayerChunkSender.collectChunksToSend
(ChunkMap p_296053_, ChunkPos p_295659_) Modifier and TypeMethodDescriptionvoid
PlayerChunkSender.markChunkPendingToSend
(LevelChunk p_296454_) private static void
PlayerChunkSender.sendChunk
(ServerGamePacketListenerImpl p_295237_, ServerLevel p_294963_, LevelChunk p_295144_) -
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
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_) -
Uses of LevelChunk in net.neoforged.neoforge.common.world
-
Uses of LevelChunk in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionstatic void
EventHooks.fireChunkSent
(ServerPlayer entity, LevelChunk chunk, ServerLevel level) static void
EventHooks.fireChunkWatch
(ServerPlayer entity, LevelChunk chunk, ServerLevel level) -
Uses of LevelChunk in net.neoforged.neoforge.event.level
Modifier and TypeFieldDescriptionprivate final LevelChunk
ChunkWatchEvent.Sent.chunk
private final LevelChunk
ChunkWatchEvent.Watch.chunk
Modifier and TypeMethodDescriptionChunkWatchEvent.Sent.getChunk()
ChunkWatchEvent.Watch.getChunk()
ModifierConstructorDescriptionSent
(ServerPlayer player, LevelChunk chunk, ServerLevel level) Watch
(ServerPlayer player, LevelChunk chunk, ServerLevel level)