public class MailScreen
extends net.minecraft.client.gui.screen.Screen
Constructor and Description |
---|
MailScreen(net.minecraft.item.ItemStack item)
Initializes the GUI.
|
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(net.minecraft.client.gui.widget.button.Button button) |
boolean |
charTyped(char keyChar,
int keyCode) |
void |
init() |
boolean |
isPauseScreen() |
boolean |
keyPressed(int keyCode,
int p_231046_2_,
int p_231046_3_) |
void |
removed() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float wut) |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, 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 MailScreen(net.minecraft.item.ItemStack item)
item
- The item form of the Mail.public void init()
init
in class net.minecraft.client.gui.screen.Screen
protected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)
public boolean keyPressed(int keyCode, int p_231046_2_, int p_231046_3_)
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 keyChar, int keyCode)
public void removed()
removed
in class net.minecraft.client.gui.screen.Screen
public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float wut)
render
in interface net.minecraft.client.gui.IRenderable
render
in class net.minecraft.client.gui.screen.Screen
public boolean isPauseScreen()
isPauseScreen
in class net.minecraft.client.gui.screen.Screen