Class HTItemIngredient

  • All Implemented Interfaces:
    hiiragi283.core.api.recipe.ingredient.HTIngredient , java.util.function.Predicate

    
    public final class HTItemIngredient
     implements HTIngredient<ItemStack>
                        

    ItemStack向けにHTIngredientを実装したクラスです。

    Since:

    0.10.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Ingredient getUnsized()
      final Integer getCount()
      Boolean test(ItemStack stack) 指定したstackが条件を満たしているか判定します。
      Boolean testOnlyType(ItemStack stack) 指定したstackが数量を除いて条件を満たしているか判定します。
      Integer getRequiredAmount(ItemStack stack)
      List<ItemStack> 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