Interface HTIngredient

  • All Implemented Interfaces:
    hiiragi283.core.api.text.HTHasText , java.util.function.BiPredicate

    
    public interface HTIngredient<RESOURCE extends HTResourceType>
     implements BiPredicate<RESOURCE, Int>, HTHasText
                        

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

    Since:

    0.10.0

    Author:

    Hiiragi Tsubasa

    • 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
      Boolean test(RESOURCE resource, Integer amount) 指定したresourceamountが条件を満たしているか判定します。
      abstract Boolean testOnlyType(RESOURCE resource) 指定したresourceが条件を満たしているか判定します。
      abstract Integer getAmount()
      Boolean isCatalyst()
      • Methods inherited from class java.util.function.BiPredicate

        and, negate, or
      • Methods inherited from class hiiragi283.core.api.text.HTHasText

        getText
      • Methods inherited from class java.lang.Object

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