public abstract class ResourcePackListEntry extends java.lang.Object implements GuiListExtended.IGuiListEntry
Modifier and Type | Field and Description |
---|---|
private static IChatComponent |
field_183020_d |
private static IChatComponent |
field_183021_e |
private static IChatComponent |
field_183022_f |
protected Minecraft |
mc |
private static ResourceLocation |
RESOURCE_PACKS_TEXTURE |
protected GuiScreenResourcePacks |
resourcePacksGUI |
Constructor and Description |
---|
ResourcePackListEntry(GuiScreenResourcePacks resourcePacksGUIIn) |
Modifier and Type | Method and Description |
---|---|
void |
drawEntry(int slotIndex,
int x,
int y,
int listWidth,
int slotHeight,
int mouseX,
int mouseY,
boolean isSelected) |
protected boolean |
func_148307_h() |
protected boolean |
func_148308_f() |
protected boolean |
func_148309_e() |
protected boolean |
func_148310_d() |
protected abstract java.lang.String |
func_148311_a() |
protected abstract java.lang.String |
func_148312_b() |
protected abstract void |
func_148313_c() |
protected boolean |
func_148314_g() |
protected abstract int |
func_183019_a() |
boolean |
mousePressed(int slotIndex,
int p_148278_2_,
int p_148278_3_,
int p_148278_4_,
int p_148278_5_,
int p_148278_6_)
Returns true if the mouse has been pressed on this control.
|
void |
mouseReleased(int slotIndex,
int x,
int y,
int mouseEvent,
int relativeX,
int relativeY)
Fired when the mouse button is released.
|
void |
setSelected(int p_178011_1_,
int p_178011_2_,
int p_178011_3_) |
private static final ResourceLocation RESOURCE_PACKS_TEXTURE
private static final IChatComponent field_183020_d
private static final IChatComponent field_183021_e
private static final IChatComponent field_183022_f
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 func_183019_a()
protected abstract java.lang.String func_148311_a()
protected abstract java.lang.String func_148312_b()
protected abstract void func_148313_c()
protected boolean func_148310_d()
protected boolean func_148309_e()
protected boolean func_148308_f()
protected boolean func_148314_g()
protected boolean func_148307_h()
public boolean mousePressed(int slotIndex, int p_148278_2_, int p_148278_3_, int p_148278_4_, int p_148278_5_, int p_148278_6_)
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