public class BattleRulesFixedScreen 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 |
---|
BattleRulesFixedScreen()
Initializes a battle rules display.
|
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 |
isPauseScreen() |
boolean |
keyPressed(int p_231046_1_,
int p_231046_2_,
int p_231046_3_) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
dimScreen, disableMenus, getBackgroundHeight, getExportText, getScreen, highlightButtons, importText, mouseClickedUnderMenus, registerRules, removed, setRules
addDropDown, drawGuiContainerBackgroundLayer, drawGuiContainerForegroundLayer, mouseDragged, mouseScrolled, removeDropDown, render
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, 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 BattleRulesFixedScreen()
public void init()
init
in class BattleRulesBaseScreen
public boolean keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_)
keyPressed
in interface net.minecraft.client.gui.IGuiEventListener
keyPressed
in interface net.minecraft.client.gui.INestedGuiEventHandler
keyPressed
in class net.minecraft.client.gui.screen.Screen
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.public boolean mouseClicked(double mouseX, double mouseY, int button)
mouseClicked
in interface net.minecraft.client.gui.IGuiEventListener
mouseClicked
in interface net.minecraft.client.gui.INestedGuiEventHandler
mouseClicked
in class DropDownScreen
protected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)
actionPerformed
in class BattleRulesBaseScreen
public boolean isPauseScreen()
isPauseScreen
in class DropDownScreen