Package net.minecraft.src
Class Chunk
- java.lang.Object
-
- net.minecraft.src.Chunk
-
- Direct Known Subclasses:
EmptyChunk
public class Chunk extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.Map
chunkTileEntityMap
java.util.List[]
entityLists
boolean
field_50120_o
boolean
hasEntities
int[]
heightMap
boolean
isChunkLoaded
static boolean
isLit
boolean
isModified
boolean
isTerrainPopulated
long
lastSaveTime
Chunk
mirrorChunk
int[]
precipitationHeightMap
boolean[]
updateSkylightColumns
World
worldObj
int
xPosition
int
zPosition
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntity(Entity var1)
void
addTileEntity(TileEntity var1)
boolean
canBlockSeeTheSky(int var1, int var2, int var3)
void
enqueueRelightChecks()
void
func_4143_d()
BiomeGenBase
func_48490_a(int var1, int var2, WorldChunkManager var3)
void
func_48494_a(byte[] var1, int var2, int var3, boolean var4)
void
generateHeightMap()
void
generateSkylightMap()
boolean
getAreLevelsEmpty(int var1, int var2)
byte[]
getBiomeArray()
int
getBlockID(int var1, int var2, int var3)
int
getBlockLightOpacity(int var1, int var2, int var3)
int
getBlockLightValue(int var1, int var2, int var3, int var4)
int
getBlockMetadata(int var1, int var2, int var3)
ExtendedBlockStorage[]
getBlockStorageArray()
TileEntity
getChunkBlockTileEntity(int var1, int var2, int var3)
ChunkCoordIntPair
getChunkCoordIntPair()
void
getEntitiesOfTypeWithinAAAB(java.lang.Class var1, AxisAlignedBB var2, java.util.List var3)
void
getEntitiesWithinAABBForEntity(Entity var1, AxisAlignedBB var2, java.util.List var3)
int
getHeightValue(int var1, int var2)
int
getPrecipitationHeight(int var1, int var2)
java.util.Random
getRandomWithSeed(long var1)
int
getSavedLightValue(EnumSkyBlock var1, int var2, int var3, int var4)
int
getTopFilledSegment()
boolean
isAtLocation(int var1, int var2)
boolean
isEmpty()
boolean
needsSaving(boolean var1)
void
onChunkLoad()
void
onChunkUnload()
void
populateChunk(IChunkProvider var1, IChunkProvider var2, int var3, int var4)
void
removeChunkBlockTileEntity(int var1, int var2, int var3)
void
removeEntity(Entity var1)
void
removeEntityAtIndex(Entity var1, int var2)
void
removeUnknownBlocks()
void
resetRelightChecks()
void
setBiomeArray(byte[] var1)
boolean
setBlockID(int var1, int var2, int var3, int var4)
boolean
setBlockIDWithMetadata(int var1, int var2, int var3, int var4, int var5)
boolean
setBlockMetadata(int var1, int var2, int var3, int var4)
void
setChunkBlockTileEntity(int var1, int var2, int var3, TileEntity var4)
void
setChunkModified()
void
setLightValue(EnumSkyBlock var1, int var2, int var3, int var4, int var5)
void
setStorageArrays(ExtendedBlockStorage[] var1)
void
updateSkylight()
-
-
-
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
-
-
Method Detail
-
isAtLocation
public boolean isAtLocation(int var1, int var2)
-
getHeightValue
public int getHeightValue(int var1, int var2)
-
getTopFilledSegment
public int getTopFilledSegment()
-
getBlockStorageArray
public ExtendedBlockStorage[] getBlockStorageArray()
-
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()
-
populateChunk
public void populateChunk(IChunkProvider var1, IChunkProvider var2, int var3, int var4)
-
getPrecipitationHeight
public int getPrecipitationHeight(int var1, int var2)
-
updateSkylight
public void updateSkylight()
-
getChunkCoordIntPair
public ChunkCoordIntPair getChunkCoordIntPair()
-
getAreLevelsEmpty
public boolean getAreLevelsEmpty(int var1, int var2)
-
setStorageArrays
public void setStorageArrays(ExtendedBlockStorage[] var1)
-
func_48494_a
@Client public void func_48494_a(byte[] var1, int var2, int var3, boolean var4)
-
func_48490_a
public BiomeGenBase func_48490_a(int var1, int var2, WorldChunkManager var3)
-
getBiomeArray
public byte[] getBiomeArray()
-
setBiomeArray
public void setBiomeArray(byte[] var1)
-
resetRelightChecks
public void resetRelightChecks()
-
enqueueRelightChecks
public void enqueueRelightChecks()
-
-