Aquatic Entangler (Thermal Expansion)
Description
Controls what itemstacks can be gained and how likely each is to be obtained.
Identifier
Refer to this via any of the following:
groovy
mods.thermal.fisher
mods.thermal.Fisher
mods.thermalexpansion.fisher/* Used as page default */
mods.thermalexpansion.Fisher
Adding Entries
Adds recipes in the format
fish
,weight
:groovymods.thermalexpansion.fisher.add(ItemStack, int)
Example
groovy
mods.thermalexpansion.fisher.add(item('minecraft:clay'), 100)
Removing Entries
Removes the given IIngredient as a valid output:
groovymods.thermalexpansion.fisher.remove(IIngredient)
Removes all registered recipes:
groovymods.thermalexpansion.fisher.removeAll()
Example
groovy
mods.thermalexpansion.fisher.remove(item('minecraft:fish:0'))
mods.thermalexpansion.fisher.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.thermalexpansion.fisher.streamRecipes()