@Environment(value=CLIENT) public class CustomizeFlatLevelScreen extends Screen
Modifier and Type | Class and Description |
---|---|
(package private) class |
CustomizeFlatLevelScreen.SuperflatLayersListWidget |
Modifier and Type | Field and Description |
---|---|
private FlatChunkGeneratorConfig |
config |
private Consumer<FlatChunkGeneratorConfig> |
field_24565 |
private Text |
heightText |
private CustomizeFlatLevelScreen.SuperflatLayersListWidget |
layers |
protected CreateWorldScreen |
parent |
private Text |
tileText |
private ButtonWidget |
widgetButtonRemoveLayer |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
CustomizeFlatLevelScreen(CreateWorldScreen createWorldScreen,
Consumer<FlatChunkGeneratorConfig> consumer,
FlatChunkGeneratorConfig flatChunkGeneratorConfig) |
Modifier and Type | Method and Description |
---|---|
protected void |
init()
Called when a screen should be initialized.
|
private void |
method_2145() |
private boolean |
method_2147() |
void |
method_29054(FlatChunkGeneratorConfig flatChunkGeneratorConfig) |
FlatChunkGeneratorConfig |
method_29055() |
void |
onClose() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
mouseMoved
protected final CreateWorldScreen parent
private final Consumer<FlatChunkGeneratorConfig> field_24565
private FlatChunkGeneratorConfig config
private Text tileText
private Text heightText
private CustomizeFlatLevelScreen.SuperflatLayersListWidget layers
private ButtonWidget widgetButtonRemoveLayer
public CustomizeFlatLevelScreen(CreateWorldScreen createWorldScreen, Consumer<FlatChunkGeneratorConfig> consumer, FlatChunkGeneratorConfig flatChunkGeneratorConfig)
public FlatChunkGeneratorConfig method_29055()
public void method_29054(FlatChunkGeneratorConfig flatChunkGeneratorConfig)
protected void init()
This method is called when this screen is opened
or resized.
private void method_2145()
private boolean method_2147()
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)