Class EmptyChunk

java.lang.Object
net.pl3x.map.core.world.Chunk
net.pl3x.map.core.world.EmptyChunk

@NullMarked public class EmptyChunk extends Chunk
  • Constructor Details

    • EmptyChunk

      protected EmptyChunk(World world, Region region)
  • Method Details

    • isFull

      public boolean isFull()
      Specified by:
      isFull in class Chunk
    • getBlockState

      public BlockState getBlockState(int x, int y, int z)
      Specified by:
      getBlockState in class Chunk
    • getLight

      public int getLight(int x, int y, int z)
      Specified by:
      getLight in class Chunk
    • getBiome

      public Biome getBiome(int x, int y, int z)
      Specified by:
      getBiome in class Chunk
    • noHeightmap

      public boolean noHeightmap()
      Specified by:
      noHeightmap in class Chunk
    • getWorldSurfaceY

      public int getWorldSurfaceY(int x, int z)
      Specified by:
      getWorldSurfaceY in class Chunk
    • populate

      public Chunk populate()
      Overrides:
      populate in class Chunk
    • toString

      public String toString()
      Overrides:
      toString in class Chunk