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, tick
addButton, 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, 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 ShowTeamSelectPacket teamSelectPacket
public java.lang.String rejectClause
public void init()
init
in class VersusScreen
public boolean keyPressed(int keyCode, int scanCode, int modifiers)
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)
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float partialTicks)
render
in interface net.minecraft.client.gui.IRenderable
render
in class VersusScreen
public boolean mouseClicked(double mouseX, double mouseY, int button)
protected net.minecraft.entity.LivingEntity getOpponent()
VersusScreen
getOpponent
in class VersusScreen
public boolean isPauseScreen()
isPauseScreen
in class VersusScreen
public boolean shouldCloseOnEsc()
shouldCloseOnEsc
in class net.minecraft.client.gui.screen.Screen