Interface HTIngredient

  • All Implemented Interfaces:
    java.util.function.Predicate

    
    public interface HTIngredient<STACK extends Object>
     implements Predicate<STACK>
                        

    レシピの材料を表すインターフェースです。

    Since:

    0.10.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 Boolean test(STACK stack) 指定したstackが条件を満たしているか判定します。
      abstract Boolean testOnlyType(STACK stack) 指定したstackが数量を除いて条件を満たしているか判定します。
      abstract Integer getRequiredAmount(STACK stack)
      abstract List<STACK> getPreviewStacks()
      • Methods inherited from class java.util.function.Predicate

        and, negate, or
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait