public class PokemonEditorPartyScreen extends PartyEditorBaseScreen
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
editedPlayerName
The name of the player being edited.
|
static java.util.UUID |
editedPlayerUUID
The UUID of the player being edited.
|
pokemonList
Constructor and Description |
---|
PokemonEditorPartyScreen()
Initializes the GUI.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addPokemon(int partySlot)
Adds a new Pokémon to a certain party slot.
|
protected void |
editPokemon(int partySlot)
Edits the Pokémon in a certain party slot.
|
protected void |
exitScreen()
Navigates back to the previous screen.
|
net.minecraft.util.text.ITextComponent |
getTitle()
Gets the displayed title of the screen.
|
protected void |
randomizeParty()
Randomizes the party Pokémon.
|
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int i,
int j,
float f) |
protected void |
updatePokemon(Pokemon pokemon) |
protected void |
updatePokemon(Pokemon pokemon,
int slot) |
actionPerformed, charTyped, editPokemonPacket, getExportText, getPokemon, getScreen, importText, init, isPauseScreen, mouseClicked, mouseReleased, onClose, setPokemon
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, removed, 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
public static java.util.UUID editedPlayerUUID
public static java.lang.String editedPlayerName
public net.minecraft.util.text.ITextComponent getTitle()
PartyEditorBaseScreen
getTitle
in class PartyEditorBaseScreen
protected void exitScreen()
PartyEditorBaseScreen
exitScreen
in class PartyEditorBaseScreen
protected void randomizeParty()
PartyEditorBaseScreen
randomizeParty
in class PartyEditorBaseScreen
protected void addPokemon(int partySlot)
PartyEditorBaseScreen
addPokemon
in class PartyEditorBaseScreen
partySlot
- The party slot to add a Pokémon to.protected void editPokemon(int partySlot)
PartyEditorBaseScreen
editPokemon
in class PartyEditorBaseScreen
partySlot
- The party slot of the Pokémon to edit.public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, int i, int j, float f)
render
in interface net.minecraft.client.gui.IRenderable
render
in class PartyEditorBaseScreen
protected void updatePokemon(Pokemon pokemon)
updatePokemon
in class PartyEditorBaseScreen
protected void updatePokemon(Pokemon pokemon, int slot)
updatePokemon
in class PartyEditorBaseScreen