Uses of Enum Class
io.github.thebusybiscuit.slimefun4.core.guide.SlimefunGuideMode
Package
Description
This package contains all extensions of
Event
that Slimefun provides
and allows you to listen to.This package contains a few
ItemGroup
variations.This package holds the core systems of Slimefun, these are not necessarily used as an API
but rather provide the core functionality of this
Plugin
.This package contains the core system for the
SlimefunGuide
.This package provides the different implementations of our
SlimefunGuide
-
Uses of SlimefunGuideMode in io.github.thebusybiscuit.slimefun4.api.events
Modifier and TypeMethodDescriptionSlimefunGuideOpenEvent.getGuideLayout()
This returns theSlimefunGuideMode
of the Slimefun Guide thatPlayer
tries to open.Modifier and TypeMethodDescriptionvoid
SlimefunGuideOpenEvent.setGuideLayout
(SlimefunGuideMode layout) Changes theSlimefunGuideMode
that was tried to be opened with.ModifierConstructorDescriptionSlimefunGuideOpenEvent
(Player p, ItemStack guide, SlimefunGuideMode layout) -
Uses of SlimefunGuideMode in io.github.thebusybiscuit.slimefun4.api.items.groups
Modifier and TypeMethodDescriptionabstract boolean
FlexItemGroup.isVisible
(Player p, PlayerProfile profile, SlimefunGuideMode layout) This method returns whether thisFlexItemGroup
is visible under the given context.boolean
NestedItemGroup.isVisible
(Player p, PlayerProfile profile, SlimefunGuideMode mode) abstract void
FlexItemGroup.open
(Player p, PlayerProfile profile, SlimefunGuideMode layout) This method is called when aPlayer
opens thisFlexItemGroup
.void
NestedItemGroup.open
(Player p, PlayerProfile profile, SlimefunGuideMode mode) -
Uses of SlimefunGuideMode in io.github.thebusybiscuit.slimefun4.core
Modifier and TypeMethodDescriptionSlimefunRegistry.getSlimefunGuide
(SlimefunGuideMode mode) This returns the correspondingSlimefunGuideImplementation
for a certainSlimefunGuideMode
. -
Uses of SlimefunGuideMode in io.github.thebusybiscuit.slimefun4.core.guide
Modifier and TypeMethodDescriptionstatic SlimefunGuideMode
SlimefunGuide.getDefaultMode()
Get the default mode for the Slimefun guide.SlimefunGuideImplementation.getMode()
EverySlimefunGuideImplementation
can be associated with aSlimefunGuideMode
.static SlimefunGuideMode
Returns the enum constant of this class with the specified name.static SlimefunGuideMode[]
SlimefunGuideMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic ItemStack
SlimefunGuide.getItem
(SlimefunGuideMode design) static void
SlimefunGuide.openGuide
(Player p, SlimefunGuideMode mode) static void
SlimefunGuide.openItemGroup
(PlayerProfile profile, ItemGroup itemGroup, SlimefunGuideMode mode, int selectedPage) static void
SlimefunGuide.openMainMenu
(PlayerProfile profile, SlimefunGuideMode mode, int selectedPage) static void
SlimefunGuide.openSearch
(PlayerProfile profile, String input, SlimefunGuideMode mode, boolean addToHistory) -
Uses of SlimefunGuideMode in io.github.thebusybiscuit.slimefun4.implementation.guide