Skip to content

Steam Turbine (Immersive Technology)

Description

Converts an input fluidstack into an output fluidstack after a given amount of time in a multiblock structure, producing power for an adjacent Alternator multiblock.

Identifier

Refer to this via any of the following:

groovy
mods.immersivetech.steam_turbine/* Used as page default */
mods.immersivetech.steamturbine
mods.immersivetech.steamTurbine
mods.immersivetech.SteamTurbine

Adding Recipes

  • Add the given recipe to the recipe list:

    groovy
    mods.immersivetech.steam_turbine.add(SteamTurbineRecipe)

Recipe Builder

Just like other recipe types, the Steam Turbine also uses a recipe builder.

Don't know what a builder is? Check the builder info page out.

mods.immersivetech.steam_turbine.recipeBuilder()
  • FluidStackList. Sets the fluid inputs of the recipe. Requires exactly 1.

    groovy
    fluidInput(FluidStack)
    fluidInput(FluidStack...)
    fluidInput(Collection<FluidStack>)
  • FluidStackList. Sets the fluid outputs of the recipe. Requires exactly 1.

    groovy
    fluidOutput(FluidStack)
    fluidOutput(FluidStack...)
    fluidOutput(Collection<FluidStack>)
  • int. Sets the time in ticks the recipe takes to process. Requires greater than or equal to 0. (Default 0).

    groovy
    time(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. (returns null or mctmods.immersivetechnology.api.crafting.SteamTurbineRecipe).

    groovy
    register()
Example
groovy
mods.immersivetech.steam_turbine.recipeBuilder()
    .fluidInput(fluid('lava') * 100)
    .fluidOutput(fluid('hot_spring_water') * 500)
    .time(100)
    .register()

mods.immersivetech.steam_turbine.recipeBuilder()
    .fluidInput(fluid('water') * 50)
    .fluidOutput(fluid('lava') * 50)
    .time(50)
    .register()

Removing Recipes

  • Removes the given recipe from the recipe list:

    groovy
    mods.immersivetech.steam_turbine.remove(SteamTurbineRecipe)
  • Removes all recipes that match the given input:

    groovy
    mods.immersivetech.steam_turbine.removeByInput(IIngredient)
  • Removes all recipes that match the given output:

    groovy
    mods.immersivetech.steam_turbine.removeByOutput(IIngredient)
  • Removes all registered recipes:

    groovy
    mods.immersivetech.steam_turbine.removeAll()
Example
groovy
mods.immersivetech.steam_turbine.removeByInput(fluid('steam'))
mods.immersivetech.steam_turbine.removeByOutput(fluid('exhauststeam'))
mods.immersivetech.steam_turbine.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:

    groovy
    mods.immersivetech.steam_turbine.streamRecipes()

Contributors

Changelog

© 2024 CleanroomMC. All Rights Reserved.