Interface LayeredArmorItem

All Superinterfaces:
CustomRenderedArmorItem
All Known Implementing Classes:
BacktankItem.Layered

public interface LayeredArmorItem extends CustomRenderedArmorItem
  • Method Summary

    Modifier and Type
    Method
    Description
    getArmorTextureLocation(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.EquipmentSlot slot, net.minecraft.world.item.ItemStack stack, int layer)
     
    default void
    renderArmorPiece(net.minecraft.client.renderer.entity.layers.HumanoidArmorLayer<?,?,?> layer, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.EquipmentSlot slot, int light, net.minecraft.client.model.HumanoidModel<?> originalModel, net.minecraft.world.item.ItemStack stack)
     
  • Method Details

    • renderArmorPiece

      default void renderArmorPiece(net.minecraft.client.renderer.entity.layers.HumanoidArmorLayer<?,?,?> layer, com.mojang.blaze3d.vertex.PoseStack poseStack, net.minecraft.client.renderer.MultiBufferSource bufferSource, net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.EquipmentSlot slot, int light, net.minecraft.client.model.HumanoidModel<?> originalModel, net.minecraft.world.item.ItemStack stack)
      Specified by:
      renderArmorPiece in interface CustomRenderedArmorItem
    • getArmorTextureLocation

      String getArmorTextureLocation(net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.entity.EquipmentSlot slot, net.minecraft.world.item.ItemStack stack, int layer)