public class GuiListWorldSelectionEntry extends java.lang.Object implements GuiListExtended.IGuiListEntry
Modifier and Type | Field and Description |
---|---|
private Minecraft |
client |
private GuiListWorldSelection |
containingListSel |
private static java.text.DateFormat |
DATE_FORMAT |
private DynamicTexture |
icon |
private static ResourceLocation |
ICON_MISSING |
private static ResourceLocation |
ICON_OVERLAY_LOCATION |
private java.io.File |
iconFile |
private ResourceLocation |
iconLocation |
private long |
lastClickTime |
private static org.apache.logging.log4j.Logger |
LOGGER |
private GuiWorldSelection |
worldSelScreen |
private WorldSummary |
worldSummary |
Constructor and Description |
---|
GuiListWorldSelectionEntry(GuiListWorldSelection listWorldSelIn,
WorldSummary worldSummaryIn,
ISaveFormat saveFormat) |
Modifier and Type | Method and Description |
---|---|
void |
deleteWorld() |
void |
drawEntry(int slotIndex,
int x,
int y,
int listWidth,
int slotHeight,
int mouseX,
int mouseY,
boolean isSelected,
float partialTicks) |
void |
editWorld() |
void |
joinWorld() |
private void |
loadServerIcon() |
private void |
loadWorld() |
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 |
recreateWorld() |
void |
updatePosition(int slotIndex,
int x,
int y,
float partialTicks) |
private static final org.apache.logging.log4j.Logger LOGGER
private static final java.text.DateFormat DATE_FORMAT
private static final ResourceLocation ICON_MISSING
private static final ResourceLocation ICON_OVERLAY_LOCATION
private final Minecraft client
private final GuiWorldSelection worldSelScreen
private final WorldSummary worldSummary
private final ResourceLocation iconLocation
private final GuiListWorldSelection containingListSel
private java.io.File iconFile
private DynamicTexture icon
private long lastClickTime
public GuiListWorldSelectionEntry(GuiListWorldSelection listWorldSelIn, WorldSummary worldSummaryIn, ISaveFormat saveFormat)
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
public boolean mousePressed(int slotIndex, int mouseX, int mouseY, int mouseEvent, int relativeX, int relativeY)
mousePressed
in interface GuiListExtended.IGuiListEntry
public void joinWorld()
public void deleteWorld()
public void editWorld()
public void recreateWorld()
private void loadWorld()
private void loadServerIcon()
public void mouseReleased(int slotIndex, int x, int y, int mouseEvent, int relativeX, int relativeY)
mouseReleased
in interface GuiListExtended.IGuiListEntry
public void updatePosition(int slotIndex, int x, int y, float partialTicks)
updatePosition
in interface GuiListExtended.IGuiListEntry