Smeltery Fuel (Tinkers' Construct)
Description
Modifies what fluids are accepted as fuels for the Smeltery and how long each fuels the Smeltery.
Identifier
Refer to this via any of the following:
groovy
mods.tconstruct.smeltery_fuel/* Used as page default */
mods.tconstruct.smelteryfuel
mods.tconstruct.smelteryFuel
mods.tconstruct.SmelteryFuel
mods.tinkersconstruct.smeltery_fuel
mods.tinkersconstruct.smelteryfuel
mods.tinkersconstruct.smelteryFuel
mods.tinkersconstruct.SmelteryFuel
mods.ticon.smeltery_fuel
mods.ticon.smelteryfuel
mods.ticon.smelteryFuel
mods.ticon.SmelteryFuel
Adding Entries
Adds the given fluid as a smeltery fuel with the given burn time:
groovymods.tconstruct.smeltery_fuel.addFuel(FluidStack, int)
Example
groovy
mods.tconstruct.smeltery_fuel.addFuel(fluid('water'), 250)
Removing Entries
Removes the given fluid from being a smeltery fuel:
groovymods.tconstruct.smeltery_fuel.removeFuel(FluidStack)
Removes all registered recipes:
groovymods.tconstruct.smeltery_fuel.removeAll()
Example
groovy
mods.tconstruct.smeltery_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.tconstruct.smeltery_fuel.streamRecipes()