@Environment(value=CLIENT) public class StuckStingersFeatureRenderer<T extends LivingEntity,M extends PlayerEntityModel<T>> extends StuckObjectsFeatureRenderer<T,M>
Modifier and Type | Field and Description |
---|---|
private static Identifier |
TEXTURE |
Constructor and Description |
---|
StuckStingersFeatureRenderer(LivingEntityRenderer<T,M> entityRenderer) |
Modifier and Type | Method and Description |
---|---|
protected int |
getObjectCount(T entity) |
private static void |
produceVertex(VertexConsumer vertexConsumer,
Matrix4f vertexTransform,
Matrix3f normalTransform,
float x,
int y,
float u,
float v,
int light) |
protected void |
renderObject(MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light,
Entity entity,
float directionX,
float directionY,
float directionZ,
float tickDelta) |
render
getContextModel, getTexture, render, renderModel
private static final Identifier TEXTURE
public StuckStingersFeatureRenderer(LivingEntityRenderer<T,M> entityRenderer)
protected int getObjectCount(T entity)
getObjectCount
in class StuckObjectsFeatureRenderer<T extends LivingEntity,M extends PlayerEntityModel<T>>
protected void renderObject(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Entity entity, float directionX, float directionY, float directionZ, float tickDelta)
renderObject
in class StuckObjectsFeatureRenderer<T extends LivingEntity,M extends PlayerEntityModel<T>>
private static void produceVertex(VertexConsumer vertexConsumer, Matrix4f vertexTransform, Matrix3f normalTransform, float x, int y, float u, float v, int light)