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

    Fields
    Modifier and Type
    Field
    Description
    protected 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

    Constructors
    Constructor
    Description
    ClientSandboxChunkManager(net.minecraft.world.World world)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.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
     
    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 class net.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 class net.minecraft.world.chunk.ChunkManager
    • getLoadedChunkCount

      public int getLoadedChunkCount()
      Specified by:
      getLoadedChunkCount in class net.minecraft.world.chunk.ChunkManager
    • tick

      public void tick(BooleanSupplier shouldKeepTicking, boolean tickChunks)
      Specified by:
      tick in class net.minecraft.world.chunk.ChunkManager
    • getDebugString

      public String getDebugString()
      Specified by:
      getDebugString in class net.minecraft.world.chunk.ChunkManager