Skip to content

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:

    groovy
    mods.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:

    groovy
    mods.tconstruct.smeltery_fuel.removeFuel(FluidStack)
  • Removes all registered recipes:

    groovy
    mods.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:

    groovy
    mods.tconstruct.smeltery_fuel.streamRecipes()

© 2024 CleanroomMC. All Rights Reserved.