Class BlockInfo
java.lang.Object
net.minecraftforge.client.model.pipeline.BlockInfo
-
Field Summary
Modifier and TypeFieldDescriptionprivate float[][][]
private int[][][]
private float[][][][]
private BlockPos
private int
private int
private BlockColors
private boolean
private int[]
private int[][][]
private static Direction[]
private float[][][][]
private BlockState
private boolean[][][]
private BlockAndTintGetter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate float
combine(int c, int s1, int s2, int s3, boolean t0, boolean t1, boolean t2, boolean t3)
float[][][]
getAo()
float[][][][]
int
int
int
getColorMultiplier(int tint)
int[]
float
getShx()
Deprecated.float
getShy()
Deprecated.float
getShz()
Deprecated.float[][][][]
getState()
boolean[][][]
getWorld()
boolean
void
reset()
void
setBlockPos(BlockPos blockPos)
void
setState(BlockState state)
void
setWorld(BlockAndTintGetter world)
void
void
void
Deprecated.
-
Field Details
-
SIDES
-
colors
-
world
-
state
-
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 Details
-
BlockInfo
-
-
Method Details
-
getColorMultiplier
public int getColorMultiplier(int tint) -
updateShift
Deprecated. -
setWorld
-
setState
-
setBlockPos
-
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
-
getState
-
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. -
getShy
Deprecated. -
getShz
Deprecated. -
getCachedTint
public int getCachedTint() -
getCachedMultiplier
public int getCachedMultiplier()
-