public class DialogueScreen
extends net.minecraft.client.gui.screen.Screen
Modifier and Type | Field and Description |
---|---|
protected int |
guiLeft
Starting X position for the Gui.
|
protected int |
guiTop
Starting Y position for the Gui.
|
Constructor and Description |
---|
DialogueScreen() |
Modifier and Type | Method and Description |
---|---|
static void |
addDialogues(java.util.List<Dialogue> dialogues) |
void |
close() |
void |
init() |
static void |
insertDialogues(java.util.List<Dialogue> dialogues)
Puts the given list of
Dialogue s at the front of the dialogues, pushing
back the remaining ones to be viewed afterward. |
boolean |
isPauseScreen()
Returns true if this GUI should pause the game when it is displayed in single-player
|
static boolean |
isQuest() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int mouseButton) |
void |
next() |
void |
removed() |
static void |
removeImmediateDialogue() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
static void |
setDialogues(java.util.List<Dialogue> dialogues)
Replaces the current dialogues with the given set.
|
static void |
setDialogues(java.util.List<Dialogue> dialogues,
java.util.UUID quest) |
boolean |
shouldCloseOnEsc() |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onClose, onFilesDrop, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, resize, sendMessage, sendMessage, 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 int guiLeft
protected int guiTop
public boolean shouldCloseOnEsc()
shouldCloseOnEsc
in class net.minecraft.client.gui.screen.Screen
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 boolean mouseClicked(double mouseX, double mouseY, int mouseButton)
public boolean isPauseScreen()
isPauseScreen
in class net.minecraft.client.gui.screen.Screen
public void close()
public void next()
public static void removeImmediateDialogue()
public static void addDialogues(java.util.List<Dialogue> dialogues)
public static void insertDialogues(java.util.List<Dialogue> dialogues)
Dialogue
s at the front of the dialogues, pushing
back the remaining ones to be viewed afterward.public static void setDialogues(java.util.List<Dialogue> dialogues)
public static void setDialogues(java.util.List<Dialogue> dialogues, java.util.UUID quest)
public static boolean isQuest()
public void removed()
removed
in class net.minecraft.client.gui.screen.Screen