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 fss
-
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 Textprivate final ThreePartsLayoutWidgetprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprotected final CreateWorldScreen(package private) static final Identifierprivate @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 createWorldScreen, 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, 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, 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
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
-
field_55099
- Mappings:
Namespace Name Mixin selector named field_55099Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;field_55099:Lnet/minecraft/text/Text;intermediary field_55099Lnet/minecraft/class_413;field_55099:Lnet/minecraft/class_2561;official bLfss;b:Lxk;
-
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 cLfss;c:Lalp;
-
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 dLfss;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 sLfss;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 uLfss;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 vLfss;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 wLfss;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 xLfss;x:I
-
field_55100
- Mappings:
Namespace Name Mixin selector named field_55100Lnet/minecraft/client/gui/screen/world/CustomizeFlatLevelScreen;field_55100:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;intermediary field_55100Lnet/minecraft/class_413;field_55100:Lnet/minecraft/class_8132;official yLfss;y:Lfrn;
-
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 aLfss;a:Lfyq;
-
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 zLfss;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 ALfss;A:Lemg;
-
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 BLfss;B:Lfss$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 CLfss;C:Lfny;
-
-
Constructor Details
-
CustomizeFlatLevelScreen
public CustomizeFlatLevelScreen(CreateWorldScreen createWorldScreen, 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>Lfss;<init>(Lfyq;Ljava/util/function/Consumer;Lemg;)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 kLfss;k()Lemg;
-
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 aLfss;a(Lemg;)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 cLftr;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 lLfss;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 ELfss;E()Z
-
close
public void close()
-