public class RealmsScrolledSelectionListProxy extends SlotGui
Modifier and Type | Field and Description |
---|---|
private RealmsScrolledSelectionList |
realmsScrolledSelectionList |
centerListVertically, DRAG_OUTSIDE, headerHeight, height, itemHeight, minecraft, NO_DRAG, renderHeader, renderSelection, visible, width, x0, x1, y0, y1, yDrag, yo
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
RealmsScrolledSelectionListProxy(RealmsScrolledSelectionList p_i51131_1_,
int p_i51131_2_,
int p_i51131_3_,
int p_i51131_4_,
int p_i51131_5_,
int p_i51131_6_) |
Modifier and Type | Method and Description |
---|---|
int |
getItemCount() |
int |
getMaxPosition() |
int |
getScrollbarPosition() |
int |
getWidth() |
boolean |
isSelectedItem(int p_isSelectedItem_1_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
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_,
double p_mouseScrolled_3_,
double p_mouseScrolled_5_) |
void |
renderBackground() |
void |
renderItem(int p_renderItem_1_,
int p_renderItem_2_,
int p_renderItem_3_,
int p_renderItem_4_,
int p_renderItem_5_,
int p_renderItem_6_,
float p_renderItem_7_) |
boolean |
selectItem(int p_selectItem_1_,
int p_selectItem_2_,
double p_selectItem_3_,
double p_selectItem_5_) |
capYPosition, centerScrollOn, charTyped, children, clickedHeader, drawContainerBackground, getItemAtPosition, getItemHeight, getMaxScroll, getRowWidth, getScroll, getScrollBottom, isFocused, isMouseInList, isMouseOver, isVisible, keyPressed, moveSelection, render, renderDecorations, renderHeader, renderHoleBackground, renderList, scroll, setLeftPos, setRenderHeader, setRenderSelection, setVisible, updateItemPosition, updateScrollingState, updateSize
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, func_212932_b, getEventListenerForPos, keyReleased, setFocusedDefault
mouseMoved
private final RealmsScrolledSelectionList realmsScrolledSelectionList
public RealmsScrolledSelectionListProxy(RealmsScrolledSelectionList p_i51131_1_, int p_i51131_2_, int p_i51131_3_, int p_i51131_4_, int p_i51131_5_, int p_i51131_6_)
public int getItemCount()
getItemCount
in class SlotGui
public boolean selectItem(int p_selectItem_1_, int p_selectItem_2_, double p_selectItem_3_, double p_selectItem_5_)
selectItem
in class SlotGui
public boolean isSelectedItem(int p_isSelectedItem_1_)
isSelectedItem
in class SlotGui
public void renderBackground()
renderBackground
in class SlotGui
public void renderItem(int p_renderItem_1_, int p_renderItem_2_, int p_renderItem_3_, int p_renderItem_4_, int p_renderItem_5_, int p_renderItem_6_, float p_renderItem_7_)
renderItem
in class SlotGui
public int getWidth()
public int getMaxPosition()
getMaxPosition
in class SlotGui
public int getScrollbarPosition()
getScrollbarPosition
in class SlotGui
public boolean mouseScrolled(double p_mouseScrolled_1_, double p_mouseScrolled_3_, double p_mouseScrolled_5_)
mouseScrolled
in interface IGuiEventListener
mouseScrolled
in interface INestedGuiEventHandler
mouseScrolled
in class SlotGui
public boolean mouseClicked(double p_mouseClicked_1_, double p_mouseClicked_3_, int p_mouseClicked_5_)
mouseClicked
in interface IGuiEventListener
mouseClicked
in interface INestedGuiEventHandler
mouseClicked
in class SlotGui
public boolean mouseReleased(double p_mouseReleased_1_, double p_mouseReleased_3_, int p_mouseReleased_5_)
mouseReleased
in interface IGuiEventListener
mouseReleased
in interface INestedGuiEventHandler
mouseReleased
in class SlotGui
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 INestedGuiEventHandler
mouseDragged
in class SlotGui