Uses of Class
net.minecraft.world.level.chunk.LevelChunk
Packages that use LevelChunk
Package
Description
-
Uses of LevelChunk in net.minecraft.client.gui.components
Fields in net.minecraft.client.gui.components declared as LevelChunkFields in net.minecraft.client.gui.components with type parameters of type LevelChunkModifier and TypeFieldDescriptionprivate CompletableFuture
<LevelChunk> DebugScreenOverlay.serverChunk
Methods in net.minecraft.client.gui.components that return LevelChunkModifier and TypeMethodDescriptionprivate LevelChunk
DebugScreenOverlay.getClientChunk()
private LevelChunk
DebugScreenOverlay.getServerChunk()
-
Uses of LevelChunk in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as LevelChunkFields in net.minecraft.client.multiplayer with type parameters of type LevelChunkModifier and TypeFieldDescription(package private) final AtomicReferenceArray
<LevelChunk> ClientChunkCache.Storage.chunks
Methods in net.minecraft.client.multiplayer that return LevelChunkModifier and TypeMethodDescriptionClientChunkCache.getChunk
(int x, int z, ChunkStatus chunkStatus, boolean requireChunk) protected LevelChunk
ClientChunkCache.Storage.getChunk
(int chunkIndex) protected LevelChunk
ClientChunkCache.Storage.replace
(int chunkIndex, LevelChunk chunk, LevelChunk replaceWith) ClientChunkCache.replaceWithPacketData
(int x, int z, FriendlyByteBuf buffer, CompoundTag tag, Consumer<ClientboundLevelChunkPacketData.BlockEntityTagOutput> consumer) Methods in net.minecraft.client.multiplayer with parameters of type LevelChunkModifier and TypeMethodDescriptionprivate void
ClientPacketListener.enableChunkLight
(LevelChunk chunk, int x, int z) private static boolean
ClientChunkCache.isValidChunk
(LevelChunk chunk, int x, int z) protected void
ClientChunkCache.Storage.replace
(int chunkIndex, LevelChunk chunk) protected LevelChunk
ClientChunkCache.Storage.replace
(int chunkIndex, LevelChunk chunk, LevelChunk replaceWith) void
ClientLevel.unload
(LevelChunk chunk) -
Uses of LevelChunk in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as LevelChunkModifier and TypeFieldDescriptionprivate final LevelChunk
RenderRegionCache.ChunkInfo.chunk
(package private) final LevelChunk
RenderChunk.wrapped
Methods in net.minecraft.client.renderer.chunk that return LevelChunkConstructors in net.minecraft.client.renderer.chunk with parameters of type LevelChunkModifierConstructorDescription(package private)
ChunkInfo
(LevelChunk chunk) (package private)
RenderChunk
(LevelChunk wrapped) -
Uses of LevelChunk in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with parameters of type LevelChunkModifier and TypeMethodDescriptionprivate static int
ClientboundChunksBiomesPacket.ChunkBiomeData.calculateChunkSize
(LevelChunk chunk) private static int
ClientboundLevelChunkPacketData.calculateChunkSize
(LevelChunk chunk) static void
ClientboundChunksBiomesPacket.ChunkBiomeData.extractChunkData
(FriendlyByteBuf buffer, LevelChunk chunk) static void
ClientboundLevelChunkPacketData.extractChunkData
(FriendlyByteBuf buffer, LevelChunk chunk) Method parameters in net.minecraft.network.protocol.game with type arguments of type LevelChunkModifier and TypeMethodDescriptionClientboundChunksBiomesPacket.forChunks
(List<LevelChunk> chunks) Constructors in net.minecraft.network.protocol.game with parameters of type LevelChunkModifierConstructorDescriptionChunkBiomeData
(LevelChunk p_275569_) ClientboundLevelChunkPacketData
(LevelChunk levelChunk) ClientboundLevelChunkWithLightPacket
(LevelChunk chunk, LevelLightEngine lightEngine, BitSet skyLight, BitSet blockLight) -
Uses of LevelChunk in net.minecraft.server.level
Fields in net.minecraft.server.level declared as LevelChunkModifier and TypeFieldDescriptionprivate final LevelChunk
ServerChunkCache.ChunkAndHolder.chunk
The field for thechunk
record component.GenerationChunkHolder.currentlyLoading
Fields in net.minecraft.server.level with type parameters of type LevelChunkModifier and TypeFieldDescriptionprivate CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.entityTickingChunkFuture
A future that returns the chunk if it is an entity ticking chunk,invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADED
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.fullChunkFuture
A future that returns the chunk if it is a border chunk,invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADED
private CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.tickingChunkFuture
A future that returns the chunk if it is a ticking chunk,invalid reference
net.minecraft.world.server.ChunkHolder.ChunkLoadingFailure#UNLOADED
static final ChunkResult
<LevelChunk> ChunkHolder.UNLOADED_LEVEL_CHUNK
private static final CompletableFuture
<ChunkResult<LevelChunk>> ChunkHolder.UNLOADED_LEVEL_CHUNK_FUTURE
Methods in net.minecraft.server.level that return LevelChunkModifier and TypeMethodDescriptionServerChunkCache.ChunkAndHolder.chunk()
Returns the value of thechunk
record component.ServerChunkCache.getChunkNow
(int chunkX, int chunkZ) ChunkHolder.getChunkToSend()
ChunkMap.getChunkToSend
(long chunkPos) ChunkHolder.getTickingChunk()
Methods in net.minecraft.server.level that return types with arguments of type LevelChunkModifier and TypeMethodDescriptionChunkHolder.getEntityTickingChunkFuture()
ChunkHolder.getFullChunkFuture()
ChunkHolder.getTickingChunkFuture()
ChunkMap.prepareAccessibleChunk
(ChunkHolder holder) ChunkMap.prepareEntityTickingChunk
(ChunkHolder chunk) ChunkMap.prepareTickingChunk
(ChunkHolder holder) Methods in net.minecraft.server.level with parameters of type LevelChunkModifier and TypeMethodDescriptionvoid
ChunkHolder.broadcastChanges
(LevelChunk chunk) private static void
ChunkMap.markChunkPendingToSend
(ServerPlayer player, LevelChunk chunk) private void
ChunkMap.onChunkReadyToSend
(LevelChunk chunk) void
ServerLevel.startTickingChunk
(LevelChunk chunk) void
ServerLevel.tickChunk
(LevelChunk chunk, int randomTickSpeed) void
ServerLevel.unload
(LevelChunk chunk) Method parameters in net.minecraft.server.level with type arguments of type LevelChunkModifier and TypeMethodDescriptionprivate void
ServerChunkCache.getFullChunk
(long chunkPos, Consumer<LevelChunk> fullChunkGetter) private static String
ChunkMap.printFuture
(CompletableFuture<ChunkResult<LevelChunk>> future) private void
ChunkHolder.scheduleFullChunkPromotion
(ChunkMap chunkMap, CompletableFuture<ChunkResult<LevelChunk>> future, Executor executor, FullChunkStatus fullChunkStatus) Constructors in net.minecraft.server.level with parameters of type LevelChunkModifierConstructorDescription(package private)
ChunkAndHolder
(LevelChunk chunk, ChunkHolder holder) Creates an instance of aChunkAndHolder
record class. -
Uses of LevelChunk in net.minecraft.server.network
Methods in net.minecraft.server.network that return types with arguments of type LevelChunkModifier and TypeMethodDescriptionprivate List
<LevelChunk> PlayerChunkSender.collectChunksToSend
(ChunkMap chunkMap, ChunkPos chunkPos) Methods in net.minecraft.server.network with parameters of type LevelChunkModifier and TypeMethodDescriptionvoid
PlayerChunkSender.markChunkPendingToSend
(LevelChunk chunk) private static void
PlayerChunkSender.sendChunk
(ServerGamePacketListenerImpl packetListener, ServerLevel level, LevelChunk chunk) -
Uses of LevelChunk in net.minecraft.world.level
Methods in net.minecraft.world.level that return LevelChunkModifier and TypeMethodDescriptionLevel.getChunk
(int chunkX, int chunkZ) Level.getChunkAt
(BlockPos pos) Methods in net.minecraft.world.level with parameters of type LevelChunkModifier and TypeMethodDescriptionprivate static BlockPos
NaturalSpawner.getRandomPosWithin
(Level level, LevelChunk chunk) void
Level.markAndNotifyBlock
(BlockPos p_46605_, LevelChunk levelchunk, BlockState blockstate, BlockState p_46606_, int p_46607_, int p_46608_) static void
NaturalSpawner.spawnCategoryForChunk
(MobCategory category, ServerLevel level, LevelChunk chunk, NaturalSpawner.SpawnPredicate filter, NaturalSpawner.AfterSpawnCallback callback) static void
NaturalSpawner.spawnForChunk
(ServerLevel level, LevelChunk chunk, NaturalSpawner.SpawnState spawnState, boolean spawnFriendlies, boolean spawnMonsters, boolean forcedDespawn) Method parameters in net.minecraft.world.level with type arguments of type LevelChunkModifier and TypeMethodDescriptionvoid
NaturalSpawner.ChunkGetter.query
(long chunkPos, Consumer<LevelChunk> chunkConsumer) -
Uses of LevelChunk in net.minecraft.world.level.block.entity
Methods in net.minecraft.world.level.block.entity that return LevelChunkMethods in net.minecraft.world.level.block.entity with parameters of type LevelChunkModifier and TypeMethodDescriptionprivate static BlockPos
TheEndGatewayBlockEntity.findValidSpawnInChunk
(LevelChunk chunk) -
Uses of LevelChunk in net.minecraft.world.level.chunk
Subclasses of LevelChunk in net.minecraft.world.level.chunkFields in net.minecraft.world.level.chunk declared as LevelChunkMethods in net.minecraft.world.level.chunk that return LevelChunkModifier and TypeMethodDescriptionChunkSource.getChunk
(int chunkX, int chunkZ, boolean load) ChunkSource.getChunkNow
(int chunkX, int chunkZ) ImposterProtoChunk.getWrapped()
Methods in net.minecraft.world.level.chunk with parameters of type LevelChunkModifier and TypeMethodDescriptionvoid
LevelChunk.PostLoadProcessor.run
(LevelChunk chunk) void
UpgradeData.upgrade
(LevelChunk chunk) private void
UpgradeData.upgradeInside
(LevelChunk chunk) private static void
UpgradeData.upgradeSides
(LevelChunk chunk, Direction8 side) Constructors in net.minecraft.world.level.chunk with parameters of type LevelChunk -
Uses of LevelChunk in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world declared as LevelChunkConstructors in net.neoforged.neoforge.common.world with parameters of type LevelChunk -
Uses of LevelChunk in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type LevelChunkModifier 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
Fields in net.neoforged.neoforge.event.level declared as LevelChunkModifier and TypeFieldDescriptionprivate final LevelChunk
ChunkWatchEvent.Sent.chunk
private final LevelChunk
ChunkWatchEvent.Watch.chunk
Methods in net.neoforged.neoforge.event.level that return LevelChunkModifier and TypeMethodDescriptionChunkWatchEvent.Sent.getChunk()
ChunkWatchEvent.Watch.getChunk()
Constructors in net.neoforged.neoforge.event.level with parameters of type LevelChunkModifierConstructorDescriptionSent
(ServerPlayer player, LevelChunk chunk, ServerLevel level) Watch
(ServerPlayer player, LevelChunk chunk, ServerLevel level)