YATS/Forge Documentation
|
Public Member Functions | |
ChunkCache (World par1World, int par2, int par3, int par4, int par5, int par6, int par7, int par8) | |
boolean | extendedLevelsInChunkCache () |
int | getBlockId (int par1, int par2, int par3) |
TileEntity | getBlockTileEntity (int par1, int par2, int par3) |
float | getBrightness (int par1, int par2, int par3, int par4) |
int | getLightBrightnessForSkyBlocks (int par1, int par2, int par3, int par4) |
int | getBlockMetadata (int par1, int par2, int par3) |
float | getLightBrightness (int par1, int par2, int par3) |
int | getLightValue (int par1, int par2, int par3) |
int | getLightValueExt (int par1, int par2, int par3, boolean par4) |
Material | getBlockMaterial (int par1, int par2, int par3) |
BiomeGenBase | getBiomeGenForCoords (int par1, int par2) |
boolean | isBlockOpaqueCube (int par1, int par2, int par3) |
boolean | isBlockNormalCube (int par1, int par2, int par3) |
boolean | doesBlockHaveSolidTopSurface (int par1, int par2, int par3) |
Vec3Pool | getWorldVec3Pool () |
boolean | isAirBlock (int par1, int par2, int par3) |
int | getSkyBlockTypeBrightness (EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4) |
int | getSpecialBlockBrightness (EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4) |
int | getHeight () |
int | isBlockProvidingPowerTo (int par1, int par2, int par3, int par4) |
boolean | isBlockSolidOnSide (int x, int y, int z, ForgeDirection side, boolean _default) |
net.minecraft.world.ChunkCache.ChunkCache | ( | World | par1World, |
int | par2, | ||
int | par3, | ||
int | par4, | ||
int | par5, | ||
int | par6, | ||
int | par7, | ||
int | par8 | ||
) |
boolean net.minecraft.world.ChunkCache.doesBlockHaveSolidTopSurface | ( | int | par1, |
int | par2, | ||
int | par3 | ||
) |
Returns true if the block at the given coordinate has a solid (buildable) top surface.
Implements net.minecraft.world.IBlockAccess.
boolean net.minecraft.world.ChunkCache.extendedLevelsInChunkCache | ( | ) |
set by !chunk.getAreLevelsEmpty
Implements net.minecraft.world.IBlockAccess.
BiomeGenBase net.minecraft.world.ChunkCache.getBiomeGenForCoords | ( | int | par1, |
int | par2 | ||
) |
Gets the biome for a given set of x/z coordinates
Implements net.minecraft.world.IBlockAccess.
int net.minecraft.world.ChunkCache.getBlockId | ( | int | par1, |
int | par2, | ||
int | par3 | ||
) |
Returns the block ID at coords x,y,z
Implements net.minecraft.world.IBlockAccess.
Material net.minecraft.world.ChunkCache.getBlockMaterial | ( | int | par1, |
int | par2, | ||
int | par3 | ||
) |
Returns the block's material.
Implements net.minecraft.world.IBlockAccess.
int net.minecraft.world.ChunkCache.getBlockMetadata | ( | int | par1, |
int | par2, | ||
int | par3 | ||
) |
Returns the block metadata at coords x,y,z
Implements net.minecraft.world.IBlockAccess.
TileEntity net.minecraft.world.ChunkCache.getBlockTileEntity | ( | int | par1, |
int | par2, | ||
int | par3 | ||
) |
Returns the TileEntity associated with a given block in X,Y,Z coordinates, or null if no TileEntity exists
Implements net.minecraft.world.IBlockAccess.
float net.minecraft.world.ChunkCache.getBrightness | ( | int | par1, |
int | par2, | ||
int | par3, | ||
int | par4 | ||
) |
Implements net.minecraft.world.IBlockAccess.
int net.minecraft.world.ChunkCache.getHeight | ( | ) |
Returns current world height.
Implements net.minecraft.world.IBlockAccess.
float net.minecraft.world.ChunkCache.getLightBrightness | ( | int | par1, |
int | par2, | ||
int | par3 | ||
) |
Returns how bright the block is shown as which is the block's light value looked up in a lookup table (light values aren't linear for brightness). Args: x, y, z
Implements net.minecraft.world.IBlockAccess.
int net.minecraft.world.ChunkCache.getLightBrightnessForSkyBlocks | ( | int | par1, |
int | par2, | ||
int | par3, | ||
int | par4 | ||
) |
Any Light rendered on a 1.8 Block goes through here
Implements net.minecraft.world.IBlockAccess.
int net.minecraft.world.ChunkCache.getLightValue | ( | int | par1, |
int | par2, | ||
int | par3 | ||
) |
Gets the light value of the specified block coords. Args: x, y, z
int net.minecraft.world.ChunkCache.getLightValueExt | ( | int | par1, |
int | par2, | ||
int | par3, | ||
boolean | par4 | ||
) |
Get light value with flag
int net.minecraft.world.ChunkCache.getSkyBlockTypeBrightness | ( | EnumSkyBlock | par1EnumSkyBlock, |
int | par2, | ||
int | par3, | ||
int | par4 | ||
) |
Brightness for SkyBlock.Sky is clear white and (through color computing it is assumed) DEPENDENT ON DAYTIME. Brightness for SkyBlock.Block is yellowish and independent.
int net.minecraft.world.ChunkCache.getSpecialBlockBrightness | ( | EnumSkyBlock | par1EnumSkyBlock, |
int | par2, | ||
int | par3, | ||
int | par4 | ||
) |
is only used on stairs and tilled fields
Vec3Pool net.minecraft.world.ChunkCache.getWorldVec3Pool | ( | ) |
Return the Vec3Pool object for this world.
Implements net.minecraft.world.IBlockAccess.
boolean net.minecraft.world.ChunkCache.isAirBlock | ( | int | par1, |
int | par2, | ||
int | par3 | ||
) |
Returns true if the block at the specified coordinates is empty
Implements net.minecraft.world.IBlockAccess.
boolean net.minecraft.world.ChunkCache.isBlockNormalCube | ( | int | par1, |
int | par2, | ||
int | par3 | ||
) |
Indicate if a material is a normal solid opaque cube.
Implements net.minecraft.world.IBlockAccess.
boolean net.minecraft.world.ChunkCache.isBlockOpaqueCube | ( | int | par1, |
int | par2, | ||
int | par3 | ||
) |
Returns true if the block at the specified coordinates is an opaque cube. Args: x, y, z
Implements net.minecraft.world.IBlockAccess.
int net.minecraft.world.ChunkCache.isBlockProvidingPowerTo | ( | int | par1, |
int | par2, | ||
int | par3, | ||
int | par4 | ||
) |
Is this block powering in the specified direction Args: x, y, z, direction
Implements net.minecraft.world.IBlockAccess.
boolean net.minecraft.world.ChunkCache.isBlockSolidOnSide | ( | int | x, |
int | y, | ||
int | z, | ||
ForgeDirection | side, | ||
boolean | _default | ||
) |
FORGE: isBlockSolidOnSide, pulled up from World
x | X coord |
y | Y coord |
z | Z coord |
side | Side |
_default | default return value |
Implements net.minecraft.world.IBlockAccess.