public class PokemonEditorAdvancedScreen extends DropDownScreen
dropDownManager, guiLeft, guiTop, xSize, ySize| Constructor and Description |
|---|
PokemonEditorAdvancedScreen(IndividualEditorBaseScreen previousScreen)
Initializes the editor screen.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(net.minecraft.client.gui.widget.button.Button button) |
boolean |
charTyped(char key,
int keyCode) |
protected void |
drawBackgroundUnderMenus(com.mojang.blaze3d.matrix.MatrixStack matrix,
float partialTicks,
int mouseX,
int mouseY)
Draws the screen background under the drop-down menus.
|
void |
init() |
boolean |
keyPressed(int p_231046_1_,
int p_231046_2_,
int p_231046_3_) |
boolean |
mouseClickedUnderMenus(double mouseX,
double mouseY,
int clickedButton)
Handles mouse input when a drop-down menu is not clicked.
|
addDropDown, disableMenus, drawGuiContainerBackgroundLayer, drawGuiContainerForegroundLayer, isPauseScreen, mouseClicked, mouseDragged, mouseScrolled, removeDropDown, renderaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic PokemonEditorAdvancedScreen(IndividualEditorBaseScreen previousScreen)
previousScreen - The screen that caused this screen to display.public boolean keyPressed(int p_231046_1_,
int p_231046_2_,
int p_231046_3_)
keyPressed in interface net.minecraft.client.gui.IGuiEventListenerkeyPressed in interface net.minecraft.client.gui.INestedGuiEventHandlerkeyPressed in class net.minecraft.client.gui.screen.Screenpublic void init()
init in class DropDownScreenprotected void drawBackgroundUnderMenus(com.mojang.blaze3d.matrix.MatrixStack matrix,
float partialTicks,
int mouseX,
int mouseY)
DropDownScreendrawBackgroundUnderMenus in class DropDownScreenpartialTicks - The current number of partial ticks.mouseX - The x coordinate of the mouse.mouseY - The y coordinate of the mouse.public boolean charTyped(char key,
int keyCode)
public boolean mouseClickedUnderMenus(double mouseX,
double mouseY,
int clickedButton)
DropDownScreenmouseClickedUnderMenus in class DropDownScreenmouseX - The x coordinate of the mouse.mouseY - The y coordinate of the mouse.clickedButton - The index of the clicked button.protected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)