@Environment(value=CLIENT) public class SaddleFeatureRenderer<T extends Entity & Saddleable,M extends EntityModel<T>> extends FeatureRenderer<T,M>
Modifier and Type | Field and Description |
---|---|
private M |
model |
private Identifier |
TEXTURE |
Constructor and Description |
---|
SaddleFeatureRenderer(FeatureRendererContext<T,M> context,
M model,
Identifier texture) |
Modifier and Type | Method and Description |
---|---|
void |
render(MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light,
T entity,
float limbAngle,
float limbDistance,
float tickDelta,
float animationProgress,
float headYaw,
float headPitch) |
getContextModel, getTexture, render, renderModel
private final Identifier TEXTURE
private final M extends EntityModel<T> model
public SaddleFeatureRenderer(FeatureRendererContext<T,M> context, M model, Identifier texture)
public void render(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, T entity, float limbAngle, float limbDistance, float tickDelta, float animationProgress, float headYaw, float headPitch)
render
in class FeatureRenderer<T extends Entity & Saddleable,M extends EntityModel<T>>