Package net.minecraft.client.gui.screen
Class CustomizeBuffetLevelScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.CustomizeBuffetLevelScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class CustomizeBuffetLevelScreen extends Screen
- Mappings:
Namespace Name official dtlintermediary net/minecraft/class_415named net/minecraft/client/gui/screen/CustomizeBuffetLevelScreen
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classCustomizeBuffetLevelScreen.BuffetBiomesListWidget -
Field Summary
Fields Modifier and Type Field Description private CustomizeBuffetLevelScreen.BuffetBiomesListWidgetbiomeSelectionListprivate static TextBUFFET_BIOME_TEXTprivate ButtonWidgetconfirmButtonprivate Screenfield_24562private Consumer<Biome>field_24563private Biomefield_25040private Registry<Biome>field_25888Fields 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 CustomizeBuffetLevelScreen(Screen screen, DynamicRegistryManager dynamicRegistryManager, Consumer<Biome> consumer, Biome biome) -
Method Summary
Modifier and Type Method Description protected voidinit()Called when a screen should be initialized.voidonClose()private voidrefreshConfirmButton()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
-
BUFFET_BIOME_TEXT
- Mappings:
Namespace Name Mixin selector official aLdtl;a:Loi;intermediary field_26535Lnet/minecraft/class_415;field_26535:Lnet/minecraft/class_2561;named BUFFET_BIOME_TEXTLnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;BUFFET_BIOME_TEXT:Lnet/minecraft/text/Text;
-
field_24562
- Mappings:
Namespace Name Mixin selector official bLdtl;b:Lduk;intermediary field_24562Lnet/minecraft/class_415;field_24562:Lnet/minecraft/class_437;named field_24562Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;field_24562:Lnet/minecraft/client/gui/screen/Screen;
-
field_24563
- Mappings:
Namespace Name Mixin selector official cLdtl;c:Ljava/util/function/Consumer;intermediary field_24563Lnet/minecraft/class_415;field_24563:Ljava/util/function/Consumer;named field_24563Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;field_24563:Ljava/util/function/Consumer;
-
field_25888
- Mappings:
Namespace Name Mixin selector official pLdtl;p:Lgn;intermediary field_25888Lnet/minecraft/class_415;field_25888:Lnet/minecraft/class_2378;named field_25888Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;field_25888:Lnet/minecraft/util/registry/Registry;
-
biomeSelectionList
- Mappings:
Namespace Name Mixin selector official qLdtl;q:Ldtl$a;intermediary field_2441Lnet/minecraft/class_415;field_2441:Lnet/minecraft/class_415$class_4190;named biomeSelectionListLnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;biomeSelectionList:Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen$BuffetBiomesListWidget;
-
field_25040
- Mappings:
Namespace Name Mixin selector official rLdtl;r:Lbut;intermediary field_25040Lnet/minecraft/class_415;field_25040:Lnet/minecraft/class_1959;named field_25040Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;field_25040:Lnet/minecraft/world/biome/Biome;
-
confirmButton
- Mappings:
Namespace Name Mixin selector official sLdtl;s:Ldra;intermediary field_2438Lnet/minecraft/class_415;field_2438:Lnet/minecraft/class_4185;named confirmButtonLnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;confirmButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
-
Constructor Details
-
CustomizeBuffetLevelScreen
public CustomizeBuffetLevelScreen(Screen screen, DynamicRegistryManager dynamicRegistryManager, Consumer<Biome> consumer, Biome biome)
-
-
Method Details
-
onClose
public void onClose() -
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
refreshConfirmButton
private void refreshConfirmButton()- Mappings:
Namespace Name Mixin selector official hLdtl;h()Vintermediary method_2151Lnet/minecraft/class_415;method_2151()Vnamed refreshConfirmButtonLnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;refreshConfirmButton()V
-
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
-