Steeping Pot (The Betweenlands)
Description
Converts a 1,000mb of fluid into either 1,000mb of a fluid, an output itemstack, or both, consuming up to 4 items from a Silk Bundle placed inside the Steeping Pot to do so. The Silk Bundle is converted into a Dirty Silk Bundle in the process. The Silk Bundle can only hold specific items, which are also configurable.
Identifier
Refer to this via any of the following:
mods.betweenlands.steeping_pot
mods.betweenlands.steepingpot
mods.betweenlands.steepingPot
mods.betweenlands.SteepingPot
mods.thebetweenlands.steeping_pot/* Used as page default */
mods.thebetweenlands.steepingpot
mods.thebetweenlands.steepingPot
mods.thebetweenlands.SteepingPot
Adding Recipes
Add the given recipe to the recipe list:
groovymods.thebetweenlands.steeping_pot.add(SteepingPotRecipes)
Adds the given ItemStack to the accepted item list for the Silk Bundle:
groovymods.thebetweenlands.steeping_pot.addAcceptedItem(ItemStack)
Example
mods.thebetweenlands.steeping_pot.addAcceptedItem(item('minecraft:gold_block'))
Recipe Builder
Just like other recipe types, the Steeping Pot also uses a recipe builder.
Don't know what a builder is? Check the builder info page out.
mods.thebetweenlands.steeping_pot.recipeBuilder()
IngredientList<IIngredient>
. Sets the item inputs of the recipe. Requires greater than or equal to 1 and less than or equal to 4.groovyinput(IIngredient) input(IIngredient...) input(Collection<IIngredient>)
FluidStackList
. Sets the fluid inputs of the recipe. Requires exactly 1.groovyfluidInput(FluidStack) fluidInput(FluidStack...) fluidInput(Collection<FluidStack>)
FluidStackList
. Sets the fluid outputs of the recipe. Requires exactly 1.groovyfluidOutput(FluidStack) fluidOutput(FluidStack...) fluidOutput(Collection<FluidStack>)
int
. Sets the color of the output and the type of output if the fluidOutput isdye_fluid
ordrinkable_brew
. Requires greater than or equal to 0 and less than or equal to 15. (Default0
).groovymeta(int)
First validates the builder, returning
null
and outputting errors to the log file if the validation failed, then registers the builder and returns the registered object. (returnsnull
orthebetweenlands.common.recipe.misc.SteepingPotRecipes
).groovyregister()
Example
mods.thebetweenlands.steeping_pot.recipeBuilder()
.input(item('minecraft:clay'), item('minecraft:clay'), item('minecraft:clay'), item('minecraft:clay'))
.fluidInput(fluid('lava'))
.fluidOutput(fluid('water'))
.register()
mods.thebetweenlands.steeping_pot.recipeBuilder()
.input(item('minecraft:diamond'))
.fluidInput(fluid('lava'))
.fluidOutput(fluid('dye_fluid'))
.meta(5)
.register()
mods.thebetweenlands.steeping_pot.recipeBuilder()
.input(item('minecraft:emerald'))
.fluidInput(fluid('lava'))
.fluidOutput(fluid('water'))
.register()
Removing Recipes
Removes the given recipe from the recipe list:
groovymods.thebetweenlands.steeping_pot.remove(SteepingPotRecipes)
Removes the given ItemStack from the accepted item list for the Silk Bundle:
groovymods.thebetweenlands.steeping_pot.removeAcceptedItem(ItemStack)
Removes all recipes that match the given input:
groovymods.thebetweenlands.steeping_pot.removeByInput(IIngredient)
Removes all recipes that match the given output:
groovymods.thebetweenlands.steeping_pot.removeByOutput(IIngredient)
Removes all registered recipes:
groovymods.thebetweenlands.steeping_pot.removeAll()
Removes all entries from the accepted item list for the Silk Bundle:
groovymods.thebetweenlands.steeping_pot.removeAllAcceptedItem()
Example
mods.thebetweenlands.steeping_pot.removeAcceptedItem(item('thebetweenlands:items_crushed:5'))
mods.thebetweenlands.steeping_pot.removeByInput(item('thebetweenlands:items_crushed:13'))
mods.thebetweenlands.steeping_pot.removeByInput(fluid('clean_water'))
mods.thebetweenlands.steeping_pot.removeByOutput(item('thebetweenlands:limestone'))
mods.thebetweenlands.steeping_pot.removeByOutput(fluid('dye_fluid').withNbt(['type': 14]))
mods.thebetweenlands.steeping_pot.removeAll()
mods.thebetweenlands.steeping_pot.removeAllAcceptedItem()
Getting the value of recipes
Iterates through every entry in the registry, with the ability to call remove on any element to remove it:
groovymods.thebetweenlands.steeping_pot.streamRecipes()