public abstract class ResourcePackListEntry extends java.lang.Object implements GuiListExtended.IGuiListEntry
| Modifier and Type | Field and Description |
|---|---|
protected Minecraft |
mc |
protected GuiScreenResourcePacks |
resourcePacksGUI |
| Constructor and Description |
|---|
ResourcePackListEntry(GuiScreenResourcePacks resourcePacksGUIIn) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
bindResourcePackIcon() |
protected boolean |
canMoveDown() |
protected boolean |
canMoveLeft() |
protected boolean |
canMoveRight() |
protected boolean |
canMoveUp() |
void |
drawEntry(int slotIndex,
int x,
int y,
int listWidth,
int slotHeight,
int mouseX,
int mouseY,
boolean isSelected,
float partialTicks) |
protected abstract java.lang.String |
getResourcePackDescription() |
protected abstract int |
getResourcePackFormat() |
protected abstract java.lang.String |
getResourcePackName() |
boolean |
isServerPack() |
boolean |
mousePressed(int slotIndex,
int mouseX,
int mouseY,
int mouseEvent,
int relativeX,
int relativeY) |
void |
mouseReleased(int slotIndex,
int x,
int y,
int mouseEvent,
int relativeX,
int relativeY) |
protected boolean |
showHoverOverlay() |
void |
updatePosition(int slotIndex,
int x,
int y,
float partialTicks) |
protected final Minecraft mc
protected final GuiScreenResourcePacks resourcePacksGUI
public ResourcePackListEntry(GuiScreenResourcePacks resourcePacksGUIIn)
public void drawEntry(int slotIndex,
int x,
int y,
int listWidth,
int slotHeight,
int mouseX,
int mouseY,
boolean isSelected,
float partialTicks)
drawEntry in interface GuiListExtended.IGuiListEntryprotected abstract int getResourcePackFormat()
protected abstract java.lang.String getResourcePackDescription()
protected abstract java.lang.String getResourcePackName()
protected abstract void bindResourcePackIcon()
protected boolean showHoverOverlay()
protected boolean canMoveRight()
protected boolean canMoveLeft()
protected boolean canMoveUp()
protected boolean canMoveDown()
public boolean mousePressed(int slotIndex,
int mouseX,
int mouseY,
int mouseEvent,
int relativeX,
int relativeY)
mousePressed in interface GuiListExtended.IGuiListEntrypublic void updatePosition(int slotIndex,
int x,
int y,
float partialTicks)
updatePosition in interface GuiListExtended.IGuiListEntrypublic void mouseReleased(int slotIndex,
int x,
int y,
int mouseEvent,
int relativeX,
int relativeY)
mouseReleased in interface GuiListExtended.IGuiListEntrypublic boolean isServerPack()