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 eozintermediary net/minecraft/class_413named net/minecraft/client/gui/screen/CustomizeFlatLevelScreen
-
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 intprivate static final intprotected final CreateWorldScreenprivate Textprivate ButtonWidgetFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields 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(MatrixStack matrices, int mouseX, int mouseY, float delta) voidsetConfig(FlatChunkGeneratorConfig config) (package private) voidMethods 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, method_48202, method_48262, method_48263, method_48265, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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, method_48196, setZOffsetMethods 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.ParentElement
charTyped, focusOn, hoveredElement, isFocused, keyReleased, method_48205, method_48218, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
ICON_TEXTURE_SIZE
private static final int ICON_TEXTURE_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official bLeoz;b:Iintermediary field_32239Lnet/minecraft/class_413;field_32239:Inamed ICON_TEXTURE_SIZELnet/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 cLeoz;c:Iintermediary field_32240Lnet/minecraft/class_413;field_32240:Inamed ICON_SIZELnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;ICON_SIZE:I
-
BUTTON_HEIGHT
private static final int BUTTON_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official nLeoz;n:Iintermediary field_32241Lnet/minecraft/class_413;field_32241:Inamed BUTTON_HEIGHTLnet/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 oLeoz;o:Iintermediary field_32242Lnet/minecraft/class_413;field_32242:Inamed ICON_BACKGROUND_OFFSET_XLnet/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 pLeoz;p:Iintermediary field_32243Lnet/minecraft/class_413;field_32243:Inamed ICON_BACKGROUND_OFFSET_YLnet/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 qLeoz;q:Iintermediary field_32244Lnet/minecraft/class_413;field_32244:Inamed ICON_OFFSET_XLnet/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 rLeoz;r:Iintermediary field_32245Lnet/minecraft/class_413;field_32245:Inamed ICON_OFFSET_YLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;ICON_OFFSET_Y:I
-
parent
- Mappings:
Namespace Name Mixin selector official aLeoz;a:Leuh;intermediary field_2422Lnet/minecraft/class_413;field_2422:Lnet/minecraft/class_525;named parentLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;parent:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;
-
configConsumer
- Mappings:
Namespace Name Mixin selector official sLeoz;s:Ljava/util/function/Consumer;intermediary field_24565Lnet/minecraft/class_413;field_24565:Ljava/util/function/Consumer;named configConsumerLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;configConsumer:Ljava/util/function/Consumer;
-
config
FlatChunkGeneratorConfig config- Mappings:
Namespace Name Mixin selector official tLeoz;t:Ldng;intermediary field_2419Lnet/minecraft/class_413;field_2419:Lnet/minecraft/class_3232;named configLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;config:Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
-
tileText
- Mappings:
Namespace Name Mixin selector official uLeoz;u:Lsu;intermediary field_2418Lnet/minecraft/class_413;field_2418:Lnet/minecraft/class_2561;named tileTextLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;tileText:Lnet/minecraft/text/Text;
-
heightText
- Mappings:
Namespace Name Mixin selector official vLeoz;v:Lsu;intermediary field_2425Lnet/minecraft/class_413;field_2425:Lnet/minecraft/class_2561;named heightTextLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;heightText:Lnet/minecraft/text/Text;
-
layers
- Mappings:
Namespace Name Mixin selector official wLeoz;w:Leoz$a;intermediary field_2424Lnet/minecraft/class_413;field_2424:Lnet/minecraft/class_413$class_4192;named layersLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;layers:Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen$SuperflatLayersListWidget;
-
widgetButtonRemoveLayer
- Mappings:
Namespace Name Mixin selector official xLeoz;x:Lelm;intermediary field_2421Lnet/minecraft/class_413;field_2421:Lnet/minecraft/class_4185;named widgetButtonRemoveLayerLnet/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>Leoz;<init>(Leuh;Ljava/util/function/Consumer;Ldng;)Vintermediary <init>Lnet/minecraft/class_413;<init>(Lnet/minecraft/class_525;Ljava/util/function/Consumer;Lnet/minecraft/class_3232;)Vnamed <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 hLeoz;h()Ldng;intermediary method_29055Lnet/minecraft/class_413;method_29055()Lnet/minecraft/class_3232;named getConfigLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;getConfig()Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
-
setConfig
- Mappings:
Namespace Name Mixin selector official aLeoz;a(Ldng;)Vintermediary method_29054Lnet/minecraft/class_413;method_29054(Lnet/minecraft/class_3232;)Vnamed setConfigLnet/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 jLeoz;j()Vintermediary method_2145Lnet/minecraft/class_413;method_2145()Vnamed updateRemoveLayerButtonLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;updateRemoveLayerButton()V
-
hasLayerSelected
private boolean hasLayerSelected()- Mappings:
Namespace Name Mixin selector official zLeoz;z()Zintermediary method_2147Lnet/minecraft/class_413;method_2147()Znamed hasLayerSelectedLnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;hasLayerSelected()Z
-
close
public void close() -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLemj;a(Leer;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-