public class QuestGiverNPCScreen
extends net.minecraft.client.gui.screen.Screen
| Modifier and Type | Field and Description |
|---|---|
static java.util.ArrayList<java.lang.String> |
chatPages
The quest giver NPC's dialogue.
|
static java.lang.String |
name
The quest giver NPC's name.
|
| Constructor and Description |
|---|
QuestGiverNPCScreen(int trainerId)
Opens the quest giver NPC GUI.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
charTyped(char key,
int par2) |
boolean |
isPauseScreen()
Returns true if this GUI should pause the game when it is displayed in single-player
|
boolean |
mouseClicked(double x,
double y,
int z) |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int i,
int j,
float f) |
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, wrapScreenErrorgetFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static java.util.ArrayList<java.lang.String> chatPages
public static java.lang.String name
public QuestGiverNPCScreen(int trainerId)
trainerId - The quest giver NPC's ID.public void render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int i,
int j,
float f)
render in interface net.minecraft.client.gui.IRenderablerender in class net.minecraft.client.gui.screen.Screenpublic boolean charTyped(char key,
int par2)
public boolean mouseClicked(double x,
double y,
int z)
public boolean isPauseScreen()
isPauseScreen in class net.minecraft.client.gui.screen.Screen