public class TradeYesNoScreen
extends net.minecraft.client.gui.screen.Screen
Modifier and Type | Field and Description |
---|---|
int |
left
The location of the GUI's top left corner.
|
int |
top
The location of the GUI's top left corner.
|
Constructor and Description |
---|
TradeYesNoScreen(int traderId)
Initializes the GUI.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPauseScreen() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int mouseButton) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float par3) |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onClose, 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 int top
public int left
public TradeYesNoScreen(int traderId)
traderId
- The ID of the trader.public void render(com.mojang.blaze3d.matrix.MatrixStack matrix, int mouseX, int mouseY, float par3)
render
in interface net.minecraft.client.gui.IRenderable
render
in class net.minecraft.client.gui.screen.Screen
public boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
public boolean isPauseScreen()
isPauseScreen
in class net.minecraft.client.gui.screen.Screen