Curses (Bewitchment)
Description
Allows applying curses to a player to cause unique effects in the Brazier with a bewitchment:taglock targeting the desired player.
Identifier
The identifier mods.bewitchment.curse will be used as the default on this page.
All Identifiers
Any of these can be used to refer to this compat:
groovy
mods.bewitchment.curse/* Used as page default */
mods.bewitchment.CurseAdding Entries
Adds the recipe:
groovymods.bewitchment.curse.add(Curse)
Removing Entries
Removes the recipe:
groovymods.bewitchment.curse.remove(Curse)Removes the recipe with the given String as its Resource Location:
groovymods.bewitchment.curse.remove(String)Removes the recipe with the given Resource Location:
groovymods.bewitchment.curse.remove(ResourceLocation)Removes all recipes that match the given input:
groovymods.bewitchment.curse.removeByInput(IIngredient)Removes all registered recipes:
groovymods.bewitchment.curse.removeAll()
Example
groovy
mods.bewitchment.curse.remove(resource('bewitchment:berserker'))
mods.bewitchment.curse.removeByInput(item('minecraft:blaze_rod'))
mods.bewitchment.curse.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.bewitchment.curse.streamRecipes()
