public class ChestSlimefunGuide extends java.lang.Object implements SlimefunGuideImplementation
Constructor and Description |
---|
ChestSlimefunGuide(boolean showVanillaRecipes) |
Modifier and Type | Method and Description |
---|---|
void |
displayItem(PlayerProfile profile,
ItemStack item,
boolean addToHistory) |
void |
displayItem(PlayerProfile profile,
SlimefunItem item,
boolean addToHistory) |
ItemStack |
getItem()
Returns the
ItemStack representation for this SlimefunGuideImplementation . |
SlimefunGuideLayout |
getLayout()
Every
SlimefunGuideImplementation can be associated with a
SlimefunGuideLayout . |
void |
openCategory(PlayerProfile profile,
Category category,
boolean survival,
int page) |
void |
openMainMenu(PlayerProfile profile,
boolean survival,
int page) |
void |
openSearch(PlayerProfile profile,
java.lang.String input,
boolean survival,
boolean addToHistory) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLastEntry, openEntry
public SlimefunGuideLayout getLayout()
SlimefunGuideImplementation
SlimefunGuideImplementation
can be associated with a
SlimefunGuideLayout
.getLayout
in interface SlimefunGuideImplementation
SlimefunGuideImplementation
representspublic ItemStack getItem()
SlimefunGuideImplementation
ItemStack
representation for this SlimefunGuideImplementation
.
In other words: The ItemStack
you hold in your hand and that you use to
open your SlimefunGuide
getItem
in interface SlimefunGuideImplementation
ItemStack
representation for this SlimefunGuideImplementation
public void openMainMenu(PlayerProfile profile, boolean survival, int page)
openMainMenu
in interface SlimefunGuideImplementation
public void openCategory(PlayerProfile profile, Category category, boolean survival, int page)
openCategory
in interface SlimefunGuideImplementation
public void openSearch(PlayerProfile profile, java.lang.String input, boolean survival, boolean addToHistory)
openSearch
in interface SlimefunGuideImplementation
public void displayItem(PlayerProfile profile, ItemStack item, boolean addToHistory)
displayItem
in interface SlimefunGuideImplementation
public void displayItem(PlayerProfile profile, SlimefunItem item, boolean addToHistory)
displayItem
in interface SlimefunGuideImplementation