Unlimited Potions
The Core Issue
In modpacks with a large number of added potion effects, incorrect behavior may occur. When effects are activated, players receive different modifiers than they should.
Technical reasons:
- When a potion effect is triggered, the server sends a message to the client containing the effect identifier
- In vanilla Minecraft, this identifier is stored in a byte variable, which limits the maximum number of unique effects to 256 values
- When this limit is exceeded, identifier conflicts begin - players receive random effects instead of expected ones
The Solution
The Unlimited Potions mod resolves this problem by replacing limited identifiers with substitute integer values. This makes the number of possible potion effects virtually unlimited and completely solves the conflict issue.
Compatibility
This fix has been successfully tested and works in large modpacks with 600+ mods, ensuring accurate display of all potion effects. If you discover any issues, please report them.
Usage
You are free to use this mod in your modpacks.
Note! To diagnose possible effect identifier conflicts in your modpack, it is recommended to use the special effects util utility.