Class ExpandProcessingRecipeBuilder

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

@ZenRegister public class ExpandProcessingRecipeBuilder extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    averageProcessingDuration(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal)
    Sets the duration of the recipe to the average processing duration, which is 100 ticks.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    duration(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, int ticks)
    Sets the duration of the recipe in ticks.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    output(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.fluid.IFluidStack fluidStack)
    Sets the recipe to output the given IFluidStack.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    output(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack> item)
    Sets the recipe to output the given Percentaged item.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    require(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.fluid.CTFluidIngredient ingredient)
    Sets the recipe to require the given fluid ingredient.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    require(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.ingredient.IIngredient ingredient)
    Sets the recipe to require the given item ingredient.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    requiresHeat(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.simibubi.create.content.processing.recipe.HeatCondition condition)
    Sets the recipe to require the specific HeatCondition.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    toolNotConsumed(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal)
    Sets the recipe to keep the tool.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    withFluidIngredients(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.fluid.CTFluidIngredient... ingredients)
    Sets the fluid ingredients of the recipe.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    withFluidOutputs(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.fluid.IFluidStack... outputs)
    Sets the fluid outputs of the recipe.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    withItemIngredients(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.ingredient.IIngredient... ingredients)
    Sets the item ingredients of the recipe.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    withItemOutputs(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack>... outputs)
    Sets the item outputs of the recipe.
    static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>>
    withSingleItemOutput(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.item.IItemStack output)
    Sets the single item output of the recipe.

    Methods inherited from class java.lang.Object

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

    • ExpandProcessingRecipeBuilder

      public ExpandProcessingRecipeBuilder()
  • Method Details

    • withItemIngredients

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> withItemIngredients(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.ingredient.IIngredient... ingredients)
      Sets the item ingredients of the recipe.
      Parameters:
      ingredients - The item ingredients of the recipe.
      Returns:
      This builder for further chaining.
    • withSingleItemOutput

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> withSingleItemOutput(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.item.IItemStack output)
      Sets the single item output of the recipe.
      Parameters:
      output - The single item output of this recipe.
      Returns:
      This builder for further chaining.
    • withItemOutputs

      @SafeVarargs public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> withItemOutputs(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack>... outputs)
      Sets the item outputs of the recipe.
      Parameters:
      outputs - The outputs of the recipe.
      Returns:
      This builder for further chaining.
    • withFluidIngredients

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> withFluidIngredients(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.fluid.CTFluidIngredient... ingredients)
      Sets the fluid ingredients of the recipe.
      Parameters:
      ingredients - The fluid ingredients of the recipe.
      Returns:
      This builder for further chaining.
    • withFluidOutputs

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> withFluidOutputs(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.fluid.IFluidStack... outputs)
      Sets the fluid outputs of the recipe.
      Parameters:
      outputs - The fluid outputs of the recipe.
      Returns:
      This builder for further chaining.
    • duration

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> duration(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, int ticks)
      Sets the duration of the recipe in ticks.
      Parameters:
      ticks - The duration of the recipe in ticks.
      Returns:
      This builder for further chaining.
    • averageProcessingDuration

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> averageProcessingDuration(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal)
      Sets the duration of the recipe to the average processing duration, which is 100 ticks.
      Returns:
      This builder for further chaining.
    • requiresHeat

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> requiresHeat(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.simibubi.create.content.processing.recipe.HeatCondition condition)
      Sets the recipe to require the specific HeatCondition.
      Parameters:
      condition - The heat condition of the recipe.
      Returns:
      This builder for further chaining.
    • require

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> require(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.ingredient.IIngredient ingredient)
      Sets the recipe to require the given item ingredient.

      This can be chained multiple times for multiple ingredients.

      Parameters:
      ingredient - The item ingredient to require.
      Returns:
      This builder for further chaining.
    • require

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> require(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.fluid.CTFluidIngredient ingredient)
      Sets the recipe to require the given fluid ingredient.

      This can be chained multiple times for multiple ingredients.

      Parameters:
      ingredient - The fluid ingredient to require.
      Returns:
      This builder for further chaining.
    • output

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> output(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.util.random.Percentaged<com.blamejared.crafttweaker.api.item.IItemStack> item)
      Sets the recipe to output the given Percentaged item.
      Parameters:
      item - The item to output.
      Returns:
      This builder for further chaining.
    • output

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> output(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal, com.blamejared.crafttweaker.api.fluid.IFluidStack fluidStack)
      Sets the recipe to output the given IFluidStack.
      Parameters:
      fluidStack - The fluid to output.
      Returns:
      This builder for further chaining.
    • toolNotConsumed

      public static com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder<com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.Container>> toolNotConsumed(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder internal)
      Sets the recipe to keep the tool.
      Returns:
      This builder for further chaining.