public class RealmsSimpleScrolledSelectionListProxy extends GuiSlot
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, right, selectedElement, showSelectionBox, slotHeight, top, visible, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
RealmsSimpleScrolledSelectionListProxy(RealmsSimpleScrolledSelectionList p_i49324_1_,
int p_i49324_2_,
int p_i49324_3_,
int p_i49324_4_,
int p_i49324_5_,
int p_i49324_6_) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackground() |
void |
drawScreen(int mouseXIn,
int mouseYIn,
float partialTicks) |
protected void |
drawSlot(int slotIndex,
int xPos,
int yPos,
int heightIn,
int mouseXIn,
int mouseYIn,
float partialTicks) |
protected int |
getContentHeight() |
protected int |
getScrollBarX() |
protected int |
getSize() |
protected boolean |
isSelected(int slotIndex) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
protected boolean |
mouseClicked(int index,
int button,
double mouseX,
double mouseY) |
boolean |
mouseDragged(double p_mouseDragged_1_,
double p_mouseDragged_3_,
int p_mouseDragged_5_,
double p_mouseDragged_6_,
double p_mouseDragged_8_) |
boolean |
mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_) |
boolean |
mouseScrolled(double p_mouseScrolled_1_) |
int |
width() |
bindAmountScrolled, charTyped, checkScrollbarClick, clickedHeader, drawContainerBackground, drawListHeader, drawSelectionBox, getAmountScrolled, getChildren, getEntryAt, getListWidth, getMaxScroll, getSlotHeight, isMouseInList, isVisible, keyPressed, overlayBackground, renderDecorations, scrollBy, setDimensions, setHasListHeader, setSelectedEntry, setShowSelectionBox, setSlotXBoundsFromLeft, updateItemPos
focusNext, focusOn, getFocused, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
keyReleased
canFocus, focusChanged
public RealmsSimpleScrolledSelectionListProxy(RealmsSimpleScrolledSelectionList p_i49324_1_, int p_i49324_2_, int p_i49324_3_, int p_i49324_4_, int p_i49324_5_, int p_i49324_6_)
protected boolean mouseClicked(int index, int button, double mouseX, double mouseY)
mouseClicked
in class GuiSlot
protected boolean isSelected(int slotIndex)
isSelected
in class GuiSlot
protected void drawBackground()
drawBackground
in class GuiSlot
protected void drawSlot(int slotIndex, int xPos, int yPos, int heightIn, int mouseXIn, int mouseYIn, float partialTicks)
public int width()
protected int getContentHeight()
getContentHeight
in class GuiSlot
protected int getScrollBarX()
getScrollBarX
in class GuiSlot
public void drawScreen(int mouseXIn, int mouseYIn, float partialTicks)
drawScreen
in class GuiSlot
public boolean mouseScrolled(double p_mouseScrolled_1_)
mouseScrolled
in interface IGuiEventListener
mouseScrolled
in interface IGuiEventListenerDeferred
mouseScrolled
in class GuiSlot
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
in interface IGuiEventListener
mouseClicked
in interface IGuiEventListenerDeferred
mouseClicked
in class GuiSlot
public boolean mouseReleased(double p_mouseReleased_1_, double p_mouseReleased_3_, int p_mouseReleased_5_)
mouseReleased
in interface IGuiEventListener
mouseReleased
in interface IGuiEventListenerDeferred
mouseReleased
in class GuiSlot
public boolean mouseDragged(double p_mouseDragged_1_, double p_mouseDragged_3_, int p_mouseDragged_5_, double p_mouseDragged_6_, double p_mouseDragged_8_)
mouseDragged
in interface IGuiEventListener
mouseDragged
in interface IGuiEventListenerDeferred
mouseDragged
in class GuiSlot