YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.IBlockAccess Interface Reference
Inheritance diagram for net.minecraft.world.IBlockAccess:
net.minecraft.world.ChunkCache net.minecraft.world.World net.minecraft.client.multiplayer.WorldClient net.minecraft.world.WorldServer net.minecraft.world.demo.DemoWorldServer net.minecraft.world.WorldServerMulti

Public Member Functions

int getBlockId (int i, int j, int k)
 
TileEntity getBlockTileEntity (int i, int j, int k)
 
int getLightBrightnessForSkyBlocks (int i, int j, int k, int l)
 
int getBlockMetadata (int i, int j, int k)
 
float getBrightness (int i, int j, int k, int l)
 
float getLightBrightness (int i, int j, int k)
 
Material getBlockMaterial (int i, int j, int k)
 
boolean isBlockOpaqueCube (int i, int j, int k)
 
boolean isBlockNormalCube (int i, int j, int k)
 
boolean isAirBlock (int i, int j, int k)
 
BiomeGenBase getBiomeGenForCoords (int i, int j)
 
int getHeight ()
 
boolean extendedLevelsInChunkCache ()
 
boolean doesBlockHaveSolidTopSurface (int i, int j, int k)
 
Vec3Pool getWorldVec3Pool ()
 
int isBlockProvidingPowerTo (int i, int j, int k, int l)
 
boolean isBlockSolidOnSide (int x, int y, int z, ForgeDirection side, boolean _default)
 

Member Function Documentation

boolean net.minecraft.world.IBlockAccess.doesBlockHaveSolidTopSurface ( int  i,
int  j,
int  k 
)

Returns true if the block at the given coordinate has a solid (buildable) top surface.

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

boolean net.minecraft.world.IBlockAccess.extendedLevelsInChunkCache ( )

set by !chunk.getAreLevelsEmpty

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

BiomeGenBase net.minecraft.world.IBlockAccess.getBiomeGenForCoords ( int  i,
int  j 
)

Gets the biome for a given set of x/z coordinates

Implemented in net.minecraft.world.ChunkCache, and net.minecraft.world.World.

int net.minecraft.world.IBlockAccess.getBlockId ( int  i,
int  j,
int  k 
)

Returns the block ID at coords x,y,z

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

Material net.minecraft.world.IBlockAccess.getBlockMaterial ( int  i,
int  j,
int  k 
)

Returns the block's material.

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

int net.minecraft.world.IBlockAccess.getBlockMetadata ( int  i,
int  j,
int  k 
)

Returns the block metadata at coords x,y,z

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

TileEntity net.minecraft.world.IBlockAccess.getBlockTileEntity ( int  i,
int  j,
int  k 
)

Returns the TileEntity associated with a given block in X,Y,Z coordinates, or null if no TileEntity exists

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

float net.minecraft.world.IBlockAccess.getBrightness ( int  i,
int  j,
int  k,
int  l 
)
int net.minecraft.world.IBlockAccess.getHeight ( )

Returns current world height.

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

float net.minecraft.world.IBlockAccess.getLightBrightness ( int  i,
int  j,
int  k 
)

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

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

int net.minecraft.world.IBlockAccess.getLightBrightnessForSkyBlocks ( int  i,
int  j,
int  k,
int  l 
)

Any Light rendered on a 1.8 Block goes through here

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

Vec3Pool net.minecraft.world.IBlockAccess.getWorldVec3Pool ( )

Return the Vec3Pool object for this world.

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

boolean net.minecraft.world.IBlockAccess.isAirBlock ( int  i,
int  j,
int  k 
)

Returns true if the block at the specified coordinates is empty

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

boolean net.minecraft.world.IBlockAccess.isBlockNormalCube ( int  i,
int  j,
int  k 
)

Indicate if a material is a normal solid opaque cube.

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

boolean net.minecraft.world.IBlockAccess.isBlockOpaqueCube ( int  i,
int  j,
int  k 
)

Returns true if the block at the specified coordinates is an opaque cube. Args: x, y, z

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

int net.minecraft.world.IBlockAccess.isBlockProvidingPowerTo ( int  i,
int  j,
int  k,
int  l 
)

Is this block powering in the specified direction Args: x, y, z, direction

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.

boolean net.minecraft.world.IBlockAccess.isBlockSolidOnSide ( int  x,
int  y,
int  z,
ForgeDirection  side,
boolean  _default 
)

FORGE: isBlockSolidOnSide, pulled up from World

Parameters
xX coord
yY coord
zZ coord
sideSide
_defaultdefault return value
Returns
if the block is solid on the side

Implemented in net.minecraft.world.World, and net.minecraft.world.ChunkCache.


The documentation for this interface was generated from the following file: