@Environment(value=CLIENT) public abstract class StuckObjectsFeatureRenderer<T extends LivingEntity,M extends PlayerEntityModel<T>> extends FeatureRenderer<T,M>
Constructor and Description |
---|
StuckObjectsFeatureRenderer(LivingEntityRenderer<T,M> entityRenderer) |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
getObjectCount(T entity) |
void |
render(MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2,
T t,
float float2,
float float3,
float float4,
float float5,
float float6,
float float7) |
protected abstract void |
renderObject(MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light,
Entity entity,
float directionX,
float directionY,
float directionZ,
float tickDelta) |
getContextModel, getTexture, render, renderModel
public StuckObjectsFeatureRenderer(LivingEntityRenderer<T,M> entityRenderer)
protected abstract int getObjectCount(T entity)
protected abstract void renderObject(MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, Entity entity, float directionX, float directionY, float directionZ, float tickDelta)
public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7)
render
in class FeatureRenderer<T extends LivingEntity,M extends PlayerEntityModel<T>>