public class CategoryBase extends CategoryAbstract
entryList, unlocCategoryName| Constructor and Description |
|---|
CategoryBase(java.util.List<EntryAbstract> entryList,
java.lang.String unlocCategoryName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSee(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack bookStack) |
void |
draw(Book book,
int categoryX,
int categoryY,
int categoryWidth,
int categoryHeight,
int mouseX,
int mouseY,
GuiBase guiBase,
boolean drawOnLeft,
net.minecraft.client.renderer.entity.RenderItem renderItem) |
void |
drawExtras(Book book,
int categoryX,
int categoryY,
int categoryWidth,
int categoryHeight,
int mouseX,
int mouseY,
GuiBase guiBase,
boolean drawOnLeft,
net.minecraft.client.renderer.entity.RenderItem renderItem) |
void |
onInit(Book book,
GuiHome guiHome,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack bookStack) |
void |
onLeftClicked(Book book,
int mouseX,
int mouseY,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack bookStack) |
void |
onRightClicked(Book book,
int mouseX,
int mouseY,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack bookStack) |
addEntry, addEntryList, equals, getLocalizedName, getTooltip, hashCode, removeEntry, removeEntryListpublic CategoryBase(java.util.List<EntryAbstract> entryList, java.lang.String unlocCategoryName)
public void draw(Book book, int categoryX, int categoryY, int categoryWidth, int categoryHeight, int mouseX, int mouseY, GuiBase guiBase, boolean drawOnLeft, net.minecraft.client.renderer.entity.RenderItem renderItem)
draw in class CategoryAbstractpublic void drawExtras(Book book, int categoryX, int categoryY, int categoryWidth, int categoryHeight, int mouseX, int mouseY, GuiBase guiBase, boolean drawOnLeft, net.minecraft.client.renderer.entity.RenderItem renderItem)
drawExtras in class CategoryAbstractpublic boolean canSee(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack bookStack)
canSee in class CategoryAbstractpublic void onLeftClicked(Book book, int mouseX, int mouseY, net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack bookStack)
onLeftClicked in class CategoryAbstractpublic void onRightClicked(Book book, int mouseX, int mouseY, net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack bookStack)
onRightClicked in class CategoryAbstractpublic void onInit(Book book, GuiHome guiHome, net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack bookStack)
onInit in class CategoryAbstract