Package dev.plex.util
Class GameRuleUtil
java.lang.Object
dev.plex.util.GameRuleUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Object
check
(T value) static <T> void
commitGlobalGameRules
(org.bukkit.World world) static <T> void
commitSpecificGameRules
(org.bukkit.World world) private static <T> void
readGameRules
(org.bukkit.World world, String s)
-
Constructor Details
-
GameRuleUtil
public GameRuleUtil()
-
-
Method Details
-
commitGlobalGameRules
public static <T> void commitGlobalGameRules(org.bukkit.World world) -
commitSpecificGameRules
public static <T> void commitSpecificGameRules(org.bukkit.World world) -
readGameRules
-
check
-