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>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionItemInHandLayer
(RenderLayerParent<T, M> p_234846_, ItemInHandRenderer p_234847_) -
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_, ItemDisplayContext p_270970_, 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
-
Field Details
-
itemInHandRenderer
-
-
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_, ItemDisplayContext p_270970_, HumanoidArm p_117188_, PoseStack p_117189_, MultiBufferSource p_117190_, int p_117191_)
-