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, tick
addButton, 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, 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
public 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.IRenderable
render
in class VersusScreen
public boolean mouseClicked(double mouseX, double mouseY, int par3)
public void removed()
removed
in class net.minecraft.client.gui.screen.Screen
protected net.minecraft.entity.LivingEntity getOpponent()
VersusScreen
getOpponent
in class VersusScreen