net.minecraft.client.gui

public abstract class SlotGui

extends FocusableGui implements IRenderable

All mapped superinterfaces:

INestedGuiEventHandler, IGuiEventListener, IRenderable

cxe
net.minecraft.class_358
net.minecraft.client.gui.SlotGui

Field summary

Modifier and TypeField
protected static final int
NO_DRAG
NO_DRAG
protected static final int
DRAG_OUTSIDE
DRAG_OUTSIDE
protected final Minecraft
minecraft
minecraft
protected int
width
width
protected int
height
height
protected int
y0
field_2166
y0
protected int
y1
field_2165
y1
protected int
x1
field_2181
x1
protected int
x0
field_2180
x0
protected final int
itemHeight
itemHeight
protected boolean
centerListVertically
centerListVertically
protected int
yDrag
yDrag
protected double
yo
field_2175
yo
protected boolean
visible
visible
protected boolean
renderSelection
renderSelection
protected boolean
renderHeader
renderHeader
protected int
headerHeight
headerHeight
private boolean
scrolling
scrolling

Constructor summary

ModifierConstructor
public (Minecraft arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Method summary

Modifier and TypeMethod
public void
updateSize(int arg0, int arg1, int arg2, int arg3)
updateSize(int arg0, int arg1, int arg2, int arg3)
public void
setRenderSelection(boolean arg0)
setRenderSelection(boolean arg0)
protected void
setRenderHeader(boolean arg0, int arg1)
setRenderHeader(boolean arg0, int arg1)
public void
setVisible(boolean arg0)
setVisible(boolean arg0)
public boolean
isVisible()
isVisible()
protected abstract int
getItemCount()
getItemCount()
public List<? extends IGuiEventListener>
children()
children()
protected boolean
selectItem(int arg0, int arg1, double arg2, double arg3)
selectItem(int arg0, int arg1, double arg2, double arg3)
protected abstract boolean
isSelectedItem(int arg0)
isSelectedItem(int arg0)
protected int
getMaxPosition()
getMaxPosition()
protected abstract void
renderBackground()
renderBackground()
protected void
updateItemPosition(int arg0, int arg1, int arg2, float arg3)
updateItemPosition(int arg0, int arg1, int arg2, float arg3)
protected abstract void
renderItem(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, float arg6)
renderItem(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, float arg6)
protected void
renderHeader(int arg0, int arg1, cuo arg2)
renderHeader(int arg0, int arg1, Tessellator arg2)
protected void
clickedHeader(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
protected void
renderDecorations(int arg0, int arg1)
renderDecorations(int arg0, int arg1)
public int
getItemAtPosition(double arg0, double arg1)
getItemAtPosition(double arg0, double arg1)
protected void
capYPosition()
capYPosition()
public int
getMaxScroll()
getMaxScroll()
public void
centerScrollOn(int arg0)
centerScrollOn(int arg0)
public int
getScroll()
getScroll()
public boolean
isMouseInList(double arg0, double arg1)
isMouseInList(double arg0, double arg1)
public int
getScrollBottom()
getScrollBottom()
public void
scroll(int arg0)
scroll(int arg0)
public void
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
protected void
updateScrollingState(double arg0, double arg1, int arg2)
updateScrollingState(double arg0, double arg1, int arg2)
public boolean
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
public boolean
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
public boolean
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
public boolean
mouseScrolled(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
public boolean
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
protected void
moveSelection(int arg0)
moveSelection(int arg0)
public boolean
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
public boolean
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
public int
getRowWidth()
getRowWidth()
protected void
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
protected boolean
isFocused()
isFocused()
protected int
getScrollbarPosition()
getScrollbarPosition()
protected void
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
public void
setLeftPos(int arg0)
setLeftPos(int arg0)
public int
getItemHeight()
getItemHeight()