|
YATS/Forge Documentation
|
Public Member Functions | |
| EmptyChunk (World par1World, int par2, int par3) | |
| boolean | isAtLocation (int par1, int par2) |
| int | getHeightValue (int par1, int par2) |
| void | generateSkylightMap () |
| void | generateHeightMap () |
| int | getBlockID (int par1, int par2, int par3) |
| int | getBlockLightOpacity (int par1, int par2, int par3) |
| boolean | setBlockIDWithMetadata (int par1, int par2, int par3, int par4, int par5) |
| int | getBlockMetadata (int par1, int par2, int par3) |
| boolean | setBlockMetadata (int par1, int par2, int par3, int par4) |
| int | getSavedLightValue (EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4) |
| void | setLightValue (EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4, int par5) |
| int | getBlockLightValue (int par1, int par2, int par3, int par4) |
| void | addEntity (Entity par1Entity) |
| void | removeEntity (Entity par1Entity) |
| void | removeEntityAtIndex (Entity par1Entity, int par2) |
| boolean | canBlockSeeTheSky (int par1, int par2, int par3) |
| TileEntity | getChunkBlockTileEntity (int par1, int par2, int par3) |
| void | addTileEntity (TileEntity par1TileEntity) |
| void | setChunkBlockTileEntity (int par1, int par2, int par3, TileEntity par4TileEntity) |
| void | removeChunkBlockTileEntity (int par1, int par2, int par3) |
| void | onChunkLoad () |
| void | onChunkUnload () |
| void | setChunkModified () |
| void | getEntitiesWithinAABBForEntity (Entity par1Entity, AxisAlignedBB par2AxisAlignedBB, List par3List, IEntitySelector par4IEntitySelector) |
| void | getEntitiesOfTypeWithinAAAB (Class par1Class, AxisAlignedBB par2AxisAlignedBB, List par3List, IEntitySelector par4IEntitySelector) |
| boolean | needsSaving (boolean par1) |
| Random | getRandomWithSeed (long par1) |
| boolean | isEmpty () |
| boolean | getAreLevelsEmpty (int par1, int par2) |
Public Member Functions inherited from net.minecraft.world.chunk.Chunk | |
| Chunk (World par1World, int par2, int par3) | |
| Chunk (World par1World, byte[] par2ArrayOfByte, int par3, int par4) | |
| Chunk (World world, byte[] ids, byte[] metadata, int chunkX, int chunkZ) | |
| Chunk (World world, short[] ids, byte[] metadata, int chunkX, int chunkZ) | |
| boolean | isAtLocation (int par1, int par2) |
| int | getHeightValue (int par1, int par2) |
| int | getTopFilledSegment () |
| ExtendedBlockStorage[] | getBlockStorageArray () |
| void | generateHeightMap () |
| void | generateSkylightMap () |
| int | getBlockLightOpacity (int par1, int par2, int par3) |
| int | getBlockID (int par1, int par2, int par3) |
| int | getBlockMetadata (int par1, int par2, int par3) |
| boolean | setBlockIDWithMetadata (int par1, int par2, int par3, int par4, int par5) |
| boolean | setBlockMetadata (int par1, int par2, int par3, int par4) |
| int | getSavedLightValue (EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4) |
| void | setLightValue (EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4, int par5) |
| int | getBlockLightValue (int par1, int par2, int par3, int par4) |
| void | addEntity (Entity par1Entity) |
| void | removeEntity (Entity par1Entity) |
| void | removeEntityAtIndex (Entity par1Entity, int par2) |
| boolean | canBlockSeeTheSky (int par1, int par2, int par3) |
| TileEntity | getChunkBlockTileEntity (int par1, int par2, int par3) |
| void | addTileEntity (TileEntity par1TileEntity) |
| void | setChunkBlockTileEntity (int par1, int par2, int par3, TileEntity par4TileEntity) |
| void | removeChunkBlockTileEntity (int par1, int par2, int par3) |
| void | onChunkLoad () |
| void | onChunkUnload () |
| void | setChunkModified () |
| void | getEntitiesWithinAABBForEntity (Entity par1Entity, AxisAlignedBB par2AxisAlignedBB, List par3List, IEntitySelector par4IEntitySelector) |
| void | getEntitiesOfTypeWithinAAAB (Class par1Class, AxisAlignedBB par2AxisAlignedBB, List par3List, IEntitySelector par4IEntitySelector) |
| boolean | needsSaving (boolean par1) |
| Random | getRandomWithSeed (long par1) |
| boolean | isEmpty () |
| void | populateChunk (IChunkProvider par1IChunkProvider, IChunkProvider par2IChunkProvider, int par3, int par4) |
| int | getPrecipitationHeight (int par1, int par2) |
| void | updateSkylight () |
| ChunkCoordIntPair | getChunkCoordIntPair () |
| boolean | getAreLevelsEmpty (int par1, int par2) |
| void | setStorageArrays (ExtendedBlockStorage[] par1ArrayOfExtendedBlockStorage) |
| void | fillChunk (byte[] par1ArrayOfByte, int par2, int par3, boolean par4) |
| BiomeGenBase | getBiomeGenForWorldCoords (int par1, int par2, WorldChunkManager par3WorldChunkManager) |
| byte[] | getBiomeArray () |
| void | setBiomeArray (byte[] par1ArrayOfByte) |
| void | resetRelightChecks () |
| void | enqueueRelightChecks () |
| void | cleanChunkBlockTileEntity (int x, int y, int z) |
Additional Inherited Members | |
Public Attributes inherited from net.minecraft.world.chunk.Chunk | |
| int[] | precipitationHeightMap |
| boolean[] | updateSkylightColumns |
| boolean | isChunkLoaded |
| World | worldObj |
| int[] | heightMap |
| final int | xPosition |
| final int | zPosition |
| Map | chunkTileEntityMap |
| List[] | entityLists |
| boolean | isTerrainPopulated |
| boolean | isModified |
| boolean | hasEntities |
| long | lastSaveTime |
| boolean | sendUpdates |
| int | heightMapMinimum |
Static Public Attributes inherited from net.minecraft.world.chunk.Chunk | |
| static boolean | isLit |
| net.minecraft.world.chunk.EmptyChunk.EmptyChunk | ( | World | par1World, |
| int | par2, | ||
| int | par3 | ||
| ) |
| void net.minecraft.world.chunk.EmptyChunk.addEntity | ( | Entity | par1Entity) |
Adds an entity to the chunk. Args: entity
| void net.minecraft.world.chunk.EmptyChunk.addTileEntity | ( | TileEntity | par1TileEntity) |
Adds a TileEntity to a chunk
| boolean net.minecraft.world.chunk.EmptyChunk.canBlockSeeTheSky | ( | int | par1, |
| int | par2, | ||
| int | par3 | ||
| ) |
Returns whether is not a block above this one blocking sight to the sky (done via checking against the heightmap)
| void net.minecraft.world.chunk.EmptyChunk.generateHeightMap | ( | ) |
Generates the height map for a chunk from scratch
| void net.minecraft.world.chunk.EmptyChunk.generateSkylightMap | ( | ) |
Generates the initial skylight map for the chunk upon generation or load.
| boolean net.minecraft.world.chunk.EmptyChunk.getAreLevelsEmpty | ( | int | par1, |
| int | par2 | ||
| ) |
Returns whether the ExtendedBlockStorages containing levels (in blocks) from arg 1 to arg 2 are fully empty (true) or not (false).
| int net.minecraft.world.chunk.EmptyChunk.getBlockID | ( | int | par1, |
| int | par2, | ||
| int | par3 | ||
| ) |
Return the ID of a block in the chunk.
| int net.minecraft.world.chunk.EmptyChunk.getBlockLightOpacity | ( | int | par1, |
| int | par2, | ||
| int | par3 | ||
| ) |
| int net.minecraft.world.chunk.EmptyChunk.getBlockLightValue | ( | int | par1, |
| int | par2, | ||
| int | par3, | ||
| int | par4 | ||
| ) |
Gets the amount of light on a block taking into account sunlight
| int net.minecraft.world.chunk.EmptyChunk.getBlockMetadata | ( | int | par1, |
| int | par2, | ||
| int | par3 | ||
| ) |
Return the metadata corresponding to the given coordinates inside a chunk.
| TileEntity net.minecraft.world.chunk.EmptyChunk.getChunkBlockTileEntity | ( | int | par1, |
| int | par2, | ||
| int | par3 | ||
| ) |
Gets the TileEntity for a given block in this chunk
| void net.minecraft.world.chunk.EmptyChunk.getEntitiesOfTypeWithinAAAB | ( | Class | par1Class, |
| AxisAlignedBB | par2AxisAlignedBB, | ||
| List | par3List, | ||
| IEntitySelector | par4IEntitySelector | ||
| ) |
Gets all entities that can be assigned to the specified class. Args: entityClass, aabb, listToFill
| void net.minecraft.world.chunk.EmptyChunk.getEntitiesWithinAABBForEntity | ( | Entity | par1Entity, |
| AxisAlignedBB | par2AxisAlignedBB, | ||
| List | par3List, | ||
| IEntitySelector | par4IEntitySelector | ||
| ) |
Fills the given list of all entities that intersect within the given bounding box that aren't the passed entity Args: entity, aabb, listToFill
| int net.minecraft.world.chunk.EmptyChunk.getHeightValue | ( | int | par1, |
| int | par2 | ||
| ) |
Returns the value in the height map at this x, z coordinate in the chunk
| Random net.minecraft.world.chunk.EmptyChunk.getRandomWithSeed | ( | long | par1) |
| int net.minecraft.world.chunk.EmptyChunk.getSavedLightValue | ( | EnumSkyBlock | par1EnumSkyBlock, |
| int | par2, | ||
| int | par3, | ||
| int | par4 | ||
| ) |
Gets the amount of light saved in this block (doesn't adjust for daylight)
| boolean net.minecraft.world.chunk.EmptyChunk.isAtLocation | ( | int | par1, |
| int | par2 | ||
| ) |
Checks whether the chunk is at the X/Z location specified
| boolean net.minecraft.world.chunk.EmptyChunk.isEmpty | ( | ) |
| boolean net.minecraft.world.chunk.EmptyChunk.needsSaving | ( | boolean | par1) |
Returns true if this Chunk needs to be saved
| void net.minecraft.world.chunk.EmptyChunk.onChunkLoad | ( | ) |
Called when this Chunk is loaded by the ChunkProvider
| void net.minecraft.world.chunk.EmptyChunk.onChunkUnload | ( | ) |
Called when this Chunk is unloaded by the ChunkProvider
| void net.minecraft.world.chunk.EmptyChunk.removeChunkBlockTileEntity | ( | int | par1, |
| int | par2, | ||
| int | par3 | ||
| ) |
Removes the TileEntity for a given block in this chunk
| void net.minecraft.world.chunk.EmptyChunk.removeEntity | ( | Entity | par1Entity) |
removes entity using its y chunk coordinate as its index
| void net.minecraft.world.chunk.EmptyChunk.removeEntityAtIndex | ( | Entity | par1Entity, |
| int | par2 | ||
| ) |
Removes entity at the specified index from the entity array.
| boolean net.minecraft.world.chunk.EmptyChunk.setBlockIDWithMetadata | ( | int | par1, |
| int | par2, | ||
| int | par3, | ||
| int | par4, | ||
| int | par5 | ||
| ) |
Sets a blockID of a position within a chunk with metadata. Args: x, y, z, blockID, metadata
| boolean net.minecraft.world.chunk.EmptyChunk.setBlockMetadata | ( | int | par1, |
| int | par2, | ||
| int | par3, | ||
| int | par4 | ||
| ) |
Set the metadata of a block in the chunk
| void net.minecraft.world.chunk.EmptyChunk.setChunkBlockTileEntity | ( | int | par1, |
| int | par2, | ||
| int | par3, | ||
| TileEntity | par4TileEntity | ||
| ) |
Sets the TileEntity for a given block in this chunk
| void net.minecraft.world.chunk.EmptyChunk.setChunkModified | ( | ) |
Sets the isModified flag for this Chunk
| void net.minecraft.world.chunk.EmptyChunk.setLightValue | ( | EnumSkyBlock | par1EnumSkyBlock, |
| int | par2, | ||
| int | par3, | ||
| int | par4, | ||
| int | par5 | ||
| ) |
Sets the light value at the coordinate. If enumskyblock is set to sky it sets it in the skylightmap and if its a block then into the blocklightmap. Args enumSkyBlock, x, y, z, lightValue