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) |
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) |
void |
setSelected(int p_178011_1_,
int p_178011_2_,
int p_178011_3_) |
protected boolean |
showHoverOverlay() |
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)
drawEntry
in interface GuiListExtended.IGuiListEntry
protected 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.IGuiListEntry
public void setSelected(int p_178011_1_, int p_178011_2_, int p_178011_3_)
setSelected
in interface GuiListExtended.IGuiListEntry
public void mouseReleased(int slotIndex, int x, int y, int mouseEvent, int relativeX, int relativeY)
mouseReleased
in interface GuiListExtended.IGuiListEntry
public boolean isServerPack()