@Environment(value=CLIENT) public class StuckArrowsFeatureRenderer<T extends LivingEntity,M extends PlayerEntityModel<T>> extends StuckObjectsFeatureRenderer<T,M>
Modifier and Type | Field and Description |
---|---|
private ArrowEntity |
arrow |
private EntityRenderDispatcher |
dispatcher |
Constructor and Description |
---|
StuckArrowsFeatureRenderer(LivingEntityRenderer<T,M> entityRenderer) |
Modifier and Type | Method and Description |
---|---|
protected int |
getObjectCount(T entity) |
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 final EntityRenderDispatcher dispatcher
private ArrowEntity arrow
public StuckArrowsFeatureRenderer(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>>