net.minecraft.client.gui.screens.advancements

public class AdvancementTab

extends GuiComponent

eto
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
k
icon
field_2697
icon
f_97132_
private final Component
l
title
field_2686
title
f_97133_
private final AdvancementWidget
m
root
field_2696
rootWidget
f_97134_
private final Map<Advancement, AdvancementWidget>
n
widgets
field_2685
widgets
f_97135_
private double
o
scrollX
field_2690
originX
f_97136_
private double
p
scrollY
field_2689
originY
f_97137_
private int
q
minX
field_2694
minPanX
f_97138_
private int
r
minY
field_2693
minPanY
f_97139_
private int
s
maxX
field_2692
maxPanX
f_97140_
private int
t
maxY
field_2691
maxPanY
f_97141_
private float
u
fade
field_2688
alpha
f_97142_
private boolean
v
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(ehe 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(ehe arg0, int arg1, int arg2, foc arg3)
drawIcon(PoseStack arg0, int arg1, int arg2, ItemRenderer arg3)
method_2315(class_4587 arg0, int arg1, int arg2, class_918 arg3)
drawIcon(MatrixStack matrices, int x, int y, ItemRenderer itemRenderer)
m_274613_(C_3181_ p_275531_, int p_275264_, int p_275236_, C_4354_ arg3)
public void
a(ehe arg0, int arg1, int arg2)
drawContents(PoseStack arg0, int arg1, int arg2)
method_2310(class_4587 arg0, int arg1, int arg2)
render(MatrixStack matrices, int x, int y)
m_274578_(C_3181_ p_275430_, int p_275336_, int arg2)
public void
c(ehe 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(emh arg0, ets 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(etq 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_()