net.minecraft.client.gui.screens.advancements

public class AdvancementTab

evc
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
f
display
field_2695
display
f_97131_
private final ItemStack
g
icon
field_2697
icon
f_97132_
private final Component
h
title
field_2686
title
f_97133_
private final AdvancementWidget
i
root
field_2696
rootWidget
f_97134_
private final Map<Advancement, AdvancementWidget>
j
widgets
field_2685
widgets
f_97135_
private double
k
scrollX
field_2690
originX
f_97136_
private double
l
scrollY
field_2689
originY
f_97137_
private int
m
minX
field_2694
minPanX
f_97138_
private int
n
minY
field_2693
minPanY
f_97139_
private int
o
maxX
field_2692
maxPanX
f_97140_
private int
p
maxY
field_2691
maxPanY
f_97141_
private float
q
fade
field_2688
alpha
f_97142_
private boolean
r
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(eox arg0, int arg1, int arg2, boolean arg3)
drawTab(GuiGraphics arg0, int arg1, int arg2, boolean arg3)
method_2311(class_332 arg0, int arg1, int arg2, boolean arg3)
drawBackground(DrawContext context, int x, int y, boolean selected)
m_280105_(C_279497_ p_282721_, int p_282964_, int p_283052_, boolean arg3)
public void
a(eox arg0, int arg1, int arg2)
drawIcon(GuiGraphics arg0, int arg1, int arg2)
method_2315(class_332 arg0, int arg1, int arg2)
drawIcon(DrawContext context, int x, int y)
m_280485_(C_279497_ p_283419_, int p_283293_, int arg2)
public void
b(eox arg0, int arg1, int arg2)
drawContents(GuiGraphics arg0, int arg1, int arg2)
method_2310(class_332 arg0, int arg1, int arg2)
render(DrawContext context, int x, int y)
m_280047_(C_279497_ p_282962_, int p_281511_, int arg2)
public void
a(eox arg0, int arg1, int arg2, int arg3, int arg4)
drawTooltips(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_2314(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawWidgetTooltip(DrawContext context, int mouseX, int mouseY, int x, int y)
m_280571_(C_279497_ p_283658_, int p_282602_, int p_282652_, int p_283595_, 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(enn arg0, evg arg1, int arg2, ae 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(ae arg0)
addAdvancement(Advancement arg0)
method_2318(class_161 arg0)
addAdvancement(Advancement advancement)
m_97178_(C_5362_ arg0)
private void
a(eve arg0, ae 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(ae 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_()