Name | Parameters | Return value | Notes |
GetPotionColor |
|
|
(STATIC) Returns the potion color (used by the client for visuals), based on the potion's damage value |
GetPotionEffectDuration |
|
|
(STATIC) Returns the effect duration, in ticks, based on the potion's damage value |
GetPotionEffectIntensity |
|
|
(STATIC) Retrieves the intensity level from the potion's damage value. Returns 0 for level I potions, 1 for level II potions. |
GetPotionEffectType |
|
|
(STATIC) Translates the potion's damage value into the entity effect that the potion gives |
IsPotionDrinkable |
|
|
(STATIC) Returns true if the potion with the given damage is drinkable |