public static class GuiPageButtonList.GuiEntry extends java.lang.Object implements GuiListExtended.IGuiListEntry
Modifier and Type | Field and Description |
---|---|
private Minecraft |
client |
private Gui |
component1 |
private Gui |
component2 |
private Gui |
focusedControl |
Constructor and Description |
---|
GuiEntry(Gui p_i45533_1_,
Gui p_i45533_2_) |
Modifier and Type | Method and Description |
---|---|
private boolean |
clickButton(GuiButton p_178023_1_,
int p_178023_2_,
int p_178023_3_,
int p_178023_4_) |
private boolean |
clickComponent(Gui p_178026_1_,
int p_178026_2_,
int p_178026_3_,
int p_178026_4_) |
private void |
clickTextField(GuiTextField p_178018_1_,
int p_178018_2_,
int p_178018_3_,
int p_178018_4_) |
void |
drawEntry(int slotIndex,
int x,
int y,
int listWidth,
int slotHeight,
int mouseX,
int mouseY,
boolean isSelected,
float partialTicks) |
Gui |
getComponent1() |
Gui |
getComponent2() |
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) |
private void |
releaseButton(GuiButton p_178019_1_,
int p_178019_2_,
int p_178019_3_,
int p_178019_4_) |
private void |
releaseComponent(Gui p_178016_1_,
int p_178016_2_,
int p_178016_3_,
int p_178016_4_) |
private void |
renderButton(GuiButton p_192635_1_,
int p_192635_2_,
int p_192635_3_,
int p_192635_4_,
boolean p_192635_5_,
float p_192635_6_) |
private void |
renderComponent(Gui p_192636_1_,
int p_192636_2_,
int p_192636_3_,
int p_192636_4_,
boolean p_192636_5_,
float p_192636_6_) |
private void |
renderLabel(GuiLabel p_178025_1_,
int p_178025_2_,
int p_178025_3_,
int p_178025_4_,
boolean p_178025_5_) |
private void |
renderTextField(GuiTextField p_178027_1_,
int p_178027_2_,
boolean p_178027_3_) |
void |
updatePosition(int slotIndex,
int x,
int y,
float partialTicks) |
private final Minecraft client
private final Gui component1
private final Gui component2
private Gui focusedControl
public Gui getComponent1()
public Gui getComponent2()
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.IGuiListEntry
private void renderComponent(Gui p_192636_1_, int p_192636_2_, int p_192636_3_, int p_192636_4_, boolean p_192636_5_, float p_192636_6_)
private void renderButton(GuiButton p_192635_1_, int p_192635_2_, int p_192635_3_, int p_192635_4_, boolean p_192635_5_, float p_192635_6_)
private void renderTextField(GuiTextField p_178027_1_, int p_178027_2_, boolean p_178027_3_)
private void renderLabel(GuiLabel p_178025_1_, int p_178025_2_, int p_178025_3_, int p_178025_4_, boolean p_178025_5_)
public void updatePosition(int slotIndex, int x, int y, float partialTicks)
updatePosition
in interface GuiListExtended.IGuiListEntry
public boolean mousePressed(int slotIndex, int mouseX, int mouseY, int mouseEvent, int relativeX, int relativeY)
mousePressed
in interface GuiListExtended.IGuiListEntry
private boolean clickComponent(Gui p_178026_1_, int p_178026_2_, int p_178026_3_, int p_178026_4_)
private boolean clickButton(GuiButton p_178023_1_, int p_178023_2_, int p_178023_3_, int p_178023_4_)
private void clickTextField(GuiTextField p_178018_1_, int p_178018_2_, int p_178018_3_, int p_178018_4_)
public void mouseReleased(int slotIndex, int x, int y, int mouseEvent, int relativeX, int relativeY)
mouseReleased
in interface GuiListExtended.IGuiListEntry
private void releaseComponent(Gui p_178016_1_, int p_178016_2_, int p_178016_3_, int p_178016_4_)
private void releaseButton(GuiButton p_178019_1_, int p_178019_2_, int p_178019_3_, int p_178019_4_)