Uses of Enum Class
io.github.thebusybiscuit.slimefun4.api.MinecraftVersion
Package
Description
This package contains a bunch of classes and sub-packages related to the interaction
with Slimefun via an API.
This package holds all classes that are related to the actual implementation of this plugin.
-
Uses of MinecraftVersion in io.github.thebusybiscuit.slimefun4.api
Modifier and TypeMethodDescriptionstatic MinecraftVersion
Returns the enum constant of this class with the specified name.static MinecraftVersion[]
MinecraftVersion.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionboolean
MinecraftVersion.isAtLeast
(MinecraftVersion version) This method checks whether thisMinecraftVersion
is newer or equal to the givenMinecraftVersion
, An unknown version will default to false.boolean
MinecraftVersion.isBefore
(MinecraftVersion version) This checks whether thisMinecraftVersion
is older than the specifiedMinecraftVersion
. -
Uses of MinecraftVersion in io.github.thebusybiscuit.slimefun4.implementation
Modifier and TypeMethodDescriptionstatic MinecraftVersion
Slimefun.getMinecraftVersion()
This returns the currently installed version of Minecraft.