@Environment(value=CLIENT) public class HeldItemFeatureRenderer<T extends LivingEntity,M extends EntityModel<T> & ModelWithArms> extends FeatureRenderer<T,M>
Constructor and Description |
---|
HeldItemFeatureRenderer(FeatureRendererContext<T,M> context) |
Modifier and Type | Method and Description |
---|---|
void |
render(MatrixStack matrixStack,
VertexConsumerProvider vertexConsumerProvider,
int int2,
T t,
float float2,
float float3,
float float4,
float float5,
float float6,
float float7) |
private void |
renderItem(LivingEntity entity,
ItemStack stack,
ModelTransformation.Mode transformationMode,
Arm arm,
MatrixStack matrices,
VertexConsumerProvider vertexConsumers,
int light) |
getContextModel, getTexture, render, renderModel
public HeldItemFeatureRenderer(FeatureRendererContext<T,M> context)
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 EntityModel<T> & ModelWithArms>
private void renderItem(LivingEntity entity, ItemStack stack, ModelTransformation.Mode transformationMode, Arm arm, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)