Package net.minecraft.client.gui.screen
Class CustomizeBuffetLevelScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.CustomizeBuffetLevelScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name official ewqintermediary net/minecraft/class_415named net/minecraft/client/gui/screen/CustomizeBuffetLevelScreen
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescription(package private) RegistryEntry<Biome>private static final Textprivate ButtonWidgetprivate final Consumer<RegistryEntry<Biome>>private final ScreenFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionCustomizeBuffetLevelScreen(Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Consumer<RegistryEntry<Biome>> onDone) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidinit()Called when a screen should be initialized.(package private) voidvoidrender(DrawContext context, int mouseX, int mouseY, float delta) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods 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, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
BUFFET_BIOME_TEXT
- Mappings:
Namespace Name Mixin selector official aLewq;a:Lte;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;
-
parent
- Mappings:
Namespace Name Mixin selector official bLewq;b:Lexv;intermediary field_24562Lnet/minecraft/class_415;field_24562:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
onDone
- Mappings:
Namespace Name Mixin selector official cLewq;c:Ljava/util/function/Consumer;intermediary field_24563Lnet/minecraft/class_415;field_24563:Ljava/util/function/Consumer;named onDoneLnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;onDone:Ljava/util/function/Consumer;
-
biomeRegistry
- Mappings:
Namespace Name Mixin selector official kLewq;k:Lhs;intermediary field_25888Lnet/minecraft/class_415;field_25888:Lnet/minecraft/class_2378;named biomeRegistryLnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;biomeRegistry:Lnet/minecraft/registry/Registry;
-
biomeSelectionList
- Mappings:
Namespace Name Mixin selector official lLewq;l:Lewq$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;
-
biome
RegistryEntry<Biome> biome- Mappings:
Namespace Name Mixin selector official mLewq;m:Lhf;intermediary field_25040Lnet/minecraft/class_415;field_25040:Lnet/minecraft/class_6880;named biomeLnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;biome:Lnet/minecraft/registry/entry/RegistryEntry;
-
confirmButton
- Mappings:
Namespace Name Mixin selector official nLewq;n:Lesi;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 parent, GeneratorOptionsHolder generatorOptionsHolder, Consumer<RegistryEntry<Biome>> onDone) - Mappings:
Namespace Name Mixin selector official <init>Lewq;<init>(Lexv;Lfcn;Ljava/util/function/Consumer;)Vintermediary <init>Lnet/minecraft/class_415;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7193;Ljava/util/function/Consumer;)Vnamed <init>Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/util/function/Consumer;)V
-
-
Method Details
-
close
public void close() -
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused. -
refreshConfirmButton
void refreshConfirmButton()- Mappings:
Namespace Name Mixin selector official lLewq;l()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 aLetj;a(Lerx;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
renderBackground
Renders the background of this screen.If the client is in a world,
. Otherwise renders the background texture.invalid @linkplain
renders the translucent background gradient
- Overrides:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector official bLexv;b(Lerx;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
-