Class SurvivalSlimefunGuide
java.lang.Object
io.github.thebusybiscuit.slimefun4.implementation.guide.SurvivalSlimefunGuide
- All Implemented Interfaces:
 SlimefunGuideImplementation
- Direct Known Subclasses:
 CheatSheetSlimefunGuide
The 
SurvivalSlimefunGuide is the standard version of our SlimefunGuide.
 It uses an Inventory to display SlimefunGuide contents.- Author:
 - TheBusyBiscuit
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionSurvivalSlimefunGuide(boolean showVanillaRecipes, boolean showHiddenItemGroupsInSearch)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidcreateHeader(Player p, PlayerProfile profile, ChestMenu menu) voiddisplayItem(PlayerProfile profile, SlimefunItem item, boolean addToHistory) voiddisplayItem(PlayerProfile profile, ItemStack item, int index, boolean addToHistory) getItem()Returns theItemStackrepresentation for thisSlimefunGuideImplementation.getMode()EverySlimefunGuideImplementationcan be associated with aSlimefunGuideMode.getVisibleItemGroups(Player p, PlayerProfile profile) protected final booleanvoidopenItemGroup(PlayerProfile profile, ItemGroup itemGroup, int page) voidopenMainMenu(PlayerProfile profile, int page) voidopenSearch(PlayerProfile profile, String input, boolean addToHistory) Methods 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
- 
SurvivalSlimefunGuide
public SurvivalSlimefunGuide(boolean showVanillaRecipes, boolean showHiddenItemGroupsInSearch)  
 - 
 - 
Method Details
- 
getMode
Description copied from interface:SlimefunGuideImplementationEverySlimefunGuideImplementationcan be associated with aSlimefunGuideMode.- Specified by:
 getModein interfaceSlimefunGuideImplementation- 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- Returns:
 - The 
ItemStackrepresentation for thisSlimefunGuideImplementation 
 - 
isSurvivalMode
protected final boolean isSurvivalMode() - 
getVisibleItemGroups
@Nonnull protected List<ItemGroup> getVisibleItemGroups(@Nonnull Player p, @Nonnull PlayerProfile profile) - Parameters:
 p- ThePlayerwho opened hisSlimefunGuideprofile- ThePlayerProfileof thePlayer- Returns:
 - a 
Listof visibleItemGroupinstances 
 - 
openMainMenu
- Specified by:
 openMainMenuin interfaceSlimefunGuideImplementation
 - 
openItemGroup
@ParametersAreNonnullByDefault public void openItemGroup(PlayerProfile profile, ItemGroup itemGroup, int page) - Specified by:
 openItemGroupin interfaceSlimefunGuideImplementation
 - 
openSearch
@ParametersAreNonnullByDefault public void openSearch(PlayerProfile profile, String input, boolean addToHistory) - Specified by:
 openSearchin interfaceSlimefunGuideImplementation
 - 
displayItem
@ParametersAreNonnullByDefault public void displayItem(PlayerProfile profile, ItemStack item, int index, boolean addToHistory) - Specified by:
 displayItemin interfaceSlimefunGuideImplementation
 - 
displayItem
@ParametersAreNonnullByDefault public void displayItem(PlayerProfile profile, SlimefunItem item, boolean addToHistory) - Specified by:
 displayItemin interfaceSlimefunGuideImplementation
 - 
createHeader
@ParametersAreNonnullByDefault public void createHeader(Player p, PlayerProfile profile, ChestMenu menu)  
 -