Freezer Fuel (Aether Legacy)
Description
By default, the Freezer takes Icestone as fuel. Using GroovyScript, custom fuels can be added.
Identifier
The identifier mods.aether_legacy.freezer_fuel will be used as the default on this page.
All Identifiers
Any of these can be used to refer to this compat:
groovy
mods.aether.freezerfuel
mods.aether.freezerFuel
mods.aether.FreezerFuel
mods.aether.freezer_fuel
mods.aether_legacy.freezerfuel
mods.aether_legacy.freezerFuel
mods.aether_legacy.FreezerFuel
mods.aether_legacy.freezer_fuel/* Used as page default */Adding Recipes
Adds the recipe:
groovymods.aether_legacy.freezer_fuel.add(AetherFreezableFuel)Adds a Freezer fuel in the format
item,timeGiven:groovymods.aether_legacy.freezer_fuel.add(ItemStack, int)
Example
groovy
mods.aether_legacy.freezer_fuel.add(item('minecraft:packed_ice'), 1000)Removing Recipes
Removes the recipe:
groovymods.aether_legacy.freezer_fuel.remove(AetherFreezableFuel)Removes the recipe with the given String as its Resource Location:
groovymods.aether_legacy.freezer_fuel.remove(String)Removes the recipe with the given Resource Location:
groovymods.aether_legacy.freezer_fuel.remove(ResourceLocation)Removes all recipes that match the given input:
groovymods.aether_legacy.freezer_fuel.removeByItem(IIngredient)Removes all registered recipes:
groovymods.aether_legacy.freezer_fuel.removeAll()
Example
groovy
mods.aether_legacy.freezer_fuel.removeByItem(item('aether_legacy:icestone'))
mods.aether_legacy.freezer_fuel.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.aether_legacy.freezer_fuel.streamRecipes()
