@Environment(value=CLIENT) public class TntMinecartEntityRenderer extends MinecartEntityRenderer<TntMinecartEntity>
model
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
TntMinecartEntityRenderer(EntityRenderDispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
protected void |
renderBlock(TntMinecartEntity tntMinecartEntity,
float float2,
BlockState blockState,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
static void |
renderFlashingBlock(BlockState blockState,
MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light,
boolean drawFlash)
Renders a given block state into the given buffers either normally or with a bright white overlay.
|
getTexture, render
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, hasLabel, method_27950, renderLabelIfPresent, shouldRender
public TntMinecartEntityRenderer(EntityRenderDispatcher dispatcher)
protected void renderBlock(TntMinecartEntity tntMinecartEntity, float float2, BlockState blockState, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
renderBlock
in class MinecartEntityRenderer<TntMinecartEntity>
public static void renderFlashingBlock(BlockState blockState, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, boolean drawFlash)
drawFlash
- whether a white semi-transparent overlay is added to the block to indicate the flash