Class Chunk

  • Direct Known Subclasses:
    EmptyChunk

    public class Chunk
    extends java.lang.Object
    • Field Detail

      • isLit

        public static boolean isLit
      • precipitationHeightMap

        public int[] precipitationHeightMap
      • updateSkylightColumns

        public boolean[] updateSkylightColumns
      • isChunkLoaded

        public boolean isChunkLoaded
      • worldObj

        public World worldObj
      • heightMap

        public int[] heightMap
      • xPosition

        public final int xPosition
      • zPosition

        public final int zPosition
      • chunkTileEntityMap

        public java.util.Map chunkTileEntityMap
      • entityLists

        public java.util.List[] entityLists
      • isTerrainPopulated

        public boolean isTerrainPopulated
      • isModified

        public boolean isModified
      • hasEntities

        public boolean hasEntities
      • lastSaveTime

        public long lastSaveTime
      • field_50120_o

        public boolean field_50120_o
      • mirrorChunk

        public Chunk mirrorChunk
    • Constructor Detail

      • Chunk

        public Chunk​(World var1,
                     int var2,
                     int var3)
      • Chunk

        public Chunk​(World var1,
                     byte[] var2,
                     int var3,
                     int var4)
    • Method Detail

      • isAtLocation

        public boolean isAtLocation​(int var1,
                                    int var2)
      • getHeightValue

        public int getHeightValue​(int var1,
                                  int var2)
      • getTopFilledSegment

        public int getTopFilledSegment()
      • generateHeightMap

        @Client
        public void generateHeightMap()
      • generateSkylightMap

        public void generateSkylightMap()
      • func_4143_d

        public void func_4143_d()
      • getBlockLightOpacity

        public int getBlockLightOpacity​(int var1,
                                        int var2,
                                        int var3)
      • getBlockID

        public int getBlockID​(int var1,
                              int var2,
                              int var3)
      • getBlockMetadata

        public int getBlockMetadata​(int var1,
                                    int var2,
                                    int var3)
      • setBlockID

        public boolean setBlockID​(int var1,
                                  int var2,
                                  int var3,
                                  int var4)
      • setBlockIDWithMetadata

        public boolean setBlockIDWithMetadata​(int var1,
                                              int var2,
                                              int var3,
                                              int var4,
                                              int var5)
      • setBlockMetadata

        public boolean setBlockMetadata​(int var1,
                                        int var2,
                                        int var3,
                                        int var4)
      • getSavedLightValue

        public int getSavedLightValue​(EnumSkyBlock var1,
                                      int var2,
                                      int var3,
                                      int var4)
      • setLightValue

        public void setLightValue​(EnumSkyBlock var1,
                                  int var2,
                                  int var3,
                                  int var4,
                                  int var5)
      • getBlockLightValue

        public int getBlockLightValue​(int var1,
                                      int var2,
                                      int var3,
                                      int var4)
      • addEntity

        public void addEntity​(Entity var1)
      • removeEntity

        public void removeEntity​(Entity var1)
      • removeEntityAtIndex

        public void removeEntityAtIndex​(Entity var1,
                                        int var2)
      • canBlockSeeTheSky

        public boolean canBlockSeeTheSky​(int var1,
                                         int var2,
                                         int var3)
      • getChunkBlockTileEntity

        public TileEntity getChunkBlockTileEntity​(int var1,
                                                  int var2,
                                                  int var3)
      • addTileEntity

        public void addTileEntity​(TileEntity var1)
      • setChunkBlockTileEntity

        public void setChunkBlockTileEntity​(int var1,
                                            int var2,
                                            int var3,
                                            TileEntity var4)
      • removeChunkBlockTileEntity

        public void removeChunkBlockTileEntity​(int var1,
                                               int var2,
                                               int var3)
      • onChunkLoad

        public void onChunkLoad()
      • onChunkUnload

        public void onChunkUnload()
      • setChunkModified

        public void setChunkModified()
      • getEntitiesWithinAABBForEntity

        public void getEntitiesWithinAABBForEntity​(Entity var1,
                                                   AxisAlignedBB var2,
                                                   java.util.List var3)
      • getEntitiesOfTypeWithinAAAB

        public void getEntitiesOfTypeWithinAAAB​(java.lang.Class var1,
                                                AxisAlignedBB var2,
                                                java.util.List var3)
      • needsSaving

        public boolean needsSaving​(boolean var1)
      • getRandomWithSeed

        public java.util.Random getRandomWithSeed​(long var1)
      • isEmpty

        public boolean isEmpty()
      • removeUnknownBlocks

        public void removeUnknownBlocks()
      • getPrecipitationHeight

        public int getPrecipitationHeight​(int var1,
                                          int var2)
      • updateSkylight

        public void updateSkylight()
      • getAreLevelsEmpty

        public boolean getAreLevelsEmpty​(int var1,
                                         int var2)
      • func_48494_a

        @Client
        public void func_48494_a​(byte[] var1,
                                 int var2,
                                 int var3,
                                 boolean var4)
      • getBiomeArray

        public byte[] getBiomeArray()
      • setBiomeArray

        public void setBiomeArray​(byte[] var1)
      • resetRelightChecks

        public void resetRelightChecks()
      • enqueueRelightChecks

        public void enqueueRelightChecks()