Class ItemInHandLayer<T extends LivingEntity,M extends EntityModel<T> & ArmedModel>
java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<T,M>
net.minecraft.client.renderer.entity.layers.ItemInHandLayer<T,M>
- Direct Known Subclasses:
PlayerItemInHandLayer
public class ItemInHandLayer<T extends LivingEntity,M extends EntityModel<T> & ArmedModel>
extends RenderLayer<T,M>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
render(PoseStack p_117204_, MultiBufferSource p_117205_, int p_117206_, T p_117207_, float p_117208_, float p_117209_, float p_117210_, float p_117211_, float p_117212_, float p_117213_)
protected void
renderArmWithItem(LivingEntity p_117185_, ItemStack p_117186_, ItemTransforms.TransformType p_117187_, HumanoidArm p_117188_, PoseStack p_117189_, MultiBufferSource p_117190_, int p_117191_)
Methods inherited from class net.minecraft.client.renderer.entity.layers.RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
Constructor Details
-
ItemInHandLayer
-
-
Method Details
-
render
public void render(PoseStack p_117204_, MultiBufferSource p_117205_, int p_117206_, T p_117207_, float p_117208_, float p_117209_, float p_117210_, float p_117211_, float p_117212_, float p_117213_)- Specified by:
render
in classRenderLayer<T extends LivingEntity,M extends EntityModel<T> & ArmedModel>
-
renderArmWithItem
protected void renderArmWithItem(LivingEntity p_117185_, ItemStack p_117186_, ItemTransforms.TransformType p_117187_, HumanoidArm p_117188_, PoseStack p_117189_, MultiBufferSource p_117190_, int p_117191_)
-