Class HeldItemLayer<T extends LivingEntity,M extends EntityModel<T> & IHasArm>
- java.lang.Object
-
- net.minecraft.client.renderer.entity.layers.LayerRenderer<T,M>
-
- net.minecraft.client.renderer.entity.layers.HeldItemLayer<T,M>
-
public class HeldItemLayer<T extends LivingEntity,M extends EntityModel<T> & IHasArm> extends LayerRenderer<T,M>
-
-
Constructor Summary
Constructors Constructor Description HeldItemLayer(IEntityRenderer<T,M> p_i50934_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
render(MatrixStack p_225628_1_, IRenderTypeBuffer p_225628_2_, int p_225628_3_, T p_225628_4_, float p_225628_5_, float p_225628_6_, float p_225628_7_, float p_225628_8_, float p_225628_9_, float p_225628_10_)
private void
renderArmWithItem(LivingEntity p_229135_1_, ItemStack p_229135_2_, ItemCameraTransforms.TransformType p_229135_3_, HandSide p_229135_4_, MatrixStack p_229135_5_, IRenderTypeBuffer p_229135_6_, int p_229135_7_)
-
Methods inherited from class net.minecraft.client.renderer.entity.layers.LayerRenderer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
-
-
-
Constructor Detail
-
HeldItemLayer
public HeldItemLayer(IEntityRenderer<T,M> p_i50934_1_)
-
-
Method Detail
-
render
public void render(MatrixStack p_225628_1_, IRenderTypeBuffer p_225628_2_, int p_225628_3_, T p_225628_4_, float p_225628_5_, float p_225628_6_, float p_225628_7_, float p_225628_8_, float p_225628_9_, float p_225628_10_)
- Specified by:
render
in classLayerRenderer<T extends LivingEntity,M extends EntityModel<T> & IHasArm>
-
renderArmWithItem
private void renderArmWithItem(LivingEntity p_229135_1_, ItemStack p_229135_2_, ItemCameraTransforms.TransformType p_229135_3_, HandSide p_229135_4_, MatrixStack p_229135_5_, IRenderTypeBuffer p_229135_6_, int p_229135_7_)
-
-