Class VirtualChunkSource

java.lang.Object
net.minecraft.world.level.chunk.ChunkSource
com.jozufozu.flywheel.core.virtual.VirtualChunkSource
All Implemented Interfaces:
AutoCloseable, net.minecraft.world.level.chunk.LightChunkGetter

public class VirtualChunkSource extends net.minecraft.world.level.chunk.ChunkSource
  • Field Details

  • Constructor Details

  • Method Details

    • getChunkForLighting

      public net.minecraft.world.level.BlockGetter getChunkForLighting(int x, int z)
      Specified by:
      getChunkForLighting in interface net.minecraft.world.level.chunk.LightChunkGetter
      Overrides:
      getChunkForLighting in class net.minecraft.world.level.chunk.ChunkSource
    • getLevel

      public net.minecraft.world.level.Level getLevel()
    • getChunk

      public net.minecraft.world.level.chunk.ChunkAccess getChunk(int x, int z, net.minecraft.world.level.chunk.ChunkStatus status, boolean p_212849_4_)
      Specified by:
      getChunk in class net.minecraft.world.level.chunk.ChunkSource
    • getChunk

      public net.minecraft.world.level.chunk.ChunkAccess getChunk(int x, int z)
    • gatherStats

      public String gatherStats()
      Specified by:
      gatherStats in class net.minecraft.world.level.chunk.ChunkSource
    • getLightEngine

      public net.minecraft.world.level.lighting.LevelLightEngine getLightEngine()
      Specified by:
      getLightEngine in class net.minecraft.world.level.chunk.ChunkSource
    • tick

      public void tick(BooleanSupplier p_202162_, boolean p_202163_)
      Specified by:
      tick in class net.minecraft.world.level.chunk.ChunkSource
    • getLoadedChunksCount

      public int getLoadedChunksCount()
      Specified by:
      getLoadedChunksCount in class net.minecraft.world.level.chunk.ChunkSource