PotionEffectsSet
Give items and accessories special magical power! This modification allows any item to be endowed with custom potion effects that activate depending on the equipment slot.
Key Features
- Different effects for each equipment slot — main hand, offhand, helmet, chestplate, leggings, boots
- Multiple activation triggers: passive effects, on attack, on damage taken with adjustable probability
- Datapack system — all configuration via JSON files with instant reload via the /reload command
- Automatic effect removal when changing or removing the item
- Full compatibility with Curios mod for rings, necklaces, and other accessories
Practical Examples
Diamond sword with potion effects:
{
"minecraft:diamond_sword": {
"passive_effects": [
{ "effect": "minecraft:strength", "amplifier": 0, "permanent": true, "slot": "mainhand" }
],
"on_hit_effects": [
{ "effect": "minecraft:poison", "amplifier": 0, "duration": 100, "chance": 0.3, "slot": "mainhand" }
]
}
}
Diamond chestplate with protective properties:
{
"minecraft:diamond_chestplate": {
"passive_effects": [
{ "effect": "minecraft:resistance", "amplifier": 0, "permanent": true, "slot": "chest" }
],
"on_hurt_effects": [
{ "effect": "minecraft:regeneration", "amplifier": 1, "duration": 100, "chance": 0.5, "slot": "chest" }
]
}
}
Installation and Setup
For operation, you need to install the mod on both the client and server. Effect data is stored in datapacks at the path world/datapacks/your_pack/data/potioneffectsset/potion_effects/, and to apply all changes you just need to use the \reload command.
Configuration Options
- Equipment slots: main hand, offhand, head, chest, legs, feet, rings, necklaces, and others
- Effects: full support for all standard Minecraft potion effects
- Triggers: passive effects, effects on attack, effects on damage taken
- Parameter settings: effect power, duration, activation probability, permanent action, slot, accessory status
Areas of Application
The modification is perfectly suited for RPG servers, custom modpacks, adventure maps, and enhancing regular survival gameplay. Now any item can be turned into magical equipment!
Required Components
- Minecraft 1.20.1
- Forge version 47.4.0 or higher
- Optional: Curios API for accessory support