public class TrainerEditorMoreScreen
extends net.minecraft.client.gui.screen.Screen
| Modifier and Type | Field and Description |
|---|---|
protected int |
listHeight
The height of the drop list.
|
protected int |
listLeft
The x coordinate of the left side of the drop list.
|
protected int |
listTop
The y coordinate of the top of the drop list.
|
protected int |
listWidth
The width of the drop list.
|
| Constructor and Description |
|---|
TrainerEditorMoreScreen()
Initializes the GUI.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(net.minecraft.client.gui.widget.button.Button button) |
boolean |
charTyped(char key,
int par2) |
int |
getDropListCount()
Gets the size of the drop list.
|
net.minecraft.item.ItemStack |
getDropListEntry(int ind)
Gets an item from the drop list.
|
void |
init() |
boolean |
mouseClicked(double x,
double y,
int z) |
void |
removeFromList(int ind)
Removes an item from the drop list.
|
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks) |
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, 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, waitprotected int listTop
protected int listLeft
protected int listHeight
protected int listWidth
public void init()
init in class net.minecraft.client.gui.screen.Screenpublic void render(com.mojang.blaze3d.matrix.MatrixStack matrix,
int mouseX,
int mouseY,
float partialTicks)
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)
protected void actionPerformed(net.minecraft.client.gui.widget.button.Button button)
public int getDropListCount()
public void removeFromList(int ind)
ind - The index of the item to remove.public net.minecraft.item.ItemStack getDropListEntry(int ind)
ind - The index of the item to get.