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
- Mappings:
Namespace Name official enz
intermediary net/minecraft/class_415
named net/minecraft/client/gui/screen/CustomizeBuffetLevelScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescription(package private) RegistryEntry<Biome>
private static final Text
private ButtonWidget
private final Consumer<RegistryEntry<Biome>>
private final Screen
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionCustomizeBuffetLevelScreen
(Screen parent, GeneratorOptionsHolder generatorOptionsHolder, Consumer<RegistryEntry<Biome>> onDone) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
init()
Called when a screen should be initialized.(package private) void
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods 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, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods 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, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods 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 a
Lenz;a:Lss;
intermediary field_26535
Lnet/minecraft/class_415;field_26535:Lnet/minecraft/class_2561;
named BUFFET_BIOME_TEXT
Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;BUFFET_BIOME_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official b
Lenz;b:Lepb;
intermediary field_24562
Lnet/minecraft/class_415;field_24562:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
onDone
- Mappings:
Namespace Name Mixin selector official c
Lenz;c:Ljava/util/function/Consumer;
intermediary field_24563
Lnet/minecraft/class_415;field_24563:Ljava/util/function/Consumer;
named onDone
Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;onDone:Ljava/util/function/Consumer;
-
biomeRegistry
- Mappings:
Namespace Name Mixin selector official n
Lenz;n:Lhm;
intermediary field_25888
Lnet/minecraft/class_415;field_25888:Lnet/minecraft/class_2378;
named biomeRegistry
Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;biomeRegistry:Lnet/minecraft/registry/Registry;
-
biomeSelectionList
- Mappings:
Namespace Name Mixin selector official o
Lenz;o:Lenz$a;
intermediary field_2441
Lnet/minecraft/class_415;field_2441:Lnet/minecraft/class_415$class_4190;
named biomeSelectionList
Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;biomeSelectionList:Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen$BuffetBiomesListWidget;
-
biome
RegistryEntry<Biome> biome- Mappings:
Namespace Name Mixin selector official p
Lenz;p:Lgz;
intermediary field_25040
Lnet/minecraft/class_415;field_25040:Lnet/minecraft/class_6880;
named biome
Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;biome:Lnet/minecraft/registry/entry/RegistryEntry;
-
confirmButton
- Mappings:
Namespace Name Mixin selector official q
Lenz;q:Leky;
intermediary field_2438
Lnet/minecraft/class_415;field_2438:Lnet/minecraft/class_4185;
named confirmButton
Lnet/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>
Lenz;<init>(Lepb;Leto;Ljava/util/function/Consumer;)V
intermediary <init>
Lnet/minecraft/class_415;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_7193;Ljava/util/function/Consumer;)V
named <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.
-
refreshConfirmButton
void refreshConfirmButton()- Mappings:
Namespace Name Mixin selector official i
Lenz;i()V
intermediary method_2151
Lnet/minecraft/class_415;method_2151()V
named refreshConfirmButton
Lnet/minecraft/client/gui/screen/CustomizeBuffetLevelScreen;refreshConfirmButton()V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lely;a(Leed;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-