Boiler Fuel (Immersive Technology)
Description
Converts an input fluidstack into heat for the Boiler multiblock structure over a given amount of time.
Identifier
The identifier mods.immersivetech.boiler_fuel will be used as the default on this page.
All Identifiers
Any of these can be used to refer to this compat:
mods.immersivetech.boilerfuel
mods.immersivetech.boilerFuel
mods.immersivetech.BoilerFuel
mods.immersivetech.boiler_fuel/* Used as page default */Adding Entries
Add the given recipe to the recipe list:
groovymods.immersivetech.boiler_fuel.add(BoilerRecipe.BoilerFuelRecipe)
Recipe Builder
Just like other recipe types, the Boiler Fuel also uses a recipe builder.
Don't know what a builder is? Check the builder info page out.
Recipe Builder
Create the Recipe Builder.
groovymods.immersivetech.boiler_fuel.recipeBuilder()
FluidStackList. Sets the fluid inputs of the recipe. Requires exactly 1.groovyfluidInput(FluidStack) fluidInput(FluidStack...) fluidInput(Collection<FluidStack>)double. Sets the total heat gained by the Boiler. Requires greater than or equal to 0. (Default0.0d).groovyheat(double)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
nulland outputting errors to the log file if the validation failed, then registers the builder and returns the registered object. (returnsnullormctmods.immersivetechnology.api.crafting.BoilerRecipe$BoilerFuelRecipe).groovyregister()
Example
mods.immersivetech.boiler_fuel.recipeBuilder()
.fluidInput(fluid('lava') * 100)
.time(100)
.heat(10)
.register()
mods.immersivetech.boiler_fuel.recipeBuilder()
.fluidInput(fluid('water') * 50)
.time(50)
.heat(0.05)
.register()Removing Entries
Removes the given recipe from the recipe list:
groovymods.immersivetech.boiler_fuel.remove(BoilerRecipe.BoilerFuelRecipe)Removes all recipes that match the given input:
groovymods.immersivetech.boiler_fuel.removeByInput(IIngredient)Removes all registered recipes:
groovymods.immersivetech.boiler_fuel.removeAll()
Example
mods.immersivetech.boiler_fuel.removeByInput(fluid('biodiesel'))
mods.immersivetech.boiler_fuel.removeAll()Getting the value of entries
Iterates through every entry in the registry, with the ability to call remove on any element to remove it:
groovymods.immersivetech.boiler_fuel.streamRecipes()
