Package net.tnemc.item.providers
Class VersionUtil
java.lang.Object
net.tnemc.item.providers.VersionUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isLessThan
(String currentVersion, String compare) static boolean
isOneEight
(String currentVersion) static boolean
isOneEleven
(String currentVersion) static boolean
isOneFifteen
(String currentVersion) static boolean
isOneFourteen
(String currentVersion) static boolean
static boolean
isOneSeven
(String currentVersion) static boolean
isOneSeventeen
(String currentVersion) static boolean
isOneSixteen
(String currentVersion) static boolean
static boolean
isOneThirteen
(String currentVersion) static boolean
isOneTwelve
(String currentVersion) static boolean
isOneTwenty
(String currentVersion) static boolean
isOneTwentyOne
(String currentVersion) static boolean
isOneTwentyOneFive
(String currentVersion) static boolean
isOneTwentyOneFour
(String currentVersion) static boolean
isOneTwentyOneThree
(String currentVersion) static boolean
isOneTwentyOneTwo
(String currentVersion) static boolean
isOneTwentyThree
(String currentVersion) static boolean
isOneTwentyTwo
(String currentVersion) static boolean
-
Constructor Details
-
VersionUtil
public VersionUtil()
-
-
Method Details
-
isVersion
- Returns:
- Whether the bukkit in use is for MC >= 1.8
-
isLessThan
-
isOneSeven
- Returns:
- Whether the bukkit in use is for MC >= 1.7
-
isOneEight
- Returns:
- Whether the bukkit in use is for MC >= 1.8
-
isOneNine
- Returns:
- Whether the bukkit in use is for MC >= 1.9
-
isOneTen
- Returns:
- Whether the bukkit in use is for MC >= 1.10
-
isOneEleven
- Returns:
- Whether the bukkit in use is for MC >= 1.11
-
isOneTwelve
- Returns:
- Whether the bukkit in use is for MC >= 1.12
-
isOneThirteen
- Returns:
- Whether the bukkit in use is for MC >= 1.13
-
isOneFourteen
- Returns:
- Whether the bukkit in use is for MC >= 1.14
-
isOneFifteen
- Returns:
- Whether the bukkit in use is for MC >= 1.15
-
isOneSixteen
- Returns:
- Whether the bukkit in use is for MC >= 1.16
-
isOneSeventeen
- Returns:
- Whether the bukkit in use is for MC >= 1.17
-
isOneTwenty
- Returns:
- Whether the bukkit in use is for MC >= 1.20
-
isOneTwentyOne
- Returns:
- Whether the bukkit in use is for MC >= 1.21
-
isOneTwentyOneTwo
- Returns:
- Whether the bukkit in use is for MC >= 1.21.2
-
isOneTwentyOneThree
- Returns:
- Whether the bukkit in use is for MC >= 1.21.3
-
isOneTwentyOneFour
- Returns:
- Whether the bukkit in use is for MC >= 1.21.4
-
isOneTwentyOneFive
- Returns:
- Whether the bukkit in use is for MC >= 1.21.5
-
isOneTwentyTwo
- Returns:
- Whether the bukkit in use is for MC >= 1.22
-
isOneTwentyThree
- Returns:
- Whether the bukkit in use is for MC >= 1.23
-