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/CustomizeFlatLevelScreenintermediary net/minecraft/class_413official fsx
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int(package private) FlatChunkGeneratorConfigprivate final Consumer<FlatChunkGeneratorConfig> private Textprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprotected final CreateWorldScreen(package private) static final Identifierprivate Textprivate ButtonWidgetFields 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, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionCustomizeFlatLevelScreen(CreateWorldScreen parent, Consumer<FlatChunkGeneratorConfig> configConsumer, FlatChunkGeneratorConfig config) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private booleanprotected voidinit()Called when a screen should be initialized.voidrender(DrawContext context, int mouseX, int mouseY, float delta) voidsetConfig(FlatChunkGeneratorConfig config) (package private) voidMethods 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, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods 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_TEXTURELnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;SLOT_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45406Lnet/minecraft/class_413;field_45406:Lnet/minecraft/class_2960;official bLfsx;b:Lalz;
-
ICON_SIZE
private static final int ICON_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector named ICON_SIZELnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_SIZE:Iintermediary field_32240Lnet/minecraft/class_413;field_32240:Iofficial cLfsx;c:I
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named BUTTON_HEIGHTLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;BUTTON_HEIGHT:Iintermediary field_32241Lnet/minecraft/class_413;field_32241:Iofficial dLfsx;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_XLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_BACKGROUND_OFFSET_X:Iintermediary field_32242Lnet/minecraft/class_413;field_32242:Iofficial sLfsx;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_YLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_BACKGROUND_OFFSET_Y:Iintermediary field_32243Lnet/minecraft/class_413;field_32243:Iofficial uLfsx;u:I
-
ICON_OFFSET_X
private static final int ICON_OFFSET_X- See Also:
- Mappings:
Namespace Name Mixin selector named ICON_OFFSET_XLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_OFFSET_X:Iintermediary field_32244Lnet/minecraft/class_413;field_32244:Iofficial vLfsx;v:I
-
ICON_OFFSET_Y
private static final int ICON_OFFSET_Y- See Also:
- Mappings:
Namespace Name Mixin selector named ICON_OFFSET_YLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;ICON_OFFSET_Y:Iintermediary field_32245Lnet/minecraft/class_413;field_32245:Iofficial wLfsx;w:I
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;parent:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;intermediary field_2422Lnet/minecraft/class_413;field_2422:Lnet/minecraft/class_525;official aLfsx;a:Lfyv;
-
configConsumer
- Mappings:
Namespace Name Mixin selector named configConsumerLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;configConsumer:Ljava/util/function/Consumer;intermediary field_24565Lnet/minecraft/class_413;field_24565:Ljava/util/function/Consumer;official xLfsx;x:Ljava/util/function/Consumer;
-
config
FlatChunkGeneratorConfig config- Mappings:
Namespace Name Mixin selector named configLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;config:Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;intermediary field_2419Lnet/minecraft/class_413;field_2419:Lnet/minecraft/class_3232;official yLfsx;y:Lemm;
-
tileText
- Mappings:
Namespace Name Mixin selector named tileTextLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;tileText:Lnet/minecraft/text/Text;intermediary field_2418Lnet/minecraft/class_413;field_2418:Lnet/minecraft/class_2561;official zLfsx;z:Lxv;
-
heightText
- Mappings:
Namespace Name Mixin selector named heightTextLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;heightText:Lnet/minecraft/text/Text;intermediary field_2425Lnet/minecraft/class_413;field_2425:Lnet/minecraft/class_2561;official ALfsx;A:Lxv;
-
layers
- Mappings:
Namespace Name Mixin selector named layersLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;layers:Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen$SuperflatLayersListWidget;intermediary field_2424Lnet/minecraft/class_413;field_2424:Lnet/minecraft/class_413$class_4192;official BLfsx;B:Lfsx$a;
-
widgetButtonRemoveLayer
- Mappings:
Namespace Name Mixin selector named widgetButtonRemoveLayerLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;widgetButtonRemoveLayer:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_2421Lnet/minecraft/class_413;field_2421:Lnet/minecraft/class_4185;official CLfsx;C:Lfod;
-
-
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;)Vintermediary <init>Lnet/minecraft/class_413;<init>(Lnet/minecraft/class_525;Ljava/util/function/Consumer;Lnet/minecraft/class_3232;)Vofficial <init>Lfsx;<init>(Lfyv;Ljava/util/function/Consumer;Lemm;)V
-
-
Method Details
-
getConfig
- Mappings:
Namespace Name Mixin selector named getConfigLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;getConfig()Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;intermediary method_29055Lnet/minecraft/class_413;method_29055()Lnet/minecraft/class_3232;official kLfsx;k()Lemm;
-
setConfig
- Mappings:
Namespace Name Mixin selector named setConfigLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;setConfig(Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;)Vintermediary method_29054Lnet/minecraft/class_413;method_29054(Lnet/minecraft/class_3232;)Vofficial aLfsx;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 updateRemoveLayerButtonLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;updateRemoveLayerButton()Vintermediary method_2145Lnet/minecraft/class_413;method_2145()Vofficial lLfsx;l()V
-
hasLayerSelected
private boolean hasLayerSelected()- Mappings:
Namespace Name Mixin selector named hasLayerSelectedLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;hasLayerSelected()Zintermediary method_2147Lnet/minecraft/class_413;method_2147()Zofficial ELfsx;E()Z
-
close
public void close() -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfph;a(Lfnq;IIF)V
-