public class BattleRulesNPCEditorScreen extends BattleRulesBaseScreen
battleTypeButton, centerX, centerY, clauseListHeight, editButtons, editingEnabled, fullHealButton, importExportButton, raiseToCapButton, rectBottom, ruleLabels, rules, selectedClauses, teamPreviewButton, textFields, tierMenu, yChange
dropDownManager, guiLeft, guiTop, xSize, ySize
Constructor and Description |
---|
BattleRulesNPCEditorScreen()
Initializes a battle rules 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() |
void |
onClose()
Closes the screen and returns to the main Trainer editor screen.
|
dimScreen, disableMenus, getBackgroundHeight, getExportText, getScreen, highlightButtons, importText, mouseClickedUnderMenus, registerRules, removed, setRules
addDropDown, drawGuiContainerBackgroundLayer, drawGuiContainerForegroundLayer, isPauseScreen, mouseClicked, mouseDragged, mouseScrolled, removeDropDown, render
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPokemon, setPokemon
public BattleRulesNPCEditorScreen()
public void init()
init
in class BattleRulesBaseScreen
public boolean charTyped(char key, int keyCode)
charTyped
in interface net.minecraft.client.gui.IGuiEventListener
charTyped
in interface net.minecraft.client.gui.INestedGuiEventHandler
charTyped
in class BattleRulesBaseScreen
protected void drawBackgroundUnderMenus(com.mojang.blaze3d.matrix.MatrixStack matrix, float partialTicks, int mouseX, int mouseY)
DropDownScreen
drawBackgroundUnderMenus
in class BattleRulesBaseScreen
partialTicks
- The current number of partial ticks.mouseX
- The x coordinate of the mouse.mouseY
- The y coordinate of the mouse.protected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)
actionPerformed
in class BattleRulesBaseScreen
public void onClose()
onClose
in class net.minecraft.client.gui.screen.Screen