Interface TransferHandler<T>

Type Parameters:
T - The type of handled objects.

public interface TransferHandler<T>
Handler for transfer supplying.
Since:
5.1.19
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Host that enables transfers from registered suppliers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Register suppliers responsible for providing commodities.
  • Method Details

    • registerSuppliers

      void registerSuppliers(@NotNull @NotNull TransferHandler.SupplierHost<T> host)
      Register suppliers responsible for providing commodities.
      Parameters:
      host - The host to register at.
      Since:
      5.1.19