Class PlayerItemInHandLayer<T extends Player,M extends EntityModel<T> & ArmedModel & HeadedModel> 
java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<T,M>
 
net.minecraft.client.renderer.entity.layers.ItemInHandLayer<T,M>
 
net.minecraft.client.renderer.entity.layers.PlayerItemInHandLayer<T,M> 
public class PlayerItemInHandLayer<T extends Player,M extends EntityModel<T> & ArmedModel & HeadedModel> 
extends ItemInHandLayer<T,M> 
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ItemInHandRendererprivate static final floatprivate static final float
- 
Constructor SummaryConstructorsConstructorDescriptionPlayerItemInHandLayer(RenderLayerParent<T, M> p_234866_, ItemInHandRenderer p_234867_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidrenderArmWithItem(LivingEntity p_270884_, ItemStack p_270379_, ItemDisplayContext p_270607_, HumanoidArm p_270324_, PoseStack p_270124_, MultiBufferSource p_270414_, int p_270295_) private voidrenderArmWithSpyglass(LivingEntity p_174518_, ItemStack p_174519_, HumanoidArm p_174520_, PoseStack p_174521_, MultiBufferSource p_174522_, int p_174523_) Methods inherited from class net.minecraft.client.renderer.entity.layers.ItemInHandLayerrenderMethods inherited from class net.minecraft.client.renderer.entity.layers.RenderLayercoloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
- 
Field Details- 
itemInHandRenderer
- 
X_ROT_MINprivate static final float X_ROT_MIN- See Also:
 
- 
X_ROT_MAXprivate static final float X_ROT_MAX- See Also:
 
 
- 
- 
Constructor Details- 
PlayerItemInHandLayer
 
- 
- 
Method Details- 
renderArmWithItemprotected void renderArmWithItem(LivingEntity p_270884_, ItemStack p_270379_, ItemDisplayContext p_270607_, HumanoidArm p_270324_, PoseStack p_270124_, MultiBufferSource p_270414_, int p_270295_) - Overrides:
- renderArmWithItemin class- ItemInHandLayer<T extends Player,- M extends EntityModel<T> & ArmedModel & HeadedModel> 
 
- 
renderArmWithSpyglassprivate void renderArmWithSpyglass(LivingEntity p_174518_, ItemStack p_174519_, HumanoidArm p_174520_, PoseStack p_174521_, MultiBufferSource p_174522_, int p_174523_) 
 
-