public class VertexLighterFlat extends QuadGatheringTransformer
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected VertexFormat |
baseFormat |
protected BlockInfo |
blockInfo |
protected int |
colorIndex |
protected int |
lightmapIndex |
protected static VertexFormatElement |
NORMAL_4F |
protected int |
normalIndex |
protected int |
posIndex |
dataLength, format, parent, quadData, vertices| コンストラクタと説明 |
|---|
VertexLighterFlat(BlockColors colors) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
processQuad() |
void |
resetBlockInfo() |
void |
setApplyDiffuseLighting(boolean diffuse) |
void |
setBlockPos(BlockPos blockPos) |
void |
setParent(IVertexConsumer parent) |
void |
setQuadCulled() |
void |
setQuadOrientation(Direction orientation) |
void |
setQuadTint(int tint) |
void |
setState(BlockState state) |
void |
setTexture(TextureAtlasSprite texture) |
void |
setVertexFormat(VertexFormat format) |
void |
setWorld(ILightReader world) |
void |
updateBlockInfo() |
protected void |
updateColor(float[] normal,
float[] color,
float x,
float y,
float z,
float tint,
int multiplier) |
protected void |
updateLightmap(float[] normal,
float[] lightmap,
float x,
float y,
float z) |
getVertexFormat, putprotected static final VertexFormatElement NORMAL_4F
protected final BlockInfo blockInfo
protected int posIndex
protected int normalIndex
protected int colorIndex
protected int lightmapIndex
protected VertexFormat baseFormat
public VertexLighterFlat(BlockColors colors)
public void setParent(IVertexConsumer parent)
setParent クラス内 QuadGatheringTransformerpublic void setVertexFormat(VertexFormat format)
setVertexFormat クラス内 QuadGatheringTransformerprotected void processQuad()
processQuad クラス内 QuadGatheringTransformerprotected void updateLightmap(float[] normal,
float[] lightmap,
float x,
float y,
float z)
protected void updateColor(float[] normal,
float[] color,
float x,
float y,
float z,
float tint,
int multiplier)
public void setQuadTint(int tint)
public void setQuadOrientation(Direction orientation)
public void setQuadCulled()
public void setTexture(TextureAtlasSprite texture)
public void setApplyDiffuseLighting(boolean diffuse)
public void setWorld(ILightReader world)
public void setState(BlockState state)
public void setBlockPos(BlockPos blockPos)
public void resetBlockInfo()
public void updateBlockInfo()