public class GuiAdvancementTab extends Gui
Modifier and Type | Field and Description |
---|---|
private Advancement |
advancement |
private boolean |
centered |
private DisplayInfo |
display |
private float |
fade |
private java.util.Map<Advancement,GuiAdvancement> |
guis |
private ItemStack |
icon |
private int |
index |
private int |
maxX |
private int |
maxY |
private Minecraft |
minecraft |
private int |
minX |
private int |
minY |
private int |
page |
private GuiAdvancement |
root |
private GuiScreenAdvancements |
screen |
private int |
scrollX |
private int |
scrollY |
private java.lang.String |
title |
private AdvancementTabType |
type |
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiAdvancementTab(Minecraft p_i47589_1_,
GuiScreenAdvancements p_i47589_2_,
AdvancementTabType p_i47589_3_,
int p_i47589_4_,
Advancement p_i47589_5_,
DisplayInfo p_i47589_6_) |
GuiAdvancementTab(Minecraft p_i47589_1_,
GuiScreenAdvancements p_i47589_2_,
AdvancementTabType p_i47589_3_,
int p_i47589_4_,
int page,
Advancement p_i47589_5_,
DisplayInfo p_i47589_6_) |
Modifier and Type | Method and Description |
---|---|
void |
addAdvancement(Advancement p_191800_1_) |
private void |
addGuiAdvancement(GuiAdvancement p_193937_1_,
Advancement p_193937_2_) |
static GuiAdvancementTab |
create(Minecraft p_193936_0_,
GuiScreenAdvancements p_193936_1_,
int p_193936_2_,
Advancement p_193936_3_) |
void |
drawContents() |
void |
drawIcon(int p_191796_1_,
int p_191796_2_,
RenderItem p_191796_3_) |
void |
drawTab(int p_191798_1_,
int p_191798_2_,
boolean p_191798_3_) |
void |
drawToolTips(int p_192991_1_,
int p_192991_2_,
int p_192991_3_,
int p_192991_4_) |
Advancement |
getAdvancement() |
GuiAdvancement |
getAdvancementGui(Advancement p_191794_1_) |
int |
getPage() |
GuiScreenAdvancements |
getScreen() |
java.lang.String |
getTitle() |
boolean |
isMouseOver(int p_191793_1_,
int p_191793_2_,
int p_191793_3_,
int p_191793_4_) |
void |
scroll(int p_191797_1_,
int p_191797_2_) |
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final Minecraft minecraft
private final GuiScreenAdvancements screen
private final AdvancementTabType type
private final int index
private final Advancement advancement
private final DisplayInfo display
private final ItemStack icon
private final java.lang.String title
private final GuiAdvancement root
private final java.util.Map<Advancement,GuiAdvancement> guis
private int scrollX
private int scrollY
private int minX
private int minY
private int maxX
private int maxY
private float fade
private boolean centered
private int page
public GuiAdvancementTab(Minecraft p_i47589_1_, GuiScreenAdvancements p_i47589_2_, AdvancementTabType p_i47589_3_, int p_i47589_4_, Advancement p_i47589_5_, DisplayInfo p_i47589_6_)
public GuiAdvancementTab(Minecraft p_i47589_1_, GuiScreenAdvancements p_i47589_2_, AdvancementTabType p_i47589_3_, int p_i47589_4_, int page, Advancement p_i47589_5_, DisplayInfo p_i47589_6_)
public Advancement getAdvancement()
public java.lang.String getTitle()
public void drawTab(int p_191798_1_, int p_191798_2_, boolean p_191798_3_)
public void drawIcon(int p_191796_1_, int p_191796_2_, RenderItem p_191796_3_)
public void drawContents()
public void drawToolTips(int p_192991_1_, int p_192991_2_, int p_192991_3_, int p_192991_4_)
public boolean isMouseOver(int p_191793_1_, int p_191793_2_, int p_191793_3_, int p_191793_4_)
@Nullable public static GuiAdvancementTab create(Minecraft p_193936_0_, GuiScreenAdvancements p_193936_1_, int p_193936_2_, Advancement p_193936_3_)
public void scroll(int p_191797_1_, int p_191797_2_)
public void addAdvancement(Advancement p_191800_1_)
private void addGuiAdvancement(GuiAdvancement p_193937_1_, Advancement p_193937_2_)
@Nullable public GuiAdvancement getAdvancementGui(Advancement p_191794_1_)
public GuiScreenAdvancements getScreen()
public int getPage()