File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/main/java/org/spongepowered/api/data/type Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 2626
2727import org .spongepowered .api .item .ItemType ;
2828import org .spongepowered .api .item .ItemTypes ;
29- import org .spongepowered .api .item .recipe . crafting . Ingredient ;
29+ import org .spongepowered .api .item .inventory . ItemStack ;
3030import org .spongepowered .api .registry .DefaultedRegistryValue ;
3131import org .spongepowered .api .util .annotation .CatalogedBy ;
3232
33- import java .util .Optional ;
33+ import java .util .function . Predicate ;
3434
3535/**
3636 * Represents a type of "armor", usually applicable to any
4040public interface ArmorMaterial extends DefaultedRegistryValue {
4141
4242 /**
43- * Gets the {@link ItemType} that can be used to
44- * "repair" the armor type.
43+ * Gets the {@link ItemType} that can be used to "repair" the armor type.
4544 *
4645 * @return The item type considered to be used for repairing
4746 */
48- Optional < Ingredient > repairIngredient ();
47+ Predicate < ItemStack > repairIngredient ();
4948
5049}
You can’t perform that action at this time.
0 commit comments