Class AdvancementTabGui
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.advancements.AdvancementTabGui
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Advancement
private boolean
private final DisplayInfo
private float
private final ItemStack
private final int
private int
private int
private final Minecraft
private int
private int
private int
private final AdvancementEntryGui
private final AdvancementsScreen
private double
private double
private final ITextComponent
private final AdvancementTabType
private final Map<Advancement,
AdvancementEntryGui> Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorDescriptionAdvancementTabGui
(Minecraft mc, AdvancementsScreen screen, AdvancementTabType type, int index, int page, Advancement adv, DisplayInfo info) 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_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdvancement
(Advancement p_191800_1_) private void
addWidget
(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
(MatrixStack p_238682_1_) void
drawIcon
(int p_191796_1_, int p_191796_2_, ItemRenderer p_191796_3_) void
drawTab
(MatrixStack p_238683_1_, int p_238683_2_, int p_238683_3_, boolean p_238683_4_) void
drawTooltips
(MatrixStack p_238684_1_, int p_238684_2_, int p_238684_3_, int p_238684_4_, int p_238684_5_) int
getPage()
getTitle()
getWidget
(Advancement p_191794_1_) boolean
isMouseOver
(int p_195627_1_, int p_195627_2_, double p_195627_3_, double p_195627_5_) void
scroll
(double p_195626_1_, double p_195626_3_) Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Field Details
-
minecraft
-
screen
-
type
-
index
private final int index -
advancement
-
display
-
icon
-
title
-
root
-
widgets
-
scrollX
private double scrollX -
scrollY
private double scrollY -
minX
private int minX -
minY
private int minY -
maxX
private int maxX -
maxY
private int maxY -
fade
private float fade -
centered
private boolean centered -
page
private int page
-
-
Constructor Details
-
AdvancementTabGui
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_) -
AdvancementTabGui
public AdvancementTabGui(Minecraft mc, AdvancementsScreen screen, AdvancementTabType type, int index, int page, Advancement adv, DisplayInfo info)
-
-
Method Details
-
getPage
public int getPage() -
getAdvancement
-
getTitle
-
drawTab
-
drawIcon
-
drawContents
-
drawTooltips
public void drawTooltips(MatrixStack p_238684_1_, int p_238684_2_, int p_238684_3_, int p_238684_4_, int p_238684_5_) -
isMouseOver
public boolean isMouseOver(int p_195627_1_, int p_195627_2_, double p_195627_3_, double p_195627_5_) -
create
@Nullable public static AdvancementTabGui create(Minecraft p_193936_0_, AdvancementsScreen p_193936_1_, int p_193936_2_, Advancement p_193936_3_) -
scroll
public void scroll(double p_195626_1_, double p_195626_3_) -
addAdvancement
-
addWidget
-
getWidget
-
getScreen
-