Class DefaultArmorCustomizer

java.lang.Object
net.xun.armory.impl.item.armor.DefaultArmorCustomizer

public final class DefaultArmorCustomizer extends Object
Provides the default armor customization implementation using standard ArmorItem with vanilla durability calculation.

This implementation serves as the fallback configuration for armor sets when no custom ArmorCustomizer is specified. It calculates durability according to Minecraft's standard formula: base material durability × durability factor.

Note: This class cannot be instantiated. Use INSTANCE to access the default customizer implementation.

Since:
2.0.0
See Also:
  • Field Details

    • INSTANCE

      public static ArmorCustomizer INSTANCE
      The singleton instance of the default armor customizer.

      This implementation creates standard ArmorItem instances with durability calculated as: armorType.getDurability(durabilityFactor).

      Thread Safety: This instance is thread-safe and stateless.