Solar Tower (Immersive Technology)
Description
Converts an input fluidstack into an output fluidstack after a given amount of time in a multiblock structure, with the time being able to be sped up via Solar Reflector multiblocks.
Identifier
Refer to this via any of the following:
mods.immersivetech.solar_tower/* Used as page default */
mods.immersivetech.solartower
mods.immersivetech.solarTower
mods.immersivetech.SolarTower
Adding Recipes
Add the given recipe to the recipe list:
groovymods.immersivetech.solar_tower.add(SolarTowerRecipe)
Recipe Builder
Just like other recipe types, the Solar Tower also uses a recipe builder.
Don't know what a builder is? Check the builder info page out.
mods.immersivetech.solar_tower.recipeBuilder()
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 time in ticks the recipe takes to process. Requires greater than or equal to 0. (Default0
).groovytime(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
ormctmods.immersivetechnology.api.crafting.SolarTowerRecipe
).groovyregister()
Example
mods.immersivetech.solar_tower.recipeBuilder()
.fluidInput(fluid('lava') * 100)
.fluidOutput(fluid('hot_spring_water') * 500)
.time(100)
.register()
mods.immersivetech.solar_tower.recipeBuilder()
.fluidInput(fluid('water') * 50)
.fluidOutput(fluid('lava') * 50)
.time(50)
.register()
Removing Recipes
Removes the given recipe from the recipe list:
groovymods.immersivetech.solar_tower.remove(SolarTowerRecipe)
Removes all recipes that match the given input:
groovymods.immersivetech.solar_tower.removeByInput(IIngredient)
Removes all recipes that match the given output:
groovymods.immersivetech.solar_tower.removeByOutput(IIngredient)
Removes all registered recipes:
groovymods.immersivetech.solar_tower.removeAll()
Example
mods.immersivetech.solar_tower.removeByInput(fluid('water'))
mods.immersivetech.solar_tower.removeByOutput(fluid('superheatedmoltensodium'))
mods.immersivetech.solar_tower.removeAll()
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.immersivetech.solar_tower.streamRecipes()