net.minecraft.client.gui.screens.advancements

public class AdvancementTab

extends GuiComponent

edc
net.minecraft.client.gui.screens.advancements.AdvancementTab
net.minecraft.class_454
net.minecraft.client.gui.screen.advancement.AdvancementTab
net.minecraft.src.C_3604_

Field summary

Modifier and TypeField
private final Minecraft
a
minecraft
field_2680
client
f_97126_
private final AdvancementsScreen
b
screen
field_2687
screen
f_97127_
private final AdvancementTabType
c
type
field_2684
type
f_97128_
private final int
d
index
field_2681
index
f_97129_
private final Advancement
e
advancement
field_2682
root
f_97130_
private final DisplayInfo
i
display
field_2695
display
f_97131_
private final ItemStack
j
icon
field_2697
icon
f_97132_
private final Component
k
title
field_2686
title
f_97133_
private final AdvancementWidget
l
root
field_2696
rootWidget
f_97134_
private final Map<Advancement, AdvancementWidget>
m
widgets
field_2685
widgets
f_97135_
private double
n
scrollX
field_2690
originX
f_97136_
private double
o
scrollY
field_2689
originY
f_97137_
private int
p
minX
field_2694
minPanX
f_97138_
private int
q
minY
field_2693
minPanY
f_97139_
private int
r
maxX
field_2692
maxPanX
f_97140_
private int
s
maxY
field_2691
maxPanY
f_97141_
private float
t
fade
field_2688
alpha
f_97142_
private boolean
u
centered
field_2683
initialized
f_97143_

Constructor summary

ModifierConstructor
public (Minecraft client, AdvancementsScreen screen, AdvancementTabType type, int index, Advancement root, DisplayInfo display)

Method summary

Modifier and TypeMethod
public AdvancementTabType
a()
getType()
method_35734()
getType()
m_169538_()
public int
b()
getIndex()
method_35735()
getIndex()
m_169539_()
public Advancement
c()
getAdvancement()
method_2307()
getRoot()
m_97182_()
public Component
d()
getTitle()
method_2309()
getTitle()
m_97189_()
public DisplayInfo
e()
getDisplay()
method_35736()
getDisplay()
m_169540_()
public void
a(dsj arg0, int arg1, int arg2, boolean arg3)
drawTab(PoseStack arg0, int arg1, int arg2, boolean arg3)
method_2311(class_4587 arg0, int arg1, int arg2, boolean arg3)
drawBackground(MatrixStack matrices, int x, int y, boolean selected)
m_97165_(C_3181_ p_97167_, int p_97168_, int p_97169_, boolean arg3)
public void
a(int arg0, int arg1, eva arg2)
drawIcon(int arg0, int arg1, ItemRenderer arg2)
method_2315(int arg0, int arg1, class_918 arg2)
drawIcon(int x, int y, ItemRenderer itemRenderer)
m_97159_(int p_97161_, int p_97162_, C_4354_ arg2)
public void
a(dsj arg0)
drawContents(PoseStack arg0)
method_2310(class_4587 arg0)
render(MatrixStack matrices)
m_97163_(C_3181_ arg0)
public void
c(dsj arg0, int arg1, int arg2, int arg3, int arg4)
drawTooltips(PoseStack arg0, int arg1, int arg2, int arg3, int arg4)
method_2314(class_4587 arg0, int arg1, int arg2, int arg3, int arg4)
drawWidgetTooltip(MatrixStack matrices, int mouseX, int mouseY, int x, int y)
m_97183_(C_3181_ p_97185_, int p_97186_, int p_97187_, int p_97188_, int arg4)
public boolean
a(int arg0, int arg1, double arg2, double arg3)
isMouseOver(int arg0, int arg1, double arg2, double arg3)
method_2316(int arg0, int arg1, double arg2, double arg3)
isClickOnTab(int screenX, int screenY, double mouseX, double mouseY)
m_97154_(int p_97156_, int p_97157_, double p_97158_, double arg3)
public static AdvancementTab
a(dxo arg0, edg arg1, int arg2, af arg3)
create(Minecraft arg0, AdvancementsScreen arg1, int arg2, Advancement arg3)
method_2317(class_310 arg0, class_457 arg1, int arg2, class_161 arg3)
create(MinecraftClient client, AdvancementsScreen screen, int index, Advancement root)
m_97170_(C_3391_ p_97171_, C_3609_ p_97172_, int p_97173_, C_5362_ p_97174_)
public void
a(double arg0, double arg1)
scroll(double arg0, double arg1)
method_2313(double arg0, double arg1)
move(double offsetX, double offsetY)
m_97151_(double p_97153_, double arg1)
public void
a(af arg0)
addAdvancement(Advancement arg0)
method_2318(class_161 arg0)
addAdvancement(Advancement advancement)
m_97178_(C_5362_ arg0)
private void
a(ede arg0, af arg1)
addWidget(AdvancementWidget arg0, Advancement arg1)
method_2319(class_456 arg0, class_161 arg1)
addWidget(AdvancementWidget widget, Advancement advancement)
m_97175_(C_3607_ p_97177_, C_5362_ arg1)
public AdvancementWidget
b(af arg0)
getWidget(Advancement arg0)
method_2308(class_161 arg0)
getWidget(Advancement advancement)
m_97180_(C_5362_ arg0)
public AdvancementsScreen
f()
getScreen()
method_2312()
getScreen()
m_97190_()