Package org.spongepowered.api.data.type
Interface ArmorMaterial
-
- All Superinterfaces:
DefaultedRegistryValue
@CatalogedBy(ArmorMaterials.class) public interface ArmorMaterial extends DefaultedRegistryValue
Represents a type of "armor", usually applicable to anyItemTypes.DIAMOND_CHESTPLATE
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Ingredient>
repairIngredient()
Gets theItemType
that can be used to "repair" the armor type.-
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
-
-
-
Method Detail
-
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
-
-