类 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>
-
字段概要
字段 -
构造器概要
构造器构造器说明PlayerItemInHandLayer
(RenderLayerParent<T, M> pRenderer, ItemInHandRenderer pItemInHandRenderer) -
方法概要
修饰符和类型方法说明protected void
renderArmWithItem
(LivingEntity pLivingEntity, ItemStack pItemStack, ItemDisplayContext pDisplayContext, HumanoidArm pArm, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) private void
renderArmWithSpyglass
(LivingEntity pEntity, ItemStack pStack, HumanoidArm pArm, PoseStack pPoseStack, MultiBufferSource pBuffer, int pCombinedLight) 从类继承的方法 net.minecraft.client.renderer.entity.layers.ItemInHandLayer
render
从类继承的方法 net.minecraft.client.renderer.entity.layers.RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
字段详细资料
-
构造器详细资料
-
PlayerItemInHandLayer
public PlayerItemInHandLayer(RenderLayerParent<T, M> pRenderer, ItemInHandRenderer pItemInHandRenderer)
-
-
方法详细资料
-
renderArmWithItem
protected void renderArmWithItem(LivingEntity pLivingEntity, ItemStack pItemStack, ItemDisplayContext pDisplayContext, HumanoidArm pArm, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) - 覆盖:
renderArmWithItem
在类中ItemInHandLayer<T extends Player,
M extends EntityModel<T> & ArmedModel & HeadedModel>
-
renderArmWithSpyglass
private void renderArmWithSpyglass(LivingEntity pEntity, ItemStack pStack, HumanoidArm pArm, PoseStack pPoseStack, MultiBufferSource pBuffer, int pCombinedLight)
-