public class BlockInfo
extends java.lang.Object
Constructor and Description |
---|
BlockInfo(BlockColors colors) |
Modifier and Type | Method and Description |
---|---|
float[][][] |
getAo() |
float[][][][] |
getBlockLight() |
BlockPos |
getBlockPos() |
int |
getCachedMultiplier() |
int |
getCachedTint() |
int |
getColorMultiplier(int tint) |
int[] |
getPackedLight() |
float |
getShx() |
float |
getShy() |
float |
getShz() |
float[][][][] |
getSkyLight() |
IBlockState |
getState() |
boolean[][][] |
getTranslucent() |
IWorldReader |
getWorld() |
boolean |
isFullCube() |
void |
reset() |
void |
setBlockPos(BlockPos blockPos) |
void |
setState(IBlockState state) |
void |
setWorld(IWorldReader world) |
void |
updateFlatLighting() |
void |
updateLightMatrix() |
void |
updateShift() |
public BlockInfo(BlockColors colors)
public int getColorMultiplier(int tint)
public void updateShift()
public void setWorld(IWorldReader world)
public void setState(IBlockState state)
public void setBlockPos(BlockPos blockPos)
public void reset()
public void updateLightMatrix()
public void updateFlatLighting()
public IWorldReader getWorld()
public IBlockState getState()
public BlockPos getBlockPos()
public boolean[][][] getTranslucent()
public float[][][][] getSkyLight()
public float[][][][] getBlockLight()
public float[][][] getAo()
public int[] getPackedLight()
public boolean isFullCube()
public float getShx()
public float getShy()
public float getShz()
public int getCachedTint()
public int getCachedMultiplier()