Skip to content

Aquatic Entangler Bait (Thermal Expansion)

Description

Controls what items can be used in the bait slot of the Aquatic Entangler and how effective they are.

Identifier

The identifier mods.thermalexpansion.fisher_bait will be used as the default on this page.

All Identifiers

Any of these can be used to refer to this compat:

groovy
mods.thermal.fisherbait
mods.thermal.fisherBait
mods.thermal.FisherBait
mods.thermal.fisher_bait
mods.thermalexpansion.fisherbait
mods.thermalexpansion.fisherBait
mods.thermalexpansion.FisherBait
mods.thermalexpansion.fisher_bait/* Used as page default */

Adding Entries

  • Adds recipes in the format stack, multiplier:

    groovy
    mods.thermalexpansion.fisher_bait.add(ItemStack, int)
Example
groovy
mods.thermalexpansion.fisher_bait.add(item('minecraft:clay'), 100)

Removing Entries

  • Removes the given IIngredient as a valid bait item:

    groovy
    mods.thermalexpansion.fisher_bait.remove(IIngredient)
  • Removes all registered recipes:

    groovy
    mods.thermalexpansion.fisher_bait.removeAll()
Example
groovy
mods.thermalexpansion.fisher_bait.remove(item('thermalfoundation:bait:2'))
mods.thermalexpansion.fisher_bait.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.thermalexpansion.fisher_bait.streamRecipes()

Contributors

© 2024 CleanroomMC. All Rights Reserved.