| Modifier and Type | Field and Description |
|---|---|
IPage |
pageToEmulate |
java.lang.String |
sound |
| Constructor and Description |
|---|
PageSound(IPage pageToEmulate,
java.lang.String sound) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSee(Book book,
CategoryAbstract category,
EntryAbstract entry,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack bookStack,
GuiEntry guiEntry) |
void |
draw(Book book,
CategoryAbstract category,
EntryAbstract entry,
int guiLeft,
int guiTop,
int mouseX,
int mouseY,
GuiBase guiBase,
net.minecraft.client.gui.FontRenderer fontRenderer) |
void |
drawExtras(Book book,
CategoryAbstract category,
EntryAbstract entry,
int guiLeft,
int guiTop,
int mouseX,
int mouseY,
GuiBase guiBase,
net.minecraft.client.gui.FontRenderer fontRenderer) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
onLeftClicked(Book book,
CategoryAbstract category,
EntryAbstract entry,
int mouseX,
int mouseY,
net.minecraft.entity.player.EntityPlayer player,
GuiEntry guiEntry) |
void |
onRightClicked(Book book,
CategoryAbstract category,
EntryAbstract entry,
int mouseX,
int mouseY,
net.minecraft.entity.player.EntityPlayer player,
GuiEntry guiEntry) |
public IPage pageToEmulate
public java.lang.String sound
public PageSound(IPage pageToEmulate, java.lang.String sound)
pageToEmulate - - Which page to use as a basesound - - Sound to playpublic void draw(Book book, CategoryAbstract category, EntryAbstract entry, int guiLeft, int guiTop, int mouseX, int mouseY, GuiBase guiBase, net.minecraft.client.gui.FontRenderer fontRenderer)
public void drawExtras(Book book, CategoryAbstract category, EntryAbstract entry, int guiLeft, int guiTop, int mouseX, int mouseY, GuiBase guiBase, net.minecraft.client.gui.FontRenderer fontRenderer)
drawExtras in interface IPagedrawExtras in class PageBasepublic boolean canSee(Book book, CategoryAbstract category, EntryAbstract entry, net.minecraft.entity.player.EntityPlayer player, net.minecraft.item.ItemStack bookStack, GuiEntry guiEntry)
public void onLeftClicked(Book book, CategoryAbstract category, EntryAbstract entry, int mouseX, int mouseY, net.minecraft.entity.player.EntityPlayer player, GuiEntry guiEntry)
onLeftClicked in interface IPageonLeftClicked in class PageBasepublic void onRightClicked(Book book, CategoryAbstract category, EntryAbstract entry, int mouseX, int mouseY, net.minecraft.entity.player.EntityPlayer player, GuiEntry guiEntry)
onRightClicked in interface IPageonRightClicked in class PageBasepublic boolean equals(java.lang.Object o)
public int hashCode()
hashCode in class java.lang.Object