Interface ArmorCustomizer


public interface ArmorCustomizer
Factory interface for creating custom armor items with specialized initialization logic.

Implementations of this interface provide fine-grained control over armor item creation, allowing for custom armor classes, modified durability calculations, or additional properties beyond the standard ArmorItem behavior. The DEFAULT implementation delegates to the piece's own factory via ArmorPieceType.createItem(ArmorContext, Item.Properties).

Since:
1.0.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ArmorCustomizer
    The default customizer that simply uses the piece's own factory.
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.world.item.Item
    create(ArmorPieceType piece, ArmorContext context, net.minecraft.world.item.Item.Properties properties)
    Creates a fully configured armor item instance for the given piece.