Interface ArmorMaterial

All Superinterfaces:
DefaultedRegistryValue

@CatalogedBy(ArmorMaterials.class) public interface ArmorMaterial extends DefaultedRegistryValue
Represents a type of "armor", usually applicable to any ItemTypes.DIAMOND_CHESTPLATE.
  • Method Details

    • repairIngredient

      Optional<Ingredient> repairIngredient()
      Gets the ItemType that can be used to "repair" the armor type.
      Returns:
      The item type considered to be used for repairing