public class AdvancementTabGui extends AbstractGui
Modifier and Type | Field and Description |
---|---|
private Advancement |
advancement |
private boolean |
centered |
private DisplayInfo |
display |
private float |
fade |
private java.util.Map<Advancement,AdvancementEntryGui> |
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 AdvancementEntryGui |
root |
private AdvancementsScreen |
screen |
private double |
scrollX |
private double |
scrollY |
private java.lang.String |
title |
private AdvancementTabType |
type |
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
AdvancementTabGui(Minecraft p_i47589_1_,
AdvancementsScreen p_i47589_2_,
AdvancementTabType p_i47589_3_,
int p_i47589_4_,
Advancement p_i47589_5_,
DisplayInfo p_i47589_6_) |
AdvancementTabGui(Minecraft mc,
AdvancementsScreen screen,
AdvancementTabType type,
int index,
int page,
Advancement adv,
DisplayInfo info) |
Modifier and Type | Method and Description |
---|---|
void |
addAdvancement(Advancement p_191800_1_) |
private void |
addGuiAdvancement(AdvancementEntryGui p_193937_1_,
Advancement p_193937_2_) |
static AdvancementTabGui |
create(Minecraft p_193936_0_,
AdvancementsScreen p_193936_1_,
int p_193936_2_,
Advancement p_193936_3_) |
void |
drawContents() |
void |
drawIcon(int p_191796_1_,
int p_191796_2_,
ItemRenderer 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_) |
void |
func_195626_a(double p_195626_1_,
double p_195626_3_) |
boolean |
func_195627_a(int p_195627_1_,
int p_195627_2_,
double p_195627_3_,
double p_195627_5_) |
Advancement |
getAdvancement() |
AdvancementEntryGui |
getAdvancementGui(Advancement p_191794_1_) |
int |
getPage() |
AdvancementsScreen |
getScreen() |
java.lang.String |
getTitle() |
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
private final Minecraft minecraft
private final AdvancementsScreen 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 AdvancementEntryGui root
private final java.util.Map<Advancement,AdvancementEntryGui> guis
private double scrollX
private double scrollY
private int minX
private int minY
private int maxX
private int maxY
private float fade
private boolean centered
private int page
public AdvancementTabGui(Minecraft p_i47589_1_, AdvancementsScreen p_i47589_2_, AdvancementTabType p_i47589_3_, int p_i47589_4_, Advancement p_i47589_5_, DisplayInfo p_i47589_6_)
public AdvancementTabGui(Minecraft mc, AdvancementsScreen screen, AdvancementTabType type, int index, int page, Advancement adv, DisplayInfo info)
public int getPage()
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_, ItemRenderer 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 func_195627_a(int p_195627_1_, int p_195627_2_, double p_195627_3_, double p_195627_5_)
@Nullable public static AdvancementTabGui create(Minecraft p_193936_0_, AdvancementsScreen p_193936_1_, int p_193936_2_, Advancement p_193936_3_)
public void func_195626_a(double p_195626_1_, double p_195626_3_)
public void addAdvancement(Advancement p_191800_1_)
private void addGuiAdvancement(AdvancementEntryGui p_193937_1_, Advancement p_193937_2_)
@Nullable public AdvancementEntryGui getAdvancementGui(Advancement p_191794_1_)
public AdvancementsScreen getScreen()