public class ListQuestEditor
extends net.minecraft.client.gui.AbstractGui
Modifier and Type | Field and Description |
---|---|
int |
backgroundColor |
int |
borderColor
Color Configuration
|
int |
displayLines |
boolean |
drawBackground |
boolean |
drawBorder |
int |
height |
boolean |
highlightSelectedLine |
boolean |
isEnabled |
boolean |
isFocused |
int |
lineHeight |
java.util.List<Quest> |
lines |
int |
selectedLineColor |
java.lang.Integer |
selectedQuest |
int |
selectedTextColor |
int |
startLine |
int |
textColor |
int |
width |
static int |
X_OFFSET |
int |
xPos |
static int |
Y_OFFSET |
int |
yPos |
Constructor and Description |
---|
ListQuestEditor(net.minecraft.client.gui.FontRenderer fontRenderer,
int x,
int y,
int w,
int lines) |
Modifier and Type | Method and Description |
---|---|
void |
addLine(Quest quest) |
void |
drawBackground(com.mojang.blaze3d.matrix.MatrixStack matrix) |
void |
drawText(com.mojang.blaze3d.matrix.MatrixStack matrix) |
Quest |
mouseClicked(double mouseX,
double mouseY,
int mouseButton,
int offsetY) |
void |
scrollDown() |
void |
scrollUp() |
void |
selectQuest(int i) |
void |
setEnabled(boolean enable) |
void |
setFocused(boolean focus) |
boolean |
sort(java.lang.String search) |
public static final int X_OFFSET
public static final int Y_OFFSET
public int xPos
public int yPos
public int width
public int height
public boolean drawBackground
public boolean drawBorder
public boolean isEnabled
public boolean isFocused
public int borderColor
public int backgroundColor
public int selectedLineColor
public int textColor
public int selectedTextColor
public int displayLines
public int lineHeight
public java.util.List<Quest> lines
public int startLine
public java.lang.Integer selectedQuest
public boolean highlightSelectedLine
public ListQuestEditor(net.minecraft.client.gui.FontRenderer fontRenderer, int x, int y, int w, int lines)
public boolean sort(java.lang.String search)
public void drawBackground(com.mojang.blaze3d.matrix.MatrixStack matrix)
public void drawText(com.mojang.blaze3d.matrix.MatrixStack matrix)
public Quest mouseClicked(double mouseX, double mouseY, int mouseButton, int offsetY)
public void setEnabled(boolean enable)
public void setFocused(boolean focus)
public void addLine(Quest quest)
public void selectQuest(int i)
public void scrollUp()
public void scrollDown()