Interface HTMultiOutputRecipe

  • All Implemented Interfaces:
    hiiragi283.core.api.recipe.HTRecipe , hiiragi283.core.api.recipe.base.HTProcessingRecipe , java.util.function.Predicate

    
    public interface HTMultiOutputRecipe<INPUT extends RecipeInput>
     implements HTProcessingRecipe<INPUT>
                        

    複数の完成品をもつHTProcessingRecipeの拡張インターフェースです。

    Since:

    0.15.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
      abstract List<ItemStack> assembleItems(INPUT input, Boolean preview) 指定された引数から完成品を作成します。
      ItemStack assemble(INPUT input, Boolean preview) 指定されたinputから完成品を作成します。
      abstract Integer getTime()
      • Methods inherited from class hiiragi283.core.api.recipe.HTRecipe

        test
      • 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

      • assembleItems

         abstract List<ItemStack> assembleItems(INPUT input, Boolean preview)

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

        Parameters:
        input - レシピの入力
      • assemble

        @Deprecated(message = "Use 'assembleItems(INPUT, Boolean)' instead") ItemStack assemble(INPUT input, Boolean preview)

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