-
Notifications
You must be signed in to change notification settings - Fork 9
Ore Refinery
Note: most ore processing recipes (including all modded ores) are automatically generated and cannot be removed by CraftTweaker. If you do not want them you'll need to disable them in Prodigy Tech's config.
import mods.prodigytech.orerefinery
addRecipe(IItemStack/IOreDictEntry in, IItemStack out, @Optional int time)
Adds a recipe that takes in
as input and gives out
in time
ticks (at 125°C). If time
is omitted it defaults to the config's base value.
Note: if an item has both a valid itemstack recipe and oredict recipe, the itemstack recipe takes priority
addRecipe(IItemStack/IOreDictEntry in, IItemStack out, IItemStack sec, @Optional float chance, @Optional int time)
Adds a recipe that takes in
as input and gives out
as well as sec
chance
% of the time in time
ticks (at 125°C). If chance
or time
are omitted or negative they default to their respective config base value. chance
should be in the 0-1 range and must be specified for time
to be specified.
Note: if an item has both a valid itemstack recipe and oredict recipe, the itemstack recipe takes priority
removeRecipe(IItemStack/IOreDictEntry in)
Removes the recipe that takes in
as input.
removeAll()
Removes all recipes.