PotionData - DragonSurvivalTeam/DragonSurvival GitHub Wiki

Description

PotionData contains all the data to apply a list of mob effects to an entity, similar to how a potion behaves.

Schema

{
    "effects": [MobEffect]          // [Mandatory] || A list of mob effects to apply.
    "amplifier": [LevelBasedValue]  // [Mandatory] || The strength of the mob effects.
    "duration": [LevelBasedValue]   // [Mandatory] || The duration of the mob effects.
    "probability" [LevelBasedValue] // [Optional]  || The probability that these effects apply. Defaults to 100% probability.
}