@Environment(value=CLIENT) public class CustomizeBuffetLevelScreen extends Screen
Modifier and Type | Class and Description |
---|---|
(package private) class |
CustomizeBuffetLevelScreen.BuffetBiomesListWidget |
Modifier and Type | Field and Description |
---|---|
private CustomizeBuffetLevelScreen.BuffetBiomesListWidget |
biomeSelectionList |
private ButtonWidget |
confirmButton |
private Screen |
field_24562 |
private Consumer<Biome> |
field_24563 |
private Biome |
field_25040 |
private MutableRegistry<Biome> |
field_25888 |
private static Text |
field_26535 |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
CustomizeBuffetLevelScreen(Screen screen,
DynamicRegistryManager dynamicRegistryManager,
Consumer<Biome> consumer,
Biome biome) |
Modifier and Type | Method and Description |
---|---|
protected void |
init()
Called when a screen should be initialized.
|
void |
onClose() |
private void |
refreshConfirmButton() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
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, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
mouseMoved
private static final Text field_26535
private final Screen field_24562
private final MutableRegistry<Biome> field_25888
private CustomizeBuffetLevelScreen.BuffetBiomesListWidget biomeSelectionList
private Biome field_25040
private ButtonWidget confirmButton
public CustomizeBuffetLevelScreen(Screen screen, DynamicRegistryManager dynamicRegistryManager, Consumer<Biome> consumer, Biome biome)
protected void init()
This method is called when this screen is opened
or resized.
private void refreshConfirmButton()
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)