Class BismuthArmor

java.lang.Object
net.minecraft.world.item.Item
All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.item.Equipable, net.minecraft.world.item.Vanishable, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem

public class BismuthArmor extends ModPowerArmorItem
Bismuth Power Armor (ported from 1.7.10 ArmorBismuth/ArmorFSB). Original gameplay highlights: - Full set potion buffs: Jump VII, Speed VII, Regeneration II, Night Vision - 3 dashes - Full set resist profile: - Physical: DT=2 / DR=15% - Fire: DT=5 / DR=50% - Explosion:DT=5 / DR=25% - Fall: DT=0 / DR=100% - Other: DT=2 / DR=25% In 1.20.1 this is integrated into the existing power armor pipeline (energy, OBJ rendering, DT+DR handler).
  • Field Details

  • Constructor Details

    • BismuthArmor

      public BismuthArmor(net.minecraft.world.item.ArmorMaterial material, net.minecraft.world.item.ArmorItem.Type type, net.minecraft.world.item.Item.Properties properties)
  • Method Details

    • getArmorTexture

      public String getArmorTexture(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.EquipmentSlot slot, String type)
      У висмутовой брони одна общая текстура (`bismuth.png`), без разбиения на `*_helmet/chest/leg`. Иначе ванильный armor renderer пытается грузить несуществующие файлы и спамит WARN в лог. (Forge/NeoForge: IForgeItem#getArmorTexture; на Fabric рендер через свои хуки.)
      Specified by:
      getArmorTexture in interface net.minecraftforge.common.extensions.IForgeItem
      Overrides:
      getArmorTexture in class ModPowerArmorItem