Potion Tweaker

Potion Tweaker

5.2k Downloads

This mod allows you to tweak Minecrafts vanilla potion effects.

How to configure the mod:

  • Navigate to your config folder and open the file "potiontweaker.cfg" on any text editor.
  • The following example is on the strength potion effect (but applies to most of the potions within the game):

strength {

# How strong do you want it? [range: 0.0 ~ 10000.0, default: 3.0]
S:"Strength Modifier"=3.0

# By which operation should the modifier be applied? [range: 0 ~ 2, default: 0]
I:"Strength Operation"=0
}

The "Modifier" is the amount by which the respective attribute will be changed. The way it will be applied however depends on the "Operation".

The "Operation" tells the game how to apply the modifier to the base stat. Valid operations range from 0 to 2.

  • Operation 0 will add the given Modifier to the base stat. It will increment by the value of the Modifier per potion level.

(Formula: Modified_Value = Base_Value + Modifier * Potion_Level) E.g. operation 0 with a modifier of 3.0 will increase your base attack damage by +3 per potion level.

Operation 0 example

  • Operation 1 and 2 are multiplication (and although different in their nature they are in our case the same). It will increment by the value of the Modifier per potion level.

(Formula: Modified_Value = Base_Value + Base_Value * Modifier * Potion_Level) E.g. operation 1 with a modifier of 0.2 will increase your base attack damage by +20% per potion level. Note that your base damage is modified by the weapon you're wielding, thus will this example potion increase your weapons damage by +20% per potion level.

Operation 1 example

For some potions the game does not allow to alter their operations, such as regeneration or hunger. That is also why you won't find an inquiry for the operation for those potions within the config file.

For further reading see the minecraft wiki's attribute page.