Class CheatSheetSlimefunGuide
java.lang.Object
io.github.thebusybiscuit.slimefun4.implementation.guide.SurvivalSlimefunGuide
io.github.thebusybiscuit.slimefun4.implementation.guide.CheatSheetSlimefunGuide
- All Implemented Interfaces:
SlimefunGuideImplementation
This is an admin-variant of the
SurvivalSlimefunGuide
which allows a Player
to spawn in a SlimefunItem
via click rather than showing their Recipe
.- Author:
- TheBusyBiscuit
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createHeader
(Player p, PlayerProfile profile, ChestMenu menu) getItem()
Returns theItemStack
representation for thisSlimefunGuideImplementation
.getMode()
EverySlimefunGuideImplementation
can be associated with aSlimefunGuideMode
.getVisibleItemGroups
(Player p, PlayerProfile profile) Methods inherited from class io.github.thebusybiscuit.slimefun4.implementation.guide.SurvivalSlimefunGuide
displayItem, displayItem, isSurvivalMode, openItemGroup, openMainMenu, openSearch
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.guide.SlimefunGuideImplementation
unlockItem
-
Constructor Details
-
CheatSheetSlimefunGuide
public CheatSheetSlimefunGuide()
-
-
Method Details
-
getVisibleItemGroups
- Overrides:
getVisibleItemGroups
in classSurvivalSlimefunGuide
- Parameters:
p
- ThePlayer
who opened hisSlimefunGuide
profile
- ThePlayerProfile
of thePlayer
- Returns:
- a
List
of visibleItemGroup
instances
-
getMode
Description copied from interface:SlimefunGuideImplementation
EverySlimefunGuideImplementation
can be associated with aSlimefunGuideMode
.- Specified by:
getMode
in interfaceSlimefunGuideImplementation
- Overrides:
getMode
in classSurvivalSlimefunGuide
- Returns:
- The mode this
SlimefunGuideImplementation
represents
-
getItem
Description copied from interface:SlimefunGuideImplementation
Returns theItemStack
representation for thisSlimefunGuideImplementation
. In other words: TheItemStack
you hold in your hand and that you use to open yourSlimefunGuide
- Specified by:
getItem
in interfaceSlimefunGuideImplementation
- Overrides:
getItem
in classSurvivalSlimefunGuide
- Returns:
- The
ItemStack
representation for thisSlimefunGuideImplementation
-
createHeader
@ParametersAreNonnullByDefault public void createHeader(Player p, PlayerProfile profile, ChestMenu menu) - Overrides:
createHeader
in classSurvivalSlimefunGuide
-