
Modrinth · Minecraft mod
Potion Effects Set
Grant potion effects to your items
Quick answer
Which Potion Effects Set release matches 1.20.2?
Potion Effects Set 1.0.5 targets 1.20.1, 1.20.2, 1.20.3 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Potion Effects Set required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Potion Effects Set 1.0.5 need?
1.0.5 on 1.20.2. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Potion Effects Set without breaking your instance.
Built for Potion Effects Set 1.0.5 on 1.20.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.0.5. It targets 1.20.1, 1.20.2, 1.20.3 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.0.5. It opens that exact file at the source.
About this project
What does Potion Effects Set add?
Potion Effects Set
Datapack-driven item potion effects, set bonuses, Curios support, and loot table injections.
This project exists in two versions:
Forge 1.20.1NeoForge 1.21.1
Both versions share the same core idea and almost the same datapack workflow, so pack makers can use one system across both branches.
What The Mod Does
With this mod, you can:
- give passive effects while an item is equipped
- give on-hit effects when the player attacks
- give on-hurt effects when the player takes damage
- target one item, many items through tags, or special variants through
nbt - create tiered sets such as 2-piece, 3-piece, and 4-piece bonuses
- count Curios pieces, including duplicate accessories such as two matching rings
- inject custom rewards into existing loot tables without replacing them
Versions
Forge Version
- Loader:
Forge - Minecraft:
1.20.1 - Branch/mod:
Potion Effects Set
Important note:
- in the Forge version,
nbtmatches normal item NBT data
NeoForge Version
- Loader:
NeoForge - Minecraft:
1.21.1 - Branch/mod:
Neo Pot Effect Set
Important note:
- in the NeoForge version, you still write
nbtin the JSON - internally, that matcher is checked against the item's
custom_datacomponent
That means the config format stays familiar, even though Minecraft changed how custom item data is stored.
Shared Datapack Features
Both versions support:
- exact item entries like
minecraft:diamond_sword - root tag entries like
#mymod:guardian_armor - advanced
rulesmatchers setsandset_bonusesloot_table_injections
Quick Example
{
"minecraft:diamond_sword": {
"on_hit_effects": [
{
"effect": "minecraft:poison",
"amplifier": 1,
"duration": 100,
"chance": 0.3,
"slot": "mainhand"
}
]
}
}
This applies Poison II for 5 seconds with a 30% chance when the sword hits in the main hand.
Tags
Use tags when many items should share the same effect setup.
{
"#mymod:guardian_armor": {
"passive_effects": [
{
"effect": "minecraft:resistance",
"amplifier": 0,
"permanent": true
}
]
}
}
Special Variants With rules
Use rules when the same base item can exist in different variants.
{
"rules": [
{
"match": {
"item": "minecraft:diamond_chestplate",
"nbt": {
"pem": {
"set_id": "guardian"
}
}
},
"passive_effects": [
{
"effect": "minecraft:resistance",
"amplifier": 1,
"permanent": true,
"slot": "chest"
}
]
}
]
}
Recommended pattern:
- store your custom data under your own root, such as
pem - use fields like
set_id,role,variant, orrarity
Sets
Sets let you unlock stronger bonuses as more matching pieces are equipped.
{
"sets": [
{
"id": "guardian",
"display_name": "Guardian Set",
"piece_match": {
"tag": "mymod:guardian_set"
},
"tiers": [
{
"required_pieces": 2,
"passive_effects": [
{
"effect": "minecraft:resistance",
"amplifier": 0,
"permanent": true
}
]
},
{
"required_pieces": 4,
"passive_effects": [
{
"effect": "minecraft:resistance",
"amplifier": 1,
"permanent": true
},
{
"effect": "minecraft:absorption",
"amplifier": 0,
"permanent": true
}
]
}
]
}
]
}
Set counting includes:
- main hand
- offhand
- armor
- Curios
Curios note:
- duplicate matching accessories count separately
- two matching rings can count as two set pieces
Loot Table Injections
The mod can add your custom items into existing loot tables without replacing them.
Inject a custom loot table
{
"inject": [
{
"targets": [
"minecraft:chests/simple_dungeon",
"minecraft:chests/abandoned_mineshaft"
],
"loot_table": "mypack:chests/arcane_rewards",
"rolls": 1,
"chance": 0.25
}
]
}
Inject items directly
{
"inject": [
{
"targets": ["minecraft:chests/simple_dungeon"],
"rolls": 1,
"chance": 0.2,
"items": [
{
"item": "minecraft:totem_of_undying",
"name": "Offhand Totem",
"nbt": {
"pem": {
"role": "offhand_totem"
}
}
}
]
}
]
}
How Players Obtain Custom Items
Simple rule:
- if you use exact
itemor#tag, players can obtain the base item normally - if you use
nbt, the game needs some way to generate that special variant
Common ways to generate those items:
- loot tables
- loot injections
- functions
- advancement rewards
- scripting mods like
KubeJSorCraftTweaker
Conflict Rules
If multiple active sources grant the same mob effect:
- they do not stack as multiple copies
- the strongest one wins
- higher amplifier wins first
That means a 2-piece set can give Strength I, and a 4-piece tier can upgrade that to Strength II, while another set can still coexist if it gives a different effect like Speed.
Tooltips
Tooltips can show:
- direct effects on the item
- matching set bonuses
- current set piece count when player context is available
Summary
If you want one datapack-driven system for:
- equipment-based potion effects
- item tags
- custom item variants
- set bonuses
- Curios counting
- survival-friendly loot integration
this mod is built for exactly that.
For a more detailed tutorial and extra help, join the Discord:
- https://discord.gg/sZ64CgX3JN
{
"effect": "minecraft:regeneration",
"amplifier": 1,
"duration": 100,
"chance": 0.5,
"slot": "chest"
}
]
}
}
</details>
<details>
<summary><strong>👟 Example: Speed Boots</strong></summary>
Gives Speed II while worn.
```json
{
"minecraft:golden_boots": {
"passive_effects": [
{
"effect": "minecraft:speed",
"amplifier": 1,
"permanent": true,
"slot": "feet"
}
]
}
}
💍 Example: Invisibility Ring (Curios)
Grants Invisibility while worn in a 'ring' slot.
{
"curios:ring_gold": {
"passive_effects": [
{
"effect": "minecraft:invisibility",
"amplifier": 0,
"permanent": true,
"slot": "ring",
"is_curio": true
}
]
}
}
🔧 Configuration Guide
📁 Location
world/datapacks/<name>/data/potioneffectsmodify/potion_effects/your_file.json
⚙️ Options
| Property | Type | Description |
|---|---|---|
effect |
ID | The potion effect ID (e.g., minecraft:strength) |
amplifier |
Int | Level of the effect (0 = Level I, 1 = Level II) |
duration |
Int | Duration in ticks (20 ticks = 1 second) |
chance |
Float | Probability (0.0 to 1.0) for On Hit/On Hurt |
slot |
String | Required slot (mainhand, head, feet, curios:ring, etc.) |
permanent |
Bool | If true, effect refreshes automatically (for passive) |
is_curio |
Bool | Set to true if targeting a Curios slot |
📦 Installation
- Download the mod and place it in your
modsfolder. - (Optional) Install Curios API if you want accessory support.
- Launch the game.
- Create your JSON configs in a datapack (see examples above).
- Run
/reloadin-game to apply changes instantly!
Please join our Discord for support, suggestions, or to share your configs!
Project description from Modrinth.
Pick your setup
Potion Effects Set by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader build1.21.3
1 loader build1.21.2
1 loader build1.21.1
1 loader build1.20.6
1 loader buildShowing the newest 12 of 17 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Potion Effects Set versions and loaders
1.0.5
poteffectset-1.0.5.jar
30 Mar 2026
1.0.4
poteffectset-1.0.4.jar
25 Jan 2026
Looking for an older file? The official Modrinth project page is in Resources.