public class ReadPokePasteScreen extends net.minecraft.client.gui.screen.Screen implements ImportRequestHandler
Modifier and Type | Field and Description |
---|---|
protected net.minecraft.util.text.ITextComponent |
error |
protected net.minecraft.util.text.ITextComponent |
failedValue |
protected IImportableContainer |
previousScreen |
protected java.lang.String |
titleText |
protected EnhancedTextFieldWidget |
urlField |
Constructor and Description |
---|
ReadPokePasteScreen(IImportableContainer previousScreen,
java.lang.String titleText) |
Modifier and Type | Method and Description |
---|---|
void |
handleResponse(Pokemon... pokemon) |
void |
handleResponse(java.lang.String error,
java.lang.String failedValue) |
void |
init() |
boolean |
isPauseScreen() |
void |
onClose() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
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
protected final IImportableContainer previousScreen
protected final java.lang.String titleText
protected EnhancedTextFieldWidget urlField
protected net.minecraft.util.text.ITextComponent error
protected net.minecraft.util.text.ITextComponent failedValue
public ReadPokePasteScreen(IImportableContainer previousScreen, java.lang.String titleText)
public void init()
init
in class net.minecraft.client.gui.screen.Screen
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 void onClose()
onClose
in class net.minecraft.client.gui.screen.Screen
public boolean isPauseScreen()
isPauseScreen
in class net.minecraft.client.gui.screen.Screen
public void handleResponse(Pokemon... pokemon)
handleResponse
in interface ImportRequestHandler
public void handleResponse(java.lang.String error, java.lang.String failedValue)
handleResponse
in interface ImportRequestHandler