public class AcceptDenyScreen extends VersusScreen
| Modifier and Type | Field and Description |
|---|---|
static BattleQueryPacket |
opponent
Details about the opponent.
|
GUI_HEIGHT, GUI_WIDTH, isNPC, leftX, offset1, offset2, opponentPartyX, opponentPartyY, PARTY_SEPARATOR, playerPartyX, playerPartyY, ticks, topY| Constructor and Description |
|---|
AcceptDenyScreen(int battleQueryID)
Initializes the GUI.
|
| Modifier and Type | Method and Description |
|---|---|
protected net.minecraft.entity.LivingEntity |
getOpponent()
Gets the player's opponent for the battle.
|
boolean |
mouseClicked(double mouseX,
double mouseY,
int par3) |
void |
removed() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float f) |
drawEntity, drawEntity, drawOpponentPokeBalls, drawPokeBalls, init, isPauseScreen, renderBackground, renderDirtBackground, tickaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onClose, onFilesDrop, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, shouldCloseOnEsc, 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 static BattleQueryPacket opponent
public AcceptDenyScreen(int battleQueryID)
battleQueryID - The ID of the battle query that this GUI is representing.public void render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float f)
render in interface net.minecraft.client.gui.IRenderablerender in class VersusScreenpublic boolean mouseClicked(double mouseX,
double mouseY,
int par3)
public void removed()
removed in class net.minecraft.client.gui.screen.Screenprotected net.minecraft.entity.LivingEntity getOpponent()
VersusScreengetOpponent in class VersusScreen