Interface HTRecipe

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

    
    public interface HTRecipe<INPUT extends RecipeInput>
     implements Predicate<INPUT>
                        

    最低限の機能だけを切り取ったレシピを表すインターフェースです。

    Since:

    0.12.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(INPUT input) 指定されたinputが,このレシピの条件を満たすか判定します。
      abstract ItemStack assemble(INPUT input, Boolean preview) 指定されたinputから完成品を作成します。
      • 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
    • Constructor Detail

    • Method Detail

      • test

         abstract Boolean test(INPUT input)

        指定されたinputが,このレシピの条件を満たすか判定します。

      • assemble

         abstract ItemStack assemble(INPUT input, Boolean preview)

        指定されたinputから完成品を作成します。