| Modifier and Type | Field and Description |
|---|---|
IPage |
pageToEmulate |
net.minecraft.util.SoundEvent |
sound |
| Constructor and Description |
|---|
PageSound(IPage pageToEmulate,
net.minecraft.util.SoundEvent sound) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
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 fontRendererObj) |
void |
drawExtras(Book book,
CategoryAbstract category,
EntryAbstract entry,
int guiLeft,
int guiTop,
int mouseX,
int mouseY,
GuiBase guiBase,
net.minecraft.client.gui.FontRenderer fontRendererObj) |
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) |
onInit, setUnicodeFlagpublic IPage pageToEmulate
public net.minecraft.util.SoundEvent sound
public PageSound(IPage pageToEmulate, net.minecraft.util.SoundEvent 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 fontRendererObj)
public void drawExtras(Book book, CategoryAbstract category, EntryAbstract entry, int guiLeft, int guiTop, int mouseX, int mouseY, GuiBase guiBase, net.minecraft.client.gui.FontRenderer fontRendererObj)
drawExtras in interface IPagedrawExtras in class Pagepublic 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 Pagepublic 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 Page@Generated(value="lombok") public boolean equals(java.lang.Object o)
@Generated(value="lombok") protected boolean canEqual(java.lang.Object other)
@Generated(value="lombok") public int hashCode()
hashCode in class java.lang.Object