public class TrainerDropListSlotScreen extends SlotBase
amountScrolled, bottom, COLOUR_BAR_ONE, COLOUR_BAR_THREE, COLOUR_BAR_TWO, DEFAULT_SLOT_HEIGHT, height, initialClickY, lastClicked, left, opaque, right, scrollMultiplier, selectedElement, slotHeight, top, width
Constructor and Description |
---|
TrainerDropListSlotScreen(TrainerEditorMoreScreen gui)
Initializes a slot.
|
Modifier and Type | Method and Description |
---|---|
protected void |
drawSlot(com.mojang.blaze3d.matrix.MatrixStack matrix,
int var1,
int var2,
int var3,
int var4) |
protected void |
elementClicked(int var1,
boolean var2) |
protected float[] |
get1Color() |
protected int[] |
get255Color() |
protected int |
getSize() |
protected boolean |
isSelected(int var1) |
bindAmountScrolled, drawBackground, getBottomIndex, getCenterX, getContentHeight, getCurrentSlot, getElementPosition, getMouseOverIndex, getSelectionColor, getTopIndex, isElementVisible, isMouseOver, isMouseOver, mouseClicked, mouseDragged, mouseScrolled, mouseScrolled, render, scrollTo
changeFocus, clearFGColor, clicked, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isValidClickButton, mouseReleased, narrate, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, renderBg, renderButton, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
public TrainerDropListSlotScreen(TrainerEditorMoreScreen gui)
gui
- The GUI that contains the slot.protected void elementClicked(int var1, boolean var2)
elementClicked
in class SlotBase
protected boolean isSelected(int var1)
isSelected
in class SlotBase
protected int[] get255Color()
get255Color
in class SlotBase