类 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>
- 直接已知子类:
PlayerItemInHandLayer
public class ItemInHandLayer<T extends LivingEntity,M extends EntityModel<T> & ArmedModel>
extends RenderLayer<T,M>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
render
(PoseStack pMatrixStack, MultiBufferSource pBuffer, int pPackedLight, T pLivingEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTicks, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) protected void
renderArmWithItem
(LivingEntity pLivingEntity, ItemStack pItemStack, ItemDisplayContext pDisplayContext, HumanoidArm pArm, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight) 从类继承的方法 net.minecraft.client.renderer.entity.layers.RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, getTextureLocation, renderColoredCutoutModel
-
字段详细资料
-
itemInHandRenderer
-
-
构造器详细资料
-
ItemInHandLayer
-
-
方法详细资料
-
render
public void render(PoseStack pMatrixStack, MultiBufferSource pBuffer, int pPackedLight, T pLivingEntity, float pLimbSwing, float pLimbSwingAmount, float pPartialTicks, float pAgeInTicks, float pNetHeadYaw, float pHeadPitch) - 指定者:
render
在类中RenderLayer<T extends LivingEntity,
M extends EntityModel<T> & ArmedModel>
-
renderArmWithItem
protected void renderArmWithItem(LivingEntity pLivingEntity, ItemStack pItemStack, ItemDisplayContext pDisplayContext, HumanoidArm pArm, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight)
-