Class AbstractChunkProvider

java.lang.Object
net.minecraft.world.chunk.AbstractChunkProvider
All Implemented Interfaces:
AutoCloseable, IChunkLightProvider
Direct Known Subclasses:
ClientChunkProvider, ServerChunkProvider

public abstract class AbstractChunkProvider extends Object implements IChunkLightProvider, AutoCloseable
  • Constructor Details

    • AbstractChunkProvider

      public AbstractChunkProvider()
  • Method Details

    • getChunk

      @Nullable public Chunk getChunk(int p_217205_1_, int p_217205_2_, boolean p_217205_3_)
    • getChunkNow

      @Nullable public Chunk getChunkNow(int p_225313_1_, int p_225313_2_)
    • getChunkForLighting

      @Nullable public IBlockReader getChunkForLighting(int p_217202_1_, int p_217202_2_)
      Specified by:
      getChunkForLighting in interface IChunkLightProvider
    • hasChunk

      public boolean hasChunk(int p_73149_1_, int p_73149_2_)
    • getChunk

      @Nullable public abstract IChunk getChunk(int p_212849_1_, int p_212849_2_, ChunkStatus p_212849_3_, boolean p_212849_4_)
    • gatherStats

      public abstract String gatherStats()
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException
    • getLightEngine

      public abstract WorldLightManager getLightEngine()
    • setSpawnSettings

      public void setSpawnSettings(boolean p_217203_1_, boolean p_217203_2_)
    • updateChunkForced

      public void updateChunkForced(ChunkPos p_217206_1_, boolean p_217206_2_)
    • isEntityTickingChunk

      public boolean isEntityTickingChunk(Entity p_217204_1_)
    • isEntityTickingChunk

      public boolean isEntityTickingChunk(ChunkPos p_222865_1_)
    • isTickingChunk

      public boolean isTickingChunk(BlockPos p_222866_1_)