Package net.minecraft.client.gui.screen
Class CustomizeFlatLevelScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.CustomizeFlatLevelScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official eoa
intermediary net/minecraft/class_413
named net/minecraft/client/gui/screen/CustomizeFlatLevelScreen
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
(package private) FlatChunkGeneratorConfig
private final Consumer<FlatChunkGeneratorConfig>
private Text
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
protected final CreateWorldScreen
private Text
private ButtonWidget
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionCustomizeFlatLevelScreen
(CreateWorldScreen parent, Consumer<FlatChunkGeneratorConfig> configConsumer, FlatChunkGeneratorConfig config) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private boolean
protected void
init()
Called when a screen should be initialized.void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) void
setConfig
(FlatChunkGeneratorConfig config) (package private) void
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
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.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
ICON_TEXTURE_SIZE
private static final int ICON_TEXTURE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official b
Leoa;b:I
intermediary field_32239
Lnet/minecraft/class_413;field_32239:I
named ICON_TEXTURE_SIZE
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;ICON_TEXTURE_SIZE:I
-
ICON_SIZE
private static final int ICON_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official c
Leoa;c:I
intermediary field_32240
Lnet/minecraft/class_413;field_32240:I
named ICON_SIZE
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;ICON_SIZE:I
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official n
Leoa;n:I
intermediary field_32241
Lnet/minecraft/class_413;field_32241:I
named BUTTON_HEIGHT
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;BUTTON_HEIGHT:I
-
ICON_BACKGROUND_OFFSET_X
private static final int ICON_BACKGROUND_OFFSET_X- See Also:
- Mappings:
Namespace Name Mixin selector official o
Leoa;o:I
intermediary field_32242
Lnet/minecraft/class_413;field_32242:I
named ICON_BACKGROUND_OFFSET_X
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;ICON_BACKGROUND_OFFSET_X:I
-
ICON_BACKGROUND_OFFSET_Y
private static final int ICON_BACKGROUND_OFFSET_Y- See Also:
- Mappings:
Namespace Name Mixin selector official p
Leoa;p:I
intermediary field_32243
Lnet/minecraft/class_413;field_32243:I
named ICON_BACKGROUND_OFFSET_Y
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;ICON_BACKGROUND_OFFSET_Y:I
-
ICON_OFFSET_X
private static final int ICON_OFFSET_X- See Also:
- Mappings:
Namespace Name Mixin selector official q
Leoa;q:I
intermediary field_32244
Lnet/minecraft/class_413;field_32244:I
named ICON_OFFSET_X
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;ICON_OFFSET_X:I
-
ICON_OFFSET_Y
private static final int ICON_OFFSET_Y- See Also:
- Mappings:
Namespace Name Mixin selector official r
Leoa;r:I
intermediary field_32245
Lnet/minecraft/class_413;field_32245:I
named ICON_OFFSET_Y
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;ICON_OFFSET_Y:I
-
parent
- Mappings:
Namespace Name Mixin selector official a
Leoa;a:Leti;
intermediary field_2422
Lnet/minecraft/class_413;field_2422:Lnet/minecraft/class_525;
named parent
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;parent:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;
-
configConsumer
- Mappings:
Namespace Name Mixin selector official s
Leoa;s:Ljava/util/function/Consumer;
intermediary field_24565
Lnet/minecraft/class_413;field_24565:Ljava/util/function/Consumer;
named configConsumer
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;configConsumer:Ljava/util/function/Consumer;
-
config
FlatChunkGeneratorConfig config- Mappings:
Namespace Name Mixin selector official t
Leoa;t:Ldms;
intermediary field_2419
Lnet/minecraft/class_413;field_2419:Lnet/minecraft/class_3232;
named config
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;config:Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
-
tileText
- Mappings:
Namespace Name Mixin selector official u
Leoa;u:Lss;
intermediary field_2418
Lnet/minecraft/class_413;field_2418:Lnet/minecraft/class_2561;
named tileText
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;tileText:Lnet/minecraft/text/Text;
-
heightText
- Mappings:
Namespace Name Mixin selector official v
Leoa;v:Lss;
intermediary field_2425
Lnet/minecraft/class_413;field_2425:Lnet/minecraft/class_2561;
named heightText
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;heightText:Lnet/minecraft/text/Text;
-
layers
- Mappings:
Namespace Name Mixin selector official w
Leoa;w:Leoa$a;
intermediary field_2424
Lnet/minecraft/class_413;field_2424:Lnet/minecraft/class_413$class_4192;
named layers
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;layers:Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen$SuperflatLayersListWidget;
-
widgetButtonRemoveLayer
- Mappings:
Namespace Name Mixin selector official x
Leoa;x:Leky;
intermediary field_2421
Lnet/minecraft/class_413;field_2421:Lnet/minecraft/class_4185;
named widgetButtonRemoveLayer
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;widgetButtonRemoveLayer:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
-
Constructor Details
-
CustomizeFlatLevelScreen
public CustomizeFlatLevelScreen(CreateWorldScreen parent, Consumer<FlatChunkGeneratorConfig> configConsumer, FlatChunkGeneratorConfig config) - Mappings:
Namespace Name Mixin selector official <init>
Leoa;<init>(Leti;Ljava/util/function/Consumer;Ldms;)V
intermediary <init>
Lnet/minecraft/class_413;<init>(Lnet/minecraft/class_525;Ljava/util/function/Consumer;Lnet/minecraft/class_3232;)V
named <init>
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;<init>(Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;Ljava/util/function/Consumer;Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)V
-
-
Method Details
-
getConfig
- Mappings:
Namespace Name Mixin selector official i
Leoa;i()Ldms;
intermediary method_29055
Lnet/minecraft/class_413;method_29055()Lnet/minecraft/class_3232;
named getConfig
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;getConfig()Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
-
setConfig
- Mappings:
Namespace Name Mixin selector official a
Leoa;a(Ldms;)V
intermediary method_29054
Lnet/minecraft/class_413;method_29054(Lnet/minecraft/class_3232;)V
named setConfig
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;setConfig(Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)V
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
updateRemoveLayerButton
void updateRemoveLayerButton()- Mappings:
Namespace Name Mixin selector official w
Leoa;w()V
intermediary method_2145
Lnet/minecraft/class_413;method_2145()V
named updateRemoveLayerButton
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;updateRemoveLayerButton()V
-
hasLayerSelected
private boolean hasLayerSelected()- Mappings:
Namespace Name Mixin selector official x
Leoa;x()Z
intermediary method_2147
Lnet/minecraft/class_413;method_2147()Z
named hasLayerSelected
Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;hasLayerSelected()Z
-
close
public void close() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lely;a(Leed;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-