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,TickableElement
@Environment(CLIENT) public class CustomizeFlatLevelScreen extends Screen
- Mappings:
Namespace Name official dtmintermediary net/minecraft/class_413named net/minecraft/client/gui/screen/CustomizeFlatLevelScreen
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classCustomizeFlatLevelScreen.SuperflatLayersListWidget -
Field Summary
Fields Modifier and Type Field Description private FlatChunkGeneratorConfigconfigprivate Consumer<FlatChunkGeneratorConfig>field_24565private TextheightTextprivate CustomizeFlatLevelScreen.SuperflatLayersListWidgetlayersprotected CreateWorldScreenparentprivate TexttileTextprivate ButtonWidgetwidgetButtonRemoveLayerFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors Constructor Description CustomizeFlatLevelScreen(CreateWorldScreen createWorldScreen, Consumer<FlatChunkGeneratorConfig> consumer, FlatChunkGeneratorConfig flatChunkGeneratorConfig) -
Method Summary
Modifier and Type Method Description protected voidinit()Called when a screen should be initialized.private voidmethod_2145()private booleanmethod_2147()voidmethod_29054(FlatChunkGeneratorConfig flatChunkGeneratorConfig)FlatChunkGeneratorConfigmethod_29055()voidonClose()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, 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
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector official aLdtm;a:Ldxz;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;
-
field_24565
- Mappings:
Namespace Name Mixin selector official bLdtm;b:Ljava/util/function/Consumer;intermediary field_24565Lnet/minecraft/class_413;field_24565:Ljava/util/function/Consumer;named field_24565Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;field_24565:Ljava/util/function/Consumer;
-
config
- Mappings:
Namespace Name Mixin selector official cLdtm;c:Lctz;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 pLdtm;p:Loi;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 qLdtm;q:Loi;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 rLdtm;r:Ldtm$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 sLdtm;s:Ldra;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 createWorldScreen, Consumer<FlatChunkGeneratorConfig> consumer, FlatChunkGeneratorConfig flatChunkGeneratorConfig)
-
-
Method Details
-
method_29055
- Mappings:
Namespace Name Mixin selector official hLdtm;h()Lctz;intermediary method_29055Lnet/minecraft/class_413;method_29055()Lnet/minecraft/class_3232;named method_29055Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;method_29055()Lnet/minecraft/world/gen/chunk/FlatChunkGeneratorConfig;
-
method_29054
- Mappings:
Namespace Name Mixin selector official aLdtm;a(Lctz;)Vintermediary method_29054Lnet/minecraft/class_413;method_29054(Lnet/minecraft/class_3232;)Vnamed method_29054Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;method_29054(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.
-
method_2145
private void method_2145()- Mappings:
Namespace Name Mixin selector official iLdtm;i()Vintermediary method_2145Lnet/minecraft/class_413;method_2145()Vnamed method_2145Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;method_2145()V
-
method_2147
private boolean method_2147()- Mappings:
Namespace Name Mixin selector official kLdtm;k()Zintermediary method_2147Lnet/minecraft/class_413;method_2147()Znamed method_2147Lnet/minecraft/client/gui/screen/CustomizeFlatLevelScreen;method_2147()Z
-
onClose
public void onClose() -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLdrw;a(Ldkx;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
-