public abstract class ArmorLayer<T extends LivingEntity,M extends BipedModel<T>,A extends BipedModel<T>> extends LayerRenderer<T,M>
| 修飾子とタイプ | フィールドと説明 | 
|---|---|
| protected A | modelArmor | 
| protected A | modelLeggings | 
| 修飾子 | コンストラクタと説明 | 
|---|---|
| protected  | ArmorLayer(IEntityRenderer<T,M> entityRendererIn,
          A modelLeggingsIn,
          A modelArmorIn) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| protected A | getArmorModelHook(T entity,
                 ItemStack itemStack,
                 EquipmentSlotType slot,
                 A model)Hook to allow item-sensitive armor model. for LayerBipedArmor. | 
| ResourceLocation | getArmorResource(Entity entity,
                ItemStack stack,
                EquipmentSlotType slot,
                java.lang.String type)More generic ForgeHook version of the above function, it allows for Items to have more control over what texture they provide. | 
| A | getModelFromSlot(EquipmentSlotType slotIn) | 
| void | render(com.mojang.blaze3d.matrix.MatrixStack matrixStackIn,
      IRenderTypeBuffer bufferIn,
      int packedLightIn,
      T entitylivingbaseIn,
      float limbSwing,
      float limbSwingAmount,
      float partialTicks,
      float ageInTicks,
      float netHeadYaw,
      float headPitch) | 
| protected abstract void | setModelSlotVisible(A modelIn,
                   EquipmentSlotType slotIn) | 
| protected abstract void | setModelVisible(A model) | 
getEntityModel, getEntityTexture, renderCopyCutoutModel, renderCutoutModelprotected final A extends BipedModel<T> modelLeggings
protected final A extends BipedModel<T> modelArmor
protected ArmorLayer(IEntityRenderer<T,M> entityRendererIn, A modelLeggingsIn, A modelArmorIn)
public void render(com.mojang.blaze3d.matrix.MatrixStack matrixStackIn,
                   IRenderTypeBuffer bufferIn,
                   int packedLightIn,
                   T entitylivingbaseIn,
                   float limbSwing,
                   float limbSwingAmount,
                   float partialTicks,
                   float ageInTicks,
                   float netHeadYaw,
                   float headPitch)
render クラス内 LayerRenderer<T extends LivingEntity,M extends BipedModel<T>>public A getModelFromSlot(EquipmentSlotType slotIn)
protected abstract void setModelSlotVisible(A modelIn, EquipmentSlotType slotIn)
protected abstract void setModelVisible(A model)
protected A getArmorModelHook(T entity, ItemStack itemStack, EquipmentSlotType slot, A model)
public ResourceLocation getArmorResource(Entity entity, ItemStack stack, EquipmentSlotType slot, @Nullable java.lang.String type)
entity - Entity wearing the armorstack - ItemStack for the armorslot - Slot ID that the item is intype - Subtype, can be null or "overlay"