@Environment(value=CLIENT) public class FireworkEntityRenderer extends EntityRenderer<FireworkRocketEntity>
Modifier and Type | Field and Description |
---|---|
private ItemRenderer |
itemRenderer |
dispatcher, shadowOpacity, shadowRadius
Constructor and Description |
---|
FireworkEntityRenderer(EntityRenderDispatcher dispatcher,
ItemRenderer itemRenderer) |
Modifier and Type | Method and Description |
---|---|
Identifier |
getTexture(FireworkRocketEntity fireworkRocketEntity) |
void |
render(FireworkRocketEntity fireworkRocketEntity,
float float2,
float float3,
MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2) |
getBlockLight, getFontRenderer, getLight, getPositionOffset, getRenderManager, hasLabel, method_27950, renderLabelIfPresent, shouldRender
private final ItemRenderer itemRenderer
public FireworkEntityRenderer(EntityRenderDispatcher dispatcher, ItemRenderer itemRenderer)
public void render(FireworkRocketEntity fireworkRocketEntity, float float2, float float3, MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2)
render
in class EntityRenderer<FireworkRocketEntity>
public Identifier getTexture(FireworkRocketEntity fireworkRocketEntity)
getTexture
in class EntityRenderer<FireworkRocketEntity>