@Environment(value=CLIENT) public class ResourcePackOptionsScreen extends GameOptionsScreen
| Modifier and Type | Field and Description |
|---|---|
private AvailableResourcePackListWidget |
availablePacks |
private boolean |
dirty |
private SelectedResourcePackListWidget |
enabledPacks |
gameOptions, parentbuttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
ResourcePackOptionsScreen(Screen parent,
GameOptions gameOptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable(ResourcePackListWidget.ResourcePackEntry resourcePack) |
void |
enable(ResourcePackListWidget.ResourcePackEntry resourcePack) |
protected void |
init() |
boolean |
isEnabled(ResourcePackListWidget.ResourcePackEntry resourcePack) |
void |
markDirty() |
void |
render(MatrixStack matrixStack,
int mouseY,
int int2,
float float2) |
onClose, removedaddButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, fill, fillGradient, getZOffset, method_27534, method_27535, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate AvailableResourcePackListWidget availablePacks
private SelectedResourcePackListWidget enabledPacks
private boolean dirty
public ResourcePackOptionsScreen(Screen parent, GameOptions gameOptions)
public void enable(ResourcePackListWidget.ResourcePackEntry resourcePack)
public void disable(ResourcePackListWidget.ResourcePackEntry resourcePack)
public boolean isEnabled(ResourcePackListWidget.ResourcePackEntry resourcePack)
public void render(MatrixStack matrixStack, int mouseY, int int2, float float2)
public void markDirty()