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 fvg
-
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 static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate final ThreePartsLayoutWidgetprotected final CreateWorldScreen(package private) static final Identifierprivate static final Textprivate @Nullable 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.protected voidvoidsetConfig(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, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, render, 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
getBorder, 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
-
TITLE
- Mappings:
Namespace Name Mixin selector named TITLELnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;TITLE:Lnet/minecraft/text/Text;intermediary field_55099Lnet/minecraft/class_413;field_55099:Lnet/minecraft/class_2561;official bLfvg;b:Lwv;
-
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 cLfvg;c:Lald;
-
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 dLfvg;d: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 sLfvg;s: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 uLfvg;u: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 vLfvg;v: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 wLfvg;w: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 xLfvg;x:I
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_55100Lnet/minecraft/class_413;field_55100:Lnet/minecraft/class_8132;official yLfvg;y:Lfub;
-
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 aLfvg;a:Lgbg;
-
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 zLfvg;z: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 ALfvg;A:Lenj;
-
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 BLfvg;B:Lfvg$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 CLfvg;C:Lfqn;
-
-
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>Lfvg;<init>(Lgbg;Ljava/util/function/Consumer;Lenj;)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 lLfvg;l()Lenj;
-
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 aLfvg;a(Lenj;)V
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLfwf;c()V
-
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 mLfvg;m()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 ELfvg;E()Z
-
close
public void close()
-