Class BlockInfo
- java.lang.Object
-
- net.minecraftforge.client.model.pipeline.BlockInfo
-
public class BlockInfo extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private float[][][]
ao
private int[][][]
b
private float[][][][]
blockLight
private BlockPos
blockPos
private int
cachedMultiplier
private int
cachedTint
private BlockColors
colors
private boolean
full
private int[]
packed
private int[][][]
s
private static Direction[]
SIDES
private float[][][][]
skyLight
private BlockState
state
private boolean[][][]
t
private IBlockDisplayReader
world
-
Constructor Summary
Constructors Constructor Description BlockInfo(BlockColors colors)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private float
combine(int c, int s1, int s2, int s3, boolean t0, boolean t1, boolean t2, boolean t3)
float[][][]
getAo()
float[][][][]
getBlockLight()
BlockPos
getBlockPos()
int
getCachedMultiplier()
int
getCachedTint()
int
getColorMultiplier(int tint)
int[]
getPackedLight()
float
getShx()
Deprecated.float
getShy()
Deprecated.float
getShz()
Deprecated.float[][][][]
getSkyLight()
BlockState
getState()
boolean[][][]
getTranslucent()
IBlockDisplayReader
getWorld()
boolean
isFullCube()
void
reset()
void
setBlockPos(BlockPos blockPos)
void
setState(BlockState state)
void
setWorld(IBlockDisplayReader world)
void
updateFlatLighting()
void
updateLightMatrix()
void
updateShift()
Deprecated.
-
-
-
Field Detail
-
SIDES
private static final Direction[] SIDES
-
colors
private final BlockColors colors
-
world
private IBlockDisplayReader world
-
state
private BlockState state
-
blockPos
private BlockPos blockPos
-
t
private final boolean[][][] t
-
s
private final int[][][] s
-
b
private final int[][][] b
-
skyLight
private final float[][][][] skyLight
-
blockLight
private final float[][][][] blockLight
-
ao
private final float[][][] ao
-
packed
private final int[] packed
-
full
private boolean full
-
cachedTint
private int cachedTint
-
cachedMultiplier
private int cachedMultiplier
-
-
Constructor Detail
-
BlockInfo
public BlockInfo(BlockColors colors)
-
-
Method Detail
-
getColorMultiplier
public int getColorMultiplier(int tint)
-
updateShift
@Deprecated public void updateShift()
Deprecated.
-
setWorld
public void setWorld(IBlockDisplayReader world)
-
setState
public void setState(BlockState state)
-
setBlockPos
public void setBlockPos(BlockPos blockPos)
-
reset
public void reset()
-
combine
private float combine(int c, int s1, int s2, int s3, boolean t0, boolean t1, boolean t2, boolean t3)
-
updateLightMatrix
public void updateLightMatrix()
-
updateFlatLighting
public void updateFlatLighting()
-
getWorld
public IBlockDisplayReader getWorld()
-
getState
public BlockState getState()
-
getBlockPos
public BlockPos getBlockPos()
-
getTranslucent
public boolean[][][] getTranslucent()
-
getSkyLight
public float[][][][] getSkyLight()
-
getBlockLight
public float[][][][] getBlockLight()
-
getAo
public float[][][] getAo()
-
getPackedLight
public int[] getPackedLight()
-
isFullCube
public boolean isFullCube()
-
getShx
@Deprecated public float getShx()
Deprecated.
-
getShy
@Deprecated public float getShy()
Deprecated.
-
getShz
@Deprecated public float getShz()
Deprecated.
-
getCachedTint
public int getCachedTint()
-
getCachedMultiplier
public int getCachedMultiplier()
-
-