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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateHeader(Player p, PlayerProfile profile, ChestMenu menu) getItem()Returns theItemStackrepresentation for thisSlimefunGuideImplementation.getMode()EverySlimefunGuideImplementationcan 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, openSearchMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.guide.SlimefunGuideImplementation
unlockItem
-
Constructor Details
-
CheatSheetSlimefunGuide
public CheatSheetSlimefunGuide()
-
-
Method Details
-
getVisibleItemGroups
- Overrides:
getVisibleItemGroupsin classSurvivalSlimefunGuide- Parameters:
p- ThePlayerwho opened hisSlimefunGuideprofile- ThePlayerProfileof thePlayer- Returns:
- a
Listof visibleItemGroupinstances
-
getMode
Description copied from interface:SlimefunGuideImplementationEverySlimefunGuideImplementationcan be associated with aSlimefunGuideMode.- Specified by:
getModein interfaceSlimefunGuideImplementation- Overrides:
getModein classSurvivalSlimefunGuide- Returns:
- The mode this
SlimefunGuideImplementationrepresents
-
getItem
Description copied from interface:SlimefunGuideImplementationReturns theItemStackrepresentation for thisSlimefunGuideImplementation. In other words: TheItemStackyou hold in your hand and that you use to open yourSlimefunGuide- Specified by:
getItemin interfaceSlimefunGuideImplementation- Overrides:
getItemin classSurvivalSlimefunGuide- Returns:
- The
ItemStackrepresentation for thisSlimefunGuideImplementation
-
createHeader
@ParametersAreNonnullByDefault public void createHeader(Player p, PlayerProfile profile, ChestMenu menu) - Overrides:
createHeaderin classSurvivalSlimefunGuide
-