| Constructor and Description | 
|---|
| InvertedChunk(Chunk chunk,
             int delta,
             Platform platform) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | get3DBiome(int x,
          int y,
          int z)Get a 3D biome, stored per 4x4x4 block. | 
| int | getBiome(int x,
        int z)Get a 2D biome, stored per column. | 
| int | getBlockLightLevel(int x,
                  int y,
                  int z) | 
| int | getBlockType(int x,
            int y,
            int z) | 
| MinecraftCoords | getCoords() | 
| int | getDataValue(int x,
            int y,
            int z) | 
| java.util.List<Entity> | getEntities()Get a list of entities contained in this chunk. | 
| int | getHeight(int x,
         int z) | 
| int | getHighestNonAirBlock()Get the Y coordinate of the highest non-air (block ID zero, any data value) block in the chunk. | 
| int | getHighestNonAirBlock(int x,
                     int z)Get the Y coordinate of the highest non-air (block ID zero, any data value) block in a specific column. | 
| long | getInhabitedTime() | 
| Material | getMaterial(int x,
           int y,
           int z) | 
| int | getMaxHeight() | 
| int | getMinHeight() | 
| java.lang.String | getNamedBiome(int x,
             int y,
             int z)Get a modern biome, stored per 4x4x4 block. | 
| int | getSkyLightLevel(int x,
                int y,
                int z) | 
| java.util.List<TileEntity> | getTileEntities()Get a list of tile entities (also known as block entities) contained in this chunk. | 
| int | getxPos() | 
| int | getzPos() | 
| boolean | is3DBiomesAvailable()Indicates whether 3D biomes are available. | 
| boolean | is3DBiomesSupported()Indicates whether 3D biomes are supported. | 
| boolean | isBiomesAvailable()Indicates whether 2D biomes are available. | 
| boolean | isBiomesSupported()Indicates whether 2D biomes are supported. | 
| boolean | isLightPopulated() | 
| boolean | isNamedBiomesAvailable()Indicates whether named biomes are available. | 
| boolean | isNamedBiomesSupported()Indicates whether named biomes are supported. | 
| boolean | isReadOnly() | 
| boolean | isTerrainPopulated() | 
| void | markForUpdateChunk(int x,
                  int y,
                  int z)Mark a block to be updated by Minecraft when next loaded. | 
| void | set3DBiome(int x,
          int y,
          int z,
          int biome)Set a 3D biome, stored per 4x4x4 block. | 
| void | setBiome(int x,
        int z,
        int biome)Set a 2D biome, stored per column. | 
| void | setBlockLightLevel(int x,
                  int y,
                  int z,
                  int blockLightLevel) | 
| void | setBlockType(int x,
            int y,
            int z,
            int blockType) | 
| void | setDataValue(int x,
            int y,
            int z,
            int dataValue) | 
| void | setHeight(int x,
         int z,
         int height) | 
| void | setInhabitedTime(long inhabitedTime) | 
| void | setLightPopulated(boolean lightPopulated) | 
| void | setMaterial(int x,
           int y,
           int z,
           Material material) | 
| void | setNamedBiome(int x,
             int y,
             int z,
             java.lang.String biome)Set a modern biome, stored per 4x4x4 block. | 
| void | setSkyLightLevel(int x,
                int y,
                int z,
                int skyLightLevel) | 
| void | setTerrainPopulated(boolean terrainPopulated) | 
public int getBlockLightLevel(int x,
                              int y,
                              int z)
getBlockLightLevel in interface Chunkpublic void setBlockLightLevel(int x,
                               int y,
                               int z,
                               int blockLightLevel)
setBlockLightLevel in interface Chunkpublic int getBlockType(int x,
                        int y,
                        int z)
getBlockType in interface Chunkpublic void setBlockType(int x,
                         int y,
                         int z,
                         int blockType)
setBlockType in interface Chunkpublic int getDataValue(int x,
                        int y,
                        int z)
getDataValue in interface Chunkpublic void setDataValue(int x,
                         int y,
                         int z,
                         int dataValue)
setDataValue in interface Chunkpublic void setHeight(int x,
                      int z,
                      int height)
public int getSkyLightLevel(int x,
                            int y,
                            int z)
