public class LayerHeldItem extends java.lang.Object implements LayerRenderer<EntityLivingBase>
Modifier and Type | Field and Description |
---|---|
protected RenderLivingBase<?> |
livingEntityRenderer |
Constructor and Description |
---|
LayerHeldItem(RenderLivingBase<?> livingEntityRendererIn) |
Modifier and Type | Method and Description |
---|---|
void |
doRenderLayer(EntityLivingBase entitylivingbaseIn,
float limbSwing,
float limbSwingAmount,
float partialTicks,
float ageInTicks,
float netHeadYaw,
float headPitch,
float scale) |
private void |
renderHeldItem(EntityLivingBase p_188358_1_,
ItemStack p_188358_2_,
ItemCameraTransforms.TransformType p_188358_3_,
EnumHandSide handSide) |
boolean |
shouldCombineTextures() |
protected void |
translateToHand(EnumHandSide p_191361_1_) |
protected final RenderLivingBase<?> livingEntityRenderer
public LayerHeldItem(RenderLivingBase<?> livingEntityRendererIn)
public void doRenderLayer(EntityLivingBase entitylivingbaseIn, float limbSwing, float limbSwingAmount, float partialTicks, float ageInTicks, float netHeadYaw, float headPitch, float scale)
doRenderLayer
in interface LayerRenderer<EntityLivingBase>
private void renderHeldItem(EntityLivingBase p_188358_1_, ItemStack p_188358_2_, ItemCameraTransforms.TransformType p_188358_3_, EnumHandSide handSide)
protected void translateToHand(EnumHandSide p_191361_1_)
public boolean shouldCombineTextures()
shouldCombineTextures
in interface LayerRenderer<EntityLivingBase>