Class ExpandSequencedAssemblyRecipeBuilder

java.lang.Object
com.blamejared.createtweaker.natives.ExpandSequencedAssemblyRecipeBuilder

@ZenRegister public class ExpandSequencedAssemblyRecipeBuilder extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder
    addOutput(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, com.blamejared.crafttweaker.api.item.IItemStack output, float weight)
    Adds an output to the recipe.
    static <T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?>>
    com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder
    addStep(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, Class<T> clazz)
    Adds a step to the recipe.
    static <T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?>>
    com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder
    addStep(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, Class<T> clazz, Function<com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<T>,com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<T>> builder)
    Adds a step to the recipe.
    static com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder
    loops(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, int loops)
    Sets the amount of loops the recipe has.
    static com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder
    require(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, com.blamejared.crafttweaker.api.ingredient.IIngredient ingredient)
    Sets that the recipe requires the given ingredient.
    static com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder
    transitionTo(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, net.minecraft.world.item.Item item)
    Sets the transition item of the sequence.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExpandSequencedAssemblyRecipeBuilder

      public ExpandSequencedAssemblyRecipeBuilder()
  • Method Details

    • addStep

      public static <T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?>> com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder addStep(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, Class<T> clazz, Function<com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<T>,com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<T>> builder)
      Adds a step to the recipe.
      Type Parameters:
      T - The type of recipe to add a step for.
      Parameters:
      builder - The recipe builder to allow configuration of the recipe.
      Returns:
      This builder for further chaining.
    • addStep

      public static <T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?>> com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder addStep(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, Class<T> clazz)
      Adds a step to the recipe.
      Type Parameters:
      T - The type of recipe to add a step for.
      Returns:
      This builder for further chaining.
    • require

      public static com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder require(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, com.blamejared.crafttweaker.api.ingredient.IIngredient ingredient)
      Sets that the recipe requires the given ingredient.
      Parameters:
      ingredient - The ingredient to require.
      Returns:
      This builder for further chaining.
    • transitionTo

      public static com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder transitionTo(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, net.minecraft.world.item.Item item)
      Sets the transition item of the sequence.
      Parameters:
      item - The item to transition to.
      Returns:
      This builder for further chaining.
    • addOutput

      public static com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder addOutput(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, com.blamejared.crafttweaker.api.item.IItemStack output, float weight)
      Adds an output to the recipe.
      Parameters:
      output - The item output.
      weight - The weight of the output.
      Returns:
      This builder for further chaining.
    • loops

      public static com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder loops(com.simibubi.create.content.processing.sequenced.SequencedAssemblyRecipeBuilder internal, int loops)
      Sets the amount of loops the recipe has.
      Parameters:
      loops - The amount of loops the recipe has.
      Returns:
      This builder for further chaining.