public class ImportExportScreen extends net.minecraft.client.gui.screen.Screen implements ImportRequestHandler
Constructor and Description |
---|
ImportExportScreen(IImportableContainer previousScreen,
java.lang.String titleText) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(net.minecraft.client.gui.widget.button.Button button) |
boolean |
charTyped(char key,
int keyCode) |
void |
handleResponse(Pokemon... pokemon) |
void |
handleResponse(java.lang.String errorCode,
java.lang.String failedValue) |
void |
init() |
boolean |
isPauseScreen() |
void |
onClose()
Closes the screen and returns to the previous screen.
|
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
protected boolean |
save()
Saves the edited Pokémon.
|
void |
setExportText(java.lang.String exportText) |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, 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 ImportExportScreen(IImportableContainer previousScreen, java.lang.String titleText)
public void init()
init
in class net.minecraft.client.gui.screen.Screen
public void setExportText(java.lang.String exportText)
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 net.minecraft.client.gui.screen.Screen
public boolean charTyped(char key, int keyCode)
charTyped
in interface net.minecraft.client.gui.IGuiEventListener
charTyped
in interface net.minecraft.client.gui.INestedGuiEventHandler
protected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)
public void handleResponse(java.lang.String errorCode, java.lang.String failedValue)
handleResponse
in interface ImportRequestHandler
public void handleResponse(Pokemon... pokemon)
handleResponse
in interface ImportRequestHandler
protected boolean save()
public void onClose()
onClose
in class net.minecraft.client.gui.screen.Screen
public boolean isPauseScreen()
isPauseScreen
in class net.minecraft.client.gui.screen.Screen