public class GuiScreenCustomizeRegistry.ListPreset
extends net.minecraft.client.gui.GuiSlot
| Modifier and Type | Field and Description |
|---|---|
int |
selected |
| Constructor and Description |
|---|
ListPreset(int initialEntry) |
ListPreset(java.lang.String initialEntry) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawBackground() |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
protected void |
drawSelectionBox(int insideLeft,
int insideTop,
int mouseX,
int mouseY,
float partialTicks) |
protected void |
drawSlot(int entry,
int x,
int y,
int height,
int mouseX,
int mouseY,
float partialTicks) |
protected void |
elementClicked(int selected,
boolean doubleClicked,
int mouseX,
int mouseY) |
protected int |
getSize() |
void |
handleMouseInput() |
protected boolean |
isSelected(int selected) |
actionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, getAmountScrolled, getContentHeight, getEnabled, getListWidth, getMaxScroll, getScrollBarX, getSlotHeight, getSlotIndexFromScreenCoords, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft, updateItemPospublic ListPreset(int initialEntry)
public ListPreset(java.lang.String initialEntry)
public void handleMouseInput()
handleMouseInput in class net.minecraft.client.gui.GuiSlotpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class net.minecraft.client.gui.GuiSlotprotected int getSize()
getSize in class net.minecraft.client.gui.GuiSlotprotected void elementClicked(int selected,
boolean doubleClicked,
int mouseX,
int mouseY)
elementClicked in class net.minecraft.client.gui.GuiSlotprotected boolean isSelected(int selected)
isSelected in class net.minecraft.client.gui.GuiSlotprotected void drawBackground()
drawBackground in class net.minecraft.client.gui.GuiSlotprotected void drawSelectionBox(int insideLeft,
int insideTop,
int mouseX,
int mouseY,
float partialTicks)
drawSelectionBox in class net.minecraft.client.gui.GuiSlotprotected void drawSlot(int entry,
int x,
int y,
int height,
int mouseX,
int mouseY,
float partialTicks)
drawSlot in class net.minecraft.client.gui.GuiSlot