Package net.minecraft.client.gui.screens
Class CreateFlatWorldScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.CreateFlatWorldScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Widget
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate Consumer<FlatLevelGeneratorSettings>
private Component
private Component
private Button
(package private) FlatLevelGeneratorSettings
protected CreateWorldScreen
private static int
private static int
private static int
private static int
private static int
private static int
private static int
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorDescriptionCreateFlatWorldScreen(CreateWorldScreen p_95822_, Consumer<FlatLevelGeneratorSettings> p_95823_, FlatLevelGeneratorSettings p_95824_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
protected void
init()
void
onClose()
void
void
setConfig(FlatLevelGeneratorSettings p_95826_)
settings()
(package private) void
Methods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onFilesDrop, removed, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentToolTip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
SLOT_TEX_SIZE
private static final int SLOT_TEX_SIZE- See Also:
- Constant Field Values
-
SLOT_BG_SIZE
private static final int SLOT_BG_SIZE- See Also:
- Constant Field Values
-
SLOT_STAT_HEIGHT
private static final int SLOT_STAT_HEIGHT- See Also:
- Constant Field Values
-
SLOT_BG_X
private static final int SLOT_BG_X- See Also:
- Constant Field Values
-
SLOT_BG_Y
private static final int SLOT_BG_Y- See Also:
- Constant Field Values
-
SLOT_FG_X
private static final int SLOT_FG_X- See Also:
- Constant Field Values
-
SLOT_FG_Y
private static final int SLOT_FG_Y- See Also:
- Constant Field Values
-
parent
-
applySettings
-
generator
FlatLevelGeneratorSettings generator -
columnType
-
columnHeight
-
list
-
deleteLayerButton
-
-
Constructor Details
-
CreateFlatWorldScreen
public CreateFlatWorldScreen(CreateWorldScreen p_95822_, Consumer<FlatLevelGeneratorSettings> p_95823_, FlatLevelGeneratorSettings p_95824_)
-
-
Method Details
-
settings
-
setConfig
-
init
protected void init() -
updateButtonValidity
void updateButtonValidity() -
hasValidSelection
private boolean hasValidSelection() -
onClose
public void onClose() -
render
-