Custom Postions
Custom potions
Sample custom potion:
Super_Potion: effect_1: type: strength duration: 600 amplifier: 2 effect_2: type: speed duration: 600 amplifier: 2 effect_3: type: regeneration duration: 600 amplifier: 2
To create custom potions, create configuration sections within potions.yml as shown. To load them in kits, use their name as the tag of the potion item. In this example, you could add the Super_Potion to a kit by adding the item Potion:Super_Potion:1.
Available attributes
| name | description |
|---|---|
| type | The basic type of the potion effect, that is strength, speed, regeneration, et cetera. |
| duration | The duration of the effect, in game ticks. One second is equal to 20 game ticks, 30 seconds is equal to 600 game ticks, 1 minute is equal to 1200 game ticks, and so on. |
| amplifier | The level of the desired effect. |