Interface HTInputHandler

  • All Implemented Interfaces:

    
    public interface HTInputHandler<STACK extends Object>
    
                        

    レシピの入力スロットを表すインターフェースです。

    Since:

    0.5.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Result<Integer> extract(Integer amount, TransactionContext transaction) 指定した数量だけ中身を消費します。
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • extract

         abstract Result<Integer> extract(Integer amount, TransactionContext transaction)

        指定した数量だけ中身を消費します。

        Returns:

        実際に消費される数量