public class ServerListEntryLanDetected extends java.lang.Object implements GuiListExtended.IGuiListEntry
| Modifier and Type | Field and Description |
|---|---|
private long |
field_148290_d |
protected LanServerDetector.LanServer |
field_148291_b |
private GuiMultiplayer |
field_148292_c |
protected Minecraft |
mc |
| Modifier | Constructor and Description |
|---|---|
protected |
ServerListEntryLanDetected(GuiMultiplayer p_i45046_1_,
LanServerDetector.LanServer p_i45046_2_) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawEntry(int slotIndex,
int x,
int y,
int listWidth,
int slotHeight,
int mouseX,
int mouseY,
boolean isSelected) |
LanServerDetector.LanServer |
getLanServer() |
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 final GuiMultiplayer field_148292_c
protected final Minecraft mc
protected final LanServerDetector.LanServer field_148291_b
private long field_148290_d
protected ServerListEntryLanDetected(GuiMultiplayer p_i45046_1_, LanServerDetector.LanServer p_i45046_2_)
public void drawEntry(int slotIndex,
int x,
int y,
int listWidth,
int slotHeight,
int mouseX,
int mouseY,
boolean isSelected)
drawEntry in interface GuiListExtended.IGuiListEntrypublic 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.IGuiListEntrypublic void setSelected(int p_178011_1_,
int p_178011_2_,
int p_178011_3_)
setSelected in interface GuiListExtended.IGuiListEntrypublic void mouseReleased(int slotIndex,
int x,
int y,
int mouseEvent,
int relativeX,
int relativeY)
mouseReleased in interface GuiListExtended.IGuiListEntrypublic LanServerDetector.LanServer getLanServer()