public static function getNameByMeta(int $meta) : string
{
switch ($meta) {
case self::WATER_BOTTLE:
return "Water Bottle";
case self::MUNDANE:
case self::MUNDANE_EXTENDED:
return "Mundane Potion";
case self::THICK:
return "Thick Potion";
case self::AWKWARD:
return "Awkward Potion";
case self::INVISIBILITY:
case self::INVISIBILITY_T:
return "Potion of Invisibility";
case self::LEAPING:
case self::LEAPING_T:
return "Potion of Leaping";
case self::LEAPING_TWO:
return "Potion of Leaping II";
case self::FIRE_RESISTANCE:
case self::FIRE_RESISTANCE_T:
return "Potion of Fire Resistance";
case self::SWIFTNESS:
case self::SWIFTNESS_T:
return "Potion of Swiftness";
case self::SWIFTNESS_TWO:
return "Potion of Swiftness II";
case self::SLOWNESS:
case self::SLOWNESS_T:
return "Potion of Slowness";
case self::WATER_BREATHING:
case self::WATER_BREATHING_T:
return "Potion of Water Breathing";
case self::HARMING:
return "Potion of Harming";
case self::HARMING_TWO:
return "Potion of Harming II";
case self::POISON:
case self::POISON_T:
return "Potion of Poison";
case self::POISON_TWO:
return "Potion of Poison II";
case self::HEALING:
return "Potion of Healing";
case self::HEALING_TWO:
return "Potion of Healing II";
case self::NIGHT_VISION:
case self::NIGHT_VISION_T:
return "Potion of Night Vision";
case self::STRENGTH:
case self::STRENGTH_T:
return "Potion of Strength";
case self::STRENGTH_TWO:
return "Potion of Strength II";
case self::REGENERATION:
case self::REGENERATION_T:
return "Potion of Regeneration";
case self::REGENERATION_TWO:
return "Potion of Regeneration II";
case self::WEAKNESS:
case self::WEAKNESS_T:
return "Potion of Weakness";
default:
return "Potion";
}
}