Mob Repellent adds custom Item Tags to help players and modpack developer customize the gameplay.
Added Item Tags
brazier_igniters
The brazier_igniters Item Tag defines the list of items that will lit any brazier when a player right clicks it with one of these items.
By default, this Item Tag contains minecraft:flint_and_steel and minecraft:fire_charge.
brazier_extinguishers
The brazier_extinguishers Item Tag defines the list of items that will extinguish any brazier when a player right clicks it with one of these items.
By default, this Item Tag contains minecraft:water_bucket.
Modifying an Item Tag
With Datapacks
To modify any Item Tag added by Mob Repellent you need to create a datapack.
Inside your datapack, create the namespace mob_repellent and create the folder tags with the folder item inside of it (data/mob_repellent/tags/item).
Then, create a json file with the name of the Item Tag you want to modify (example: brazier_igniters.json).
You should now have this structure: data/mob_repellent/tags/item/<ItemTag>.json.
Inside of the file you just created, paste this code:
{
"values": [
]
}
You can now fill values with the item IDs that you want (example: "minecraft:flint_and_steel").
In the end, your file should look like this:
{
"values": [
"<namespace>:<identifier>",
...
"<namespace>:<identifier>"
]
}Finally add the datapack under datapacks inside of your world folder and your new values will be active!
With Mods
Some mods, such as KubeJS, allow you to customize modpacks or server with languages like JavaScript.
You can read the KubeJS documentation for Item Tags here.
