Class LegacyParsers

java.lang.Object
org.mvplugins.multiverse.inventories.util.LegacyParsers

@Deprecated public final class LegacyParsers extends Object
Deprecated.
Exists for backward compatibility with older versions of Multiverse-Inventories.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.Location
    parseLocation(String locString)
    Deprecated.
    Locations do not use special handling because they are ConfigurationSerializable.
    static org.bukkit.Location
    Deprecated.
    Locations do not use special handling because they are ConfigurationSerializable.
    static org.bukkit.potion.PotionEffect[]
    parsePotionEffects(String potionsString)
    Deprecated.
    PotionEffect do not use special handling because they are ConfigurationSerializable.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • parseLocation

      @Deprecated public static org.bukkit.Location parseLocation(String locString)
      Deprecated.
      Locations do not use special handling because they are ConfigurationSerializable.
      Parameters:
      locString - Parses this string and creates Location.
      Returns:
      New location object or null if no location could be created.
    • parseLocation

      @Deprecated public static org.bukkit.Location parseLocation(Map locMap)
      Deprecated.
      Locations do not use special handling because they are ConfigurationSerializable.
    • parsePotionEffects

      @Deprecated public static org.bukkit.potion.PotionEffect[] parsePotionEffects(String potionsString)
      Deprecated.
      PotionEffect do not use special handling because they are ConfigurationSerializable.
      Parameters:
      potionsString - A player's potion effects in string form to be parsed into Collection<PotionEffect>.
      Returns:
      a collection of potion effects parsed from potionsString.