Uses of Enum Class
io.github.thebusybiscuit.slimefun4.api.MinecraftVersion
Packages that use 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
Methods in io.github.thebusybiscuit.slimefun4.api that return MinecraftVersionModifier and TypeMethodDescriptionstatic MinecraftVersionReturns 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.Methods in io.github.thebusybiscuit.slimefun4.api with parameters of type MinecraftVersionModifier and TypeMethodDescriptionbooleanMinecraftVersion.isAtLeast(MinecraftVersion version) This method checks whether thisMinecraftVersionis newer or equal to the givenMinecraftVersion, An unknown version will default to false.booleanMinecraftVersion.isBefore(MinecraftVersion version) This checks whether thisMinecraftVersionis older than the specifiedMinecraftVersion. -
Uses of MinecraftVersion in io.github.thebusybiscuit.slimefun4.implementation
Methods in io.github.thebusybiscuit.slimefun4.implementation that return MinecraftVersionModifier and TypeMethodDescriptionstatic MinecraftVersionSlimefun.getMinecraftVersion()This returns the currently installed version of Minecraft.