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> voidaddOption(SlimefunGuideOption<T> option) static booleanstatic booleanThis method checks if the givenPlayerhas enabled theLearningAnimationOptionin theirSlimefunGuide.static voidopenSettings(Player p, ItemStack guide)
-
Method Details
-
addOption
-
openSettings
-
hasFireworksEnabled
This method checks if the givenPlayerhas enabled theFireworksOptionin theirSlimefunGuide. If they enabled this setting, they will see fireworks when they unlock aResearch. -
hasLearningAnimationEnabled
This method checks if the givenPlayerhas enabled theLearningAnimationOptionin theirSlimefunGuide. If they enabled this setting, they will see messages in chat about the progress of theirResearch.
-