public class GuiScreenResourcePacks extends GuiScreen
Modifier and Type | Field and Description |
---|---|
private java.util.List<ResourcePackListEntry> |
availableResourcePacks |
private GuiResourcePackAvailable |
availableResourcePacksList |
private boolean |
changed |
private GuiScreen |
parentScreen |
private java.util.List<ResourcePackListEntry> |
selectedResourcePacks |
private GuiResourcePackSelected |
selectedResourcePacksList |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiScreenResourcePacks(GuiScreen parentScreenIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
java.util.List<ResourcePackListEntry> |
getAvailableResourcePacks() |
java.util.List<ResourcePackListEntry> |
getListContaining(ResourcePackListEntry resourcePackEntry) |
java.util.List<ResourcePackListEntry> |
getSelectedResourcePacks() |
void |
handleMouseInput() |
boolean |
hasResourcePackEntry(ResourcePackListEntry resourcePackEntry) |
void |
initGui() |
void |
markChanged() |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
protected void |
mouseReleased(int mouseX,
int mouseY,
int state) |
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClickMove, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final GuiScreen parentScreen
private java.util.List<ResourcePackListEntry> availableResourcePacks
private java.util.List<ResourcePackListEntry> selectedResourcePacks
private GuiResourcePackAvailable availableResourcePacksList
private GuiResourcePackSelected selectedResourcePacksList
private boolean changed
public GuiScreenResourcePacks(GuiScreen parentScreenIn)
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
public boolean hasResourcePackEntry(ResourcePackListEntry resourcePackEntry)
public java.util.List<ResourcePackListEntry> getListContaining(ResourcePackListEntry resourcePackEntry)
public java.util.List<ResourcePackListEntry> getAvailableResourcePacks()
public java.util.List<ResourcePackListEntry> getSelectedResourcePacks()
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
mouseClicked
in class GuiScreen
java.io.IOException
protected void mouseReleased(int mouseX, int mouseY, int state)
mouseReleased
in class GuiScreen
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
public void markChanged()