类 HumanoidArmorLayer<S extends HumanoidRenderState,M extends HumanoidModel<S>,A extends HumanoidModel<S>>
java.lang.Object
net.minecraft.client.renderer.entity.layers.RenderLayer<S,M>
net.minecraft.client.renderer.entity.layers.HumanoidArmorLayer<S,M,A>
public class HumanoidArmorLayer<S extends HumanoidRenderState,M extends HumanoidModel<S>,A extends HumanoidModel<S>>
extends RenderLayer<S,M>
-
字段概要
字段修饰符和类型字段说明private final EquipmentLayerRenderer
private final A
private final A
private final A
private final A
-
构造器概要
构造器构造器说明HumanoidArmorLayer
(RenderLayerParent<S, M> p_364333_, A p_368953_, A p_369993_, A p_363840_, A p_363634_, EquipmentLayerRenderer p_361027_) HumanoidArmorLayer
(RenderLayerParent<S, M> p_267286_, A p_267110_, A p_267150_, EquipmentLayerRenderer p_369441_) -
方法概要
修饰符和类型方法说明protected A
getArmorModel
(S p_363587_, EquipmentSlot p_117079_) protected Model
getArmorModel
(S state, EquipmentSlot slot, ItemStack itemStack, A _default) Hook to allow item-sensitive armor model. for HumanoidArmorLayer.void
render
(PoseStack p_117085_, MultiBufferSource p_117086_, int p_117087_, S p_364101_, float p_117089_, float p_117090_) private void
renderArmorPiece
(PoseStack p_117119_, MultiBufferSource p_117120_, ItemStack p_366444_, EquipmentSlot p_117122_, int p_117123_, A p_117124_, S state) protected void
setPartVisibility
(A p_117126_, EquipmentSlot p_117127_) private static boolean
shouldRender
(Equippable p_369539_, EquipmentSlot p_369578_) static boolean
shouldRender
(ItemStack p_362744_, EquipmentSlot p_366990_) private boolean
usesInnerModel
(EquipmentSlot p_117129_) 从类继承的方法 net.minecraft.client.renderer.entity.layers.RenderLayer
coloredCutoutModelCopyLayerRender, getParentModel, renderColoredCutoutModel
-
字段详细资料
-
innerModel
-
outerModel
-
innerModelBaby
-
outerModelBaby
-
equipmentRenderer
-
-
构造器详细资料
-
HumanoidArmorLayer
public HumanoidArmorLayer(RenderLayerParent<S, M> p_267286_, A p_267110_, A p_267150_, EquipmentLayerRenderer p_369441_) -
HumanoidArmorLayer
public HumanoidArmorLayer(RenderLayerParent<S, M> p_364333_, A p_368953_, A p_369993_, A p_363840_, A p_363634_, EquipmentLayerRenderer p_361027_)
-
-
方法详细资料
-
shouldRender
-
shouldRender
-
render
public void render(PoseStack p_117085_, MultiBufferSource p_117086_, int p_117087_, S p_364101_, float p_117089_, float p_117090_) - 指定者:
render
在类中RenderLayer<S extends HumanoidRenderState,
M extends HumanoidModel<S>>
-
renderArmorPiece
private void renderArmorPiece(PoseStack p_117119_, MultiBufferSource p_117120_, ItemStack p_366444_, EquipmentSlot p_117122_, int p_117123_, A p_117124_, S state) -
setPartVisibility
-
getArmorModel
-
usesInnerModel
-
getArmorModel
Hook to allow item-sensitive armor model. for HumanoidArmorLayer.
-