Interface JavaRepairable
public interface JavaRepairable
The repairable component determines which other items can be used
to repair the item.
- Since:
- 2.9.3
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder for the repairable component. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull JavaRepairable.Builderbuilder()Creates a builder for the repairable component.@NonNull Holdersitems()TheHoldersof item identifiers that can be used to repair the item.static @NonNull JavaRepairableCreates a repairable component.
-
Method Details
-
items
@NonNull Holders items()TheHoldersof item identifiers that can be used to repair the item.- Returns:
- the
Holdersof item identifiers - Since:
- 2.9.3
-
builder
Creates a builder for the repairable component.- Returns:
- a new builder
- Since:
- 2.9.3
-
of
Creates a repairable component.- Parameters:
items- theHoldersof the items that can repair the item- Returns:
- the repairable component
- Since:
- 2.9.3
-