Package net.xun.armory.impl.item.armor
Class DefaultArmorCustomizer
java.lang.Object
net.xun.armory.impl.item.armor.DefaultArmorCustomizer
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 Summary
FieldsModifier and TypeFieldDescriptionstatic ArmorCustomizerThe singleton instance of the default armor customizer. -
Method Summary
-
Field Details
-
INSTANCE
The singleton instance of the default armor customizer.This implementation creates standard
ArmorIteminstances with durability calculated as:armorType.getDurability(durabilityFactor).Thread Safety: This instance is thread-safe and stateless.
-