Class VersionUtil

java.lang.Object
net.tnemc.item.providers.VersionUtil

public class VersionUtil extends Object
  • Constructor Details

  • Method Details

    • isVersion

      public static boolean isVersion(String currentVersion, String compare)
      Returns:
      Whether the bukkit in use is for MC >= 1.8
    • isLessThan

      public static boolean isLessThan(String currentVersion, String compare)
    • isOneSeven

      public static boolean isOneSeven(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.7
    • isOneEight

      public static boolean isOneEight(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.8
    • isOneNine

      public static boolean isOneNine(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.9
    • isOneTen

      public static boolean isOneTen(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.10
    • isOneEleven

      public static boolean isOneEleven(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.11
    • isOneTwelve

      public static boolean isOneTwelve(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.12
    • isOneThirteen

      public static boolean isOneThirteen(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.13
    • isOneFourteen

      public static boolean isOneFourteen(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.14
    • isOneFifteen

      public static boolean isOneFifteen(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.15
    • isOneSixteen

      public static boolean isOneSixteen(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.16
    • isOneSeventeen

      public static boolean isOneSeventeen(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.17
    • isOneTwenty

      public static boolean isOneTwenty(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.20
    • isOneTwentyOne

      public static boolean isOneTwentyOne(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.21
    • isOneTwentyOneTwo

      public static boolean isOneTwentyOneTwo(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.21.2
    • isOneTwentyOneThree

      public static boolean isOneTwentyOneThree(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.21.3
    • isOneTwentyOneFour

      public static boolean isOneTwentyOneFour(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.21.4
    • isOneTwentyOneFive

      public static boolean isOneTwentyOneFive(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.21.5
    • isOneTwentyTwo

      public static boolean isOneTwentyTwo(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.22
    • isOneTwentyThree

      public static boolean isOneTwentyThree(String currentVersion)
      Returns:
      Whether the bukkit in use is for MC >= 1.23