public class SelectionScrollInput extends ScrollInput
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<net.minecraft.util.text.ITextComponent> |
options |
displayLabel, max, min, onScroll, scrollToModify, shiftScrollsFaster, shiftStep, state, titleonClick, toolTip, wasHovered, z| Constructor and Description |
|---|
SelectionScrollInput(int xIn,
int yIn,
int widthIn,
int heightIn) |
| Modifier and Type | Method and Description |
|---|---|
ScrollInput |
forOptions(java.util.List<net.minecraft.util.text.ITextComponent> options) |
boolean |
mouseScrolled(double mouseX,
double mouseY,
double delta) |
protected void |
updateTooltip() |
protected void |
writeToLabel() |
calling, clampState, getState, onChanged, removeCallback, setState, standardStep, titled, withRange, withShiftStep, withStepFunction, writingToafterRender, atZLevel, beforeRender, clicked, getToolTip, onClick, render, renderButton, runCallback, tick, withCallback, withCallbackchangeFocus, clearFGColor, createNarrationMessage, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, renderBg, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLinepublic SelectionScrollInput(int xIn,
int yIn,
int widthIn,
int heightIn)
public ScrollInput forOptions(java.util.List<net.minecraft.util.text.ITextComponent> options)
protected void writeToLabel()
writeToLabel in class ScrollInputpublic boolean mouseScrolled(double mouseX,
double mouseY,
double delta)
mouseScrolled in interface net.minecraft.client.gui.IGuiEventListenermouseScrolled in class ScrollInputprotected void updateTooltip()
updateTooltip in class ScrollInput