Class CustomizeFlatLevelScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.CustomizeFlatLevelScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen
intermediary net/minecraft/class_413
official fsy
-
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
protected final CreateWorldScreen
(package private) static final Identifier
private Text
private ButtonWidget
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
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
(DrawContext context, int mouseX, int mouseY, float delta) void
setConfig
(FlatChunkGeneratorConfig config) (package private) void
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
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.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
SLOT_TEXTURE
- Mappings:
Namespace Name Mixin selector named SLOT_TEXTURE
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;SLOT_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45406
Lnet/minecraft/class_413;field_45406:Lnet/minecraft/class_2960;
official b
Lfsy;b:Lalz;
-
ICON_SIZE
private static final int ICON_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named ICON_SIZE
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_SIZE:I
intermediary field_32240
Lnet/minecraft/class_413;field_32240:I
official c
Lfsy;c:I
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named BUTTON_HEIGHT
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;BUTTON_HEIGHT:I
intermediary field_32241
Lnet/minecraft/class_413;field_32241:I
official d
Lfsy;d:I
-
ICON_BACKGROUND_OFFSET_X
private static final int ICON_BACKGROUND_OFFSET_X- See Also:
- Mappings:
Namespace Name Mixin selector named ICON_BACKGROUND_OFFSET_X
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_BACKGROUND_OFFSET_X:I
intermediary field_32242
Lnet/minecraft/class_413;field_32242:I
official s
Lfsy;s:I
-
ICON_BACKGROUND_OFFSET_Y
private static final int ICON_BACKGROUND_OFFSET_Y- See Also:
- Mappings:
Namespace Name Mixin selector named ICON_BACKGROUND_OFFSET_Y
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_BACKGROUND_OFFSET_Y:I
intermediary field_32243
Lnet/minecraft/class_413;field_32243:I
official u
Lfsy;u:I
-
ICON_OFFSET_X
private static final int ICON_OFFSET_X- See Also:
- Mappings:
Namespace Name Mixin selector named ICON_OFFSET_X
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_OFFSET_X:I
intermediary field_32244
Lnet/minecraft/class_413;field_32244:I
official v
Lfsy;v:I
-
ICON_OFFSET_Y
private static final int ICON_OFFSET_Y- See Also:
- Mappings:
Namespace Name Mixin selector named ICON_OFFSET_Y
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_OFFSET_Y:I
intermediary field_32245
Lnet/minecraft/class_413;field_32245:I
official w
Lfsy;w:I
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;parent:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;
intermediary field_2422
Lnet/minecraft/class_413;field_2422:Lnet/minecraft/class_525;
official a
Lfsy;a:Lfyw;
-
configConsumer
- Mappings:
Namespace Name Mixin selector named configConsumer
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;configConsumer:Ljava/util/function/Consumer;
intermediary field_24565
Lnet/minecraft/class_413;field_24565:Ljava/util/function/Consumer;
official x
Lfsy;x:Ljava/util/function/Consumer;
-
config
FlatChunkGeneratorConfig config- Mappings:
Namespace Name Mixin selector named config
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;config:Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
intermediary field_2419
Lnet/minecraft/class_413;field_2419:Lnet/minecraft/class_3232;
official y
Lfsy;y:Lemm;
-
tileText
- Mappings:
Namespace Name Mixin selector named tileText
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;tileText:Lnet/minecraft/text/Text;
intermediary field_2418
Lnet/minecraft/class_413;field_2418:Lnet/minecraft/class_2561;
official z
Lfsy;z:Lxv;
-
heightText
- Mappings:
Namespace Name Mixin selector named heightText
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;heightText:Lnet/minecraft/text/Text;
intermediary field_2425
Lnet/minecraft/class_413;field_2425:Lnet/minecraft/class_2561;
official A
Lfsy;A:Lxv;
-
layers
- Mappings:
Namespace Name Mixin selector named layers
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;layers:Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen$SuperflatLayersListWidget;
intermediary field_2424
Lnet/minecraft/class_413;field_2424:Lnet/minecraft/class_413$class_4192;
official B
Lfsy;B:Lfsy$a;
-
widgetButtonRemoveLayer
- Mappings:
Namespace Name Mixin selector named widgetButtonRemoveLayer
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;widgetButtonRemoveLayer:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_2421
Lnet/minecraft/class_413;field_2421:Lnet/minecraft/class_4185;
official C
Lfsy;C:Lfoe;
-
-
Constructor Details
-
CustomizeFlatLevelScreen
public CustomizeFlatLevelScreen(CreateWorldScreen parent, Consumer<FlatChunkGeneratorConfig> configConsumer, FlatChunkGeneratorConfig config) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;<init>(Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;Ljava/util/function/Consumer;Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)V
intermediary <init>
Lnet/minecraft/class_413;<init>(Lnet/minecraft/class_525;Ljava/util/function/Consumer;Lnet/minecraft/class_3232;)V
official <init>
Lfsy;<init>(Lfyw;Ljava/util/function/Consumer;Lemm;)V
-
-
Method Details
-
getConfig
- Mappings:
Namespace Name Mixin selector named getConfig
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;getConfig()Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
intermediary method_29055
Lnet/minecraft/class_413;method_29055()Lnet/minecraft/class_3232;
official k
Lfsy;k()Lemm;
-
setConfig
- Mappings:
Namespace Name Mixin selector named setConfig
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;setConfig(Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)V
intermediary method_29054
Lnet/minecraft/class_413;method_29054(Lnet/minecraft/class_3232;)V
official a
Lfsy;a(Lemm;)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 named updateRemoveLayerButton
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;updateRemoveLayerButton()V
intermediary method_2145
Lnet/minecraft/class_413;method_2145()V
official l
Lfsy;l()V
-
hasLayerSelected
private boolean hasLayerSelected()- Mappings:
Namespace Name Mixin selector named hasLayerSelected
Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;hasLayerSelected()Z
intermediary method_2147
Lnet/minecraft/class_413;method_2147()Z
official E
Lfsy;E()Z
-
close
public void close() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfpi;a(Lfnr;IIF)V
-