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 Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builder for the repairable component.
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NonNull JavaRepairable.Builder
    Creates a builder for the repairable component.
    @NonNull Holders
    The Holders of item identifiers that can be used to repair the item.
    static @NonNull JavaRepairable
    of(@NonNull Holders items)
    Creates a repairable component.
  • Method Details

    • items

      @NonNull Holders items()
      The Holders of item identifiers that can be used to repair the item.
      Returns:
      the Holders of item identifiers
      Since:
      2.9.3
    • builder

      static @NonNull JavaRepairable.Builder builder()
      Creates a builder for the repairable component.
      Returns:
      a new builder
      Since:
      2.9.3
    • of

      static @NonNull JavaRepairable of(@NonNull Holders items)
      Creates a repairable component.
      Parameters:
      items - the Holders of the items that can repair the item
      Returns:
      the repairable component
      Since:
      2.9.3