Class ClientSandboxChunkManager
java.lang.Object
net.minecraft.world.chunk.ChunkManager
io.github.thecsdev.tcdcommons.client.world.chunk.ClientSandboxChunkManager
- All Implemented Interfaces:
AutoCloseable
,net.minecraft.world.chunk.ChunkProvider
@Beta
public class ClientSandboxChunkManager
extends net.minecraft.world.chunk.ChunkManager
-
Field Summary
Modifier and TypeFieldDescriptionprotected final net.minecraft.world.chunk.WorldChunk
protected final net.minecraft.world.chunk.light.LightingProvider
static final org.slf4j.Logger
protected final net.minecraft.world.World
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.chunk.Chunk
getChunk
(int i, int j, net.minecraft.world.chunk.ChunkStatus chunkStatus, boolean bl) final net.minecraft.world.chunk.light.LightingProvider
int
final net.minecraft.world.BlockView
getWorld()
void
tick
(BooleanSupplier shouldKeepTicking, boolean tickChunks) Methods inherited from class net.minecraft.world.chunk.ChunkManager
close, getChunk, getWorldChunk, getWorldChunk, isChunkLoaded, setChunkForced, setMobSpawnOptions
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.chunk.ChunkProvider
onLightUpdate
-
Field Details
-
LOGGER
public static final org.slf4j.Logger LOGGER -
world
protected final net.minecraft.world.World world -
emptyChunk
protected final net.minecraft.world.chunk.WorldChunk emptyChunk -
lightingProvider
protected final net.minecraft.world.chunk.light.LightingProvider lightingProvider
-
-
Constructor Details
-
ClientSandboxChunkManager
public ClientSandboxChunkManager(net.minecraft.world.World world)
-
-
Method Details
-
getWorld
public final net.minecraft.world.BlockView getWorld() -
getLightingProvider
public final net.minecraft.world.chunk.light.LightingProvider getLightingProvider()- Specified by:
getLightingProvider
in classnet.minecraft.world.chunk.ChunkManager
-
getChunk
public net.minecraft.world.chunk.Chunk getChunk(int i, int j, net.minecraft.world.chunk.ChunkStatus chunkStatus, boolean bl) - Specified by:
getChunk
in classnet.minecraft.world.chunk.ChunkManager
-
getLoadedChunkCount
public int getLoadedChunkCount()- Specified by:
getLoadedChunkCount
in classnet.minecraft.world.chunk.ChunkManager
-
tick
- Specified by:
tick
in classnet.minecraft.world.chunk.ChunkManager
-
getDebugString
- Specified by:
getDebugString
in classnet.minecraft.world.chunk.ChunkManager
-