Class SlimefunGuideSettings
java.lang.Object
io.github.thebusybiscuit.slimefun4.core.guide.options.SlimefunGuideSettings
This static utility class offers various methods that provide access to the
Settings menu of our
SlimefunGuide
.
This menu is used to allow a Player
to change things such as the Language
.- Author:
- TheBusyBiscuit
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> void
addOption
(SlimefunGuideOption<T> option) static boolean
static boolean
This method checks if the givenPlayer
has enabled theLearningAnimationOption
in theirSlimefunGuide
.static void
openSettings
(Player p, ItemStack guide)
-
Method Details
-
addOption
-
openSettings
-
hasFireworksEnabled
This method checks if the givenPlayer
has enabled theFireworksOption
in theirSlimefunGuide
. If they enabled this setting, they will see fireworks when they unlock aResearch
. -
hasLearningAnimationEnabled
This method checks if the givenPlayer
has enabled theLearningAnimationOption
in theirSlimefunGuide
. If they enabled this setting, they will see messages in chat about the progress of theirResearch
.
-