Class SchematicChunkSource

java.lang.Object
net.minecraft.world.level.chunk.ChunkSource
com.simibubi.create.content.schematics.SchematicChunkSource
All Implemented Interfaces:
AutoCloseable, net.minecraft.world.level.chunk.LightChunkGetter

public class SchematicChunkSource extends net.minecraft.world.level.chunk.ChunkSource
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SchematicChunkSource(net.minecraft.world.level.Level world)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    net.minecraft.world.level.chunk.ChunkAccess
    getChunk(int x, int z)
     
    net.minecraft.world.level.chunk.ChunkAccess
    getChunk(int x, int z, net.minecraft.world.level.chunk.ChunkStatus status, boolean p_212849_4_)
     
    net.minecraft.world.level.BlockGetter
    getChunkForLighting(int x, int z)
     
    net.minecraft.world.level.Level
     
    net.minecraft.world.level.lighting.LevelLightEngine
     
    int
     
    void
    tick(BooleanSupplier pHasTimeLeft)
     

    Methods inherited from class net.minecraft.world.level.chunk.ChunkSource

    close, getChunk, getChunkNow, hasChunk, setSpawnSettings, updateChunkForced

    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.level.chunk.LightChunkGetter

    onLightUpdate
  • Constructor Details

    • SchematicChunkSource

      public SchematicChunkSource(net.minecraft.world.level.Level world)
  • Method Details

    • getChunkForLighting

      @Nullable 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

      @Nullable 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 pHasTimeLeft)
      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