public class TeamSelectScreen extends VersusScreen
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
rejectClause
The ID of the clause that is rejecting the selected team.
|
static ShowTeamSelectPacket |
teamSelectPacket
Data about both teams on the screen.
|
GUI_HEIGHT, GUI_WIDTH, isNPC, leftX, offset1, offset2, opponentPartyX, opponentPartyY, PARTY_SEPARATOR, playerPartyX, playerPartyY, ticks, topY| Constructor and Description |
|---|
TeamSelectScreen()
Initializes the team select screen.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
charTyped(char key,
int keyCode) |
protected net.minecraft.entity.LivingEntity |
getOpponent()
Gets the player's opponent for the battle.
|
void |
init() |
boolean |
isPauseScreen()
Returns true if this GUI should pause the game when it is displayed in single-player
|
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
boolean |
shouldCloseOnEsc() |
drawEntity, drawEntity, drawOpponentPokeBalls, drawPokeBalls, renderBackground, renderDirtBackground, tickaddButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, removed, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, 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 ShowTeamSelectPacket teamSelectPacket
public java.lang.String rejectClause
public void init()
init in class VersusScreenpublic boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface net.minecraft.client.gui.IGuiEventListenerkeyPressed in interface net.minecraft.client.gui.INestedGuiEventHandlerkeyPressed in class net.minecraft.client.gui.screen.Screenpublic boolean charTyped(char key,
int keyCode)
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
render in interface net.minecraft.client.gui.IRenderablerender in class VersusScreenpublic boolean mouseClicked(double mouseX,
double mouseY,
int button)
protected net.minecraft.entity.LivingEntity getOpponent()
VersusScreengetOpponent in class VersusScreenpublic boolean isPauseScreen()
isPauseScreen in class VersusScreenpublic boolean shouldCloseOnEsc()
shouldCloseOnEsc in class net.minecraft.client.gui.screen.Screen