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