Class ExpandProcessingRecipeBuilder
java.lang.Object
com.blamejared.createtweaker.natives.ExpandProcessingRecipeBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 givenIFluidStack.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 givenPercentageditem.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 specificHeatCondition.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.
-
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 specificHeatCondition.- 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 givenPercentageditem.- 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 givenIFluidStack.- 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.
-