public class FlatPresetsScreen extends Screen
Modifier and Type | Class and Description |
---|---|
(package private) static class |
FlatPresetsScreen.LayerItem |
(package private) class |
FlatPresetsScreen.SlotList |
Modifier and Type | Field and Description |
---|---|
private Button |
btnSelect |
private TextFieldWidget |
export |
private static java.util.List<FlatPresetsScreen.LayerItem> |
FLAT_WORLD_PRESETS |
private FlatPresetsScreen.SlotList |
list |
private java.lang.String |
listText |
private CreateFlatWorldScreen |
parentScreen |
private java.lang.String |
presetsShare |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
FlatPresetsScreen(CreateFlatWorldScreen parent) |
Modifier and Type | Method and Description |
---|---|
private static void |
addPreset(java.lang.String p_199709_0_,
IItemProvider itemIn,
Biome biomeIn,
java.util.List<java.lang.String> options,
FlatLayerInfo... layers) |
void |
func_213074_a(boolean p_213074_1_) |
protected void |
init() |
boolean |
mouseScrolled(double p_mouseScrolled_1_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_) |
void |
onClose() |
void |
removed() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
void |
resize(Minecraft p_resize_1_,
int p_resize_2_,
int p_resize_3_) |
void |
tick() |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, setSize, shouldCloseOnEsc, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseClicked, mouseDragged, mouseReleased, setFocusedDefault
mouseMoved
private static final java.util.List<FlatPresetsScreen.LayerItem> FLAT_WORLD_PRESETS
private final CreateFlatWorldScreen parentScreen
private java.lang.String presetsShare
private java.lang.String listText
private FlatPresetsScreen.SlotList list
private Button btnSelect
private TextFieldWidget export
public FlatPresetsScreen(CreateFlatWorldScreen parent)
public boolean mouseScrolled(double p_mouseScrolled_1_, double p_mouseScrolled_3_, double p_mouseScrolled_5_)
public void resize(Minecraft p_resize_1_, int p_resize_2_, int p_resize_3_)
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class Screen
public void func_213074_a(boolean p_213074_1_)
private static void addPreset(java.lang.String p_199709_0_, IItemProvider itemIn, Biome biomeIn, java.util.List<java.lang.String> options, FlatLayerInfo... layers)