Package org.spongepowered.api.data.type
Interface ArmorMaterial
- All Superinterfaces:
DefaultedRegistryValue
Represents a type of "armor", usually applicable to any
ItemTypes.DIAMOND_CHESTPLATE
.-
Method Summary
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
Method Details
-
repairIngredient
Optional<Ingredient> repairIngredient()Gets theItemType
that can be used to "repair" the armor type.- Returns:
- The item type considered to be used for repairing
-