getSkyLightLevel in interface Chunkpublic void setSkyLightLevel(int x,
                             int y,
                             int z,
                             int skyLightLevel)
setSkyLightLevel in interface Chunkpublic MinecraftCoords getCoords()
public boolean isTerrainPopulated()
isTerrainPopulated in interface Chunkpublic void setTerrainPopulated(boolean terrainPopulated)
setTerrainPopulated in interface Chunkpublic Material getMaterial(int x, int y, int z)
getMaterial in interface Chunkpublic void setMaterial(int x,
                        int y,
                        int z,
                        Material material)
setMaterial in interface Chunkpublic java.util.List<Entity> getEntities()
ChunkgetEntities in interface Chunkpublic java.util.List<TileEntity> getTileEntities()
ChunkgetTileEntities in interface Chunkpublic int getMinHeight()
getMinHeight in interface Chunkpublic int getMaxHeight()
getMaxHeight in interface Chunkpublic boolean isBiomesSupported()
ChunkChunk.getBiome(int, int) and Chunk.setBiome(int, int, int).
 The default implementation returns false.
isBiomesSupported in interface Chunkpublic boolean isBiomesAvailable()
ChunkChunk.getBiome(int, int) and Chunk.setBiome(int, int, int).
 The default implementation returns false.
isBiomesAvailable in interface Chunkpublic boolean is3DBiomesSupported()
ChunkChunk.get3DBiome(int, int, int) and
 Chunk.set3DBiome(int, int, int, int).
 The default implemenation returns false.
is3DBiomesSupported in interface Chunkpublic boolean is3DBiomesAvailable()
ChunkChunk.get3DBiome(int, int, int) and
 Chunk.set3DBiome(int, int, int, int).
 The default implemenation returns false.
is3DBiomesAvailable in interface Chunkpublic boolean isNamedBiomesSupported()
ChunkChunk.getNamedBiome(int, int, int) and
 Chunk.setNamedBiome(int, int, int, String).
 The default implementation returns false.
isNamedBiomesSupported in interface Chunkpublic boolean isNamedBiomesAvailable()
ChunkChunk.getNamedBiome(int, int, int) and
 Chunk.setNamedBiome(int, int, int, String).
 The default implementation returns false.
isNamedBiomesAvailable in interface Chunkpublic int getBiome(int x,
                    int z)
ChunkUnsupportedOperationException when invoked on a format which
 does not support 2D biomes.public void setBiome(int x,
                     int z,
                     int biome)
ChunkUnsupportedOperationException when invoked on a format which
 does not support 2D biomes.public int get3DBiome(int x,
                      int y,
                      int z)
ChunkUnsupportedOperationException when invoked on a format which does not support 3D biomes.get3DBiome in interface Chunkpublic void set3DBiome(int x,
                       int y,
                       int z,
                       int biome)
ChunkUnsupportedOperationException when invoked on a format which does not support 3D biomes.set3DBiome in interface Chunkpublic java.lang.String getNamedBiome(int x,
                                      int y,
                                      int z)
ChunkUnsupportedOperationException when invoked on a format which does not support modern
 biomes.getNamedBiome in interface Chunkpublic void setNamedBiome(int x,
                          int y,
                          int z,
                          java.lang.String biome)
ChunkUnsupportedOperationException when invoked on a format which does not support named
 biomes.setNamedBiome in interface Chunkpublic void markForUpdateChunk(int x,
                               int y,
                               int z)
ChunkThe default implementation does nothing.
markForUpdateChunk in interface Chunkpublic boolean isReadOnly()
isReadOnly in interface Chunkpublic boolean isLightPopulated()
isLightPopulated in interface Chunkpublic void setLightPopulated(boolean lightPopulated)
setLightPopulated in interface Chunkpublic long getInhabitedTime()
getInhabitedTime in interface Chunkpublic void setInhabitedTime(long inhabitedTime)
setInhabitedTime in interface Chunkpublic int getHighestNonAirBlock(int x,
                                 int z)
ChunkgetHighestNonAirBlock in interface Chunkx - The X coordinate of the column relative to the chunk.z - The Z coordinate of the column relative to the chunk.Integer.MIN_VALUE if the column is empty.public int getHighestNonAirBlock()
ChunkgetHighestNonAirBlock in interface ChunkInteger.MIN_VALUE if the chunk is empty.