public abstract class GuiSlot
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
bottom |
protected boolean |
field_148163_i |
int |
headerPadding |
int |
height |
int |
left |
protected int |
mouseX |
protected int |
mouseY |
int |
right |
int |
slotHeight |
int |
top |
int |
width |
Constructor and Description |
---|
GuiSlot(Minecraft p_i1052_1_,
int p_i1052_2_,
int p_i1052_3_,
int p_i1052_4_,
int p_i1052_5_,
int p_i1052_6_) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(GuiButton p_148147_1_) |
protected abstract void |
drawBackground() |
protected void |
drawListHeader(int p_148129_1_,
int p_148129_2_,
Tessellator p_148129_3_) |
void |
drawScreen(int p_148128_1_,
int p_148128_2_,
float p_148128_3_) |
protected void |
drawSelectionBox(int p_148120_1_,
int p_148120_2_,
int p_148120_3_,
int p_148120_4_) |
protected abstract void |
drawSlot(int p_148126_1_,
int p_148126_2_,
int p_148126_3_,
int p_148126_4_,
Tessellator p_148126_5_,
int p_148126_6_,
int p_148126_7_) |
protected abstract void |
elementClicked(int p_148144_1_,
boolean p_148144_2_,
int p_148144_3_,
int p_148144_4_) |
void |
func_148122_a(int p_148122_1_,
int p_148122_2_,
int p_148122_3_,
int p_148122_4_) |
int |
func_148124_c(int p_148124_1_,
int p_148124_2_) |
boolean |
func_148125_i() |
protected void |
func_148132_a(int p_148132_1_,
int p_148132_2_) |
int |
func_148135_f() |
boolean |
func_148141_e(int p_148141_1_) |
protected void |
func_148142_b(int p_148142_1_,
int p_148142_2_) |
void |
func_148143_b(boolean p_148143_1_) |
int |
getAmountScrolled() |
protected int |
getContentHeight() |
int |
getListWidth() |
protected int |
getScrollBarX() |
protected abstract int |
getSize() |
int |
getSlotHeight() |
protected abstract boolean |
isSelected(int p_148131_1_) |
void |
registerScrollButtons(int p_148134_1_,
int p_148134_2_) |
void |
scrollBy(int p_148145_1_) |
protected void |
setHasListHeader(boolean p_148133_1_,
int p_148133_2_) |
void |
setShowSelectionBox(boolean p_148130_1_) |
void |
setSlotXBoundsFromLeft(int p_148140_1_) |
public int width
public int height
public int top
public int bottom
public int right
public int left
public final int slotHeight
protected int mouseX
protected int mouseY
protected boolean field_148163_i
public int headerPadding
public GuiSlot(Minecraft p_i1052_1_, int p_i1052_2_, int p_i1052_3_, int p_i1052_4_, int p_i1052_5_, int p_i1052_6_)
public void func_148122_a(int p_148122_1_, int p_148122_2_, int p_148122_3_, int p_148122_4_)
public void setShowSelectionBox(boolean p_148130_1_)
protected void setHasListHeader(boolean p_148133_1_, int p_148133_2_)
protected abstract int getSize()
protected abstract void elementClicked(int p_148144_1_, boolean p_148144_2_, int p_148144_3_, int p_148144_4_)
protected abstract boolean isSelected(int p_148131_1_)
protected int getContentHeight()
protected abstract void drawBackground()
protected abstract void drawSlot(int p_148126_1_, int p_148126_2_, int p_148126_3_, int p_148126_4_, Tessellator p_148126_5_, int p_148126_6_, int p_148126_7_)
protected void drawListHeader(int p_148129_1_, int p_148129_2_, Tessellator p_148129_3_)
protected void func_148132_a(int p_148132_1_, int p_148132_2_)
protected void func_148142_b(int p_148142_1_, int p_148142_2_)
public int func_148124_c(int p_148124_1_, int p_148124_2_)
public void registerScrollButtons(int p_148134_1_, int p_148134_2_)
public int func_148135_f()
public int getAmountScrolled()
public boolean func_148141_e(int p_148141_1_)
public void scrollBy(int p_148145_1_)
public void actionPerformed(GuiButton p_148147_1_)
public void drawScreen(int p_148128_1_, int p_148128_2_, float p_148128_3_)
public void func_148143_b(boolean p_148143_1_)
public boolean func_148125_i()
public int getListWidth()
protected void drawSelectionBox(int p_148120_1_, int p_148120_2_, int p_148120_3_, int p_148120_4_)
protected int getScrollBarX()
public void setSlotXBoundsFromLeft(int p_148140_1_)
public int getSlotHeight()