net.minecraft.client.gui.screens.advancements

public class AdvancementWidget

extends GuiComponent

etq
net.minecraft.client.gui.screens.advancements.AdvancementWidget
net.minecraft.class_456
net.minecraft.client.gui.screen.advancement.AdvancementWidget
net.minecraft.src.C_3607_

Field summary

Modifier and TypeField
private static final ResourceLocation
a
WIDGETS_LOCATION
field_2709
WIDGETS_TEXTURE
f_97239_
private static final int
b
HEIGHT
field_32286
field_32286
f_169542_
private static final int
c
BOX_X
field_32287
field_32287
f_169543_
private static final int
d
BOX_WIDTH
field_32288
field_32288
f_169544_
private static final int
e
FRAME_WIDTH
field_32289
field_32289
f_169545_
private static final int
f
ICON_X
field_32290
ICON_OFFSET_X
f_169546_
private static final int
k
ICON_Y
field_32291
ICON_OFFSET_Y
f_169547_
private static final int
l
ICON_WIDTH
field_32292
ICON_SIZE
f_169548_
private static final int
m
TITLE_PADDING_LEFT
field_32293
field_32293
f_169549_
private static final int
n
TITLE_PADDING_RIGHT
field_32294
field_32294
f_169550_
private static final int
o
TITLE_X
field_32295
TITLE_OFFSET_X
f_169551_
private static final int
p
TITLE_Y
field_32296
TITLE_OFFSET_Y
f_169552_
private static final int
q
TITLE_MAX_WIDTH
field_32297
TITLE_MAX_WIDTH
f_169553_
private static final int[]
r
TEST_SPLIT_OFFSETS
field_24262
SPLIT_OFFSET_CANDIDATES
f_97240_
private final AdvancementTab
s
tab
field_2703
tab
f_97241_
private final Advancement
t
advancement
field_2702
advancement
f_97242_
private final DisplayInfo
u
display
field_2712
display
f_97243_
private final FormattedCharSequence
v
title
field_2713
title
f_97244_
private final int
w
width
field_2715
width
f_97245_
private final List<FormattedCharSequence>
x
description
field_2705
description
f_97246_
private final Minecraft
y
minecraft
field_2704
client
f_97247_
private AdvancementWidget
z
parent
field_2706
parent
f_97248_
private final List<AdvancementWidget>
A
children
field_2707
children
f_97249_
private AdvancementProgress
B
progress
field_2714
progress
f_97250_
private final int
C
x
field_2711
x
f_97251_
private final int
D
y
field_2710
y
f_97252_

Constructor summary

ModifierConstructor
public (AdvancementTab tab, Minecraft client, Advancement advancement, DisplayInfo display)

Method summary

Modifier and TypeMethod
private static float
a(emt arg0, List<tn> arg1)
getMaxWidth(StringSplitter arg0, List<FormattedText> arg1)
method_27572(class_5225 arg0, List<class_5348> arg1)
getMaxWidth(TextHandler textHandler, List<StringVisitable> lines)
m_97303_(C_3410_ p_97304_, List<C_5000_> p_97305_)
private List<FormattedText>
a(tj arg0, int arg1)
findOptimalLines(Component arg0, int arg1)
method_2330(class_2561 arg0, int arg1)
wrapDescription(Text text, int width)
m_97308_(C_4996_ p_97310_, int arg1)
private AdvancementWidget
a(ae arg0)
getFirstVisibleParent(Advancement arg0)
method_2328(class_161 arg0)
getParent(Advancement advancement)
m_97311_(C_5362_ arg0)
public void
a(ehe arg0, int arg1, int arg2, boolean arg3)
drawConnectivity(PoseStack arg0, int arg1, int arg2, boolean arg3)
method_2323(class_4587 arg0, int arg1, int arg2, boolean arg3)
renderLines(MatrixStack matrices, int x, int y, boolean border)
m_97298_(C_3181_ p_97300_, int p_97301_, int p_97302_, boolean arg3)
public void
a(ehe arg0, int arg1, int arg2)
draw(PoseStack arg0, int arg1, int arg2)
method_2325(class_4587 arg0, int arg1, int arg2)
renderWidgets(MatrixStack matrices, int x, int y)
m_97266_(C_3181_ p_97268_, int p_97269_, int arg2)
public int
a()
getWidth()
method_35737()
getWidth()
m_169554_()
public void
a(ag arg0)
setProgress(AdvancementProgress arg0)
method_2333(class_167 arg0)
setProgress(AdvancementProgress progress)
m_97264_(C_2_ arg0)
public void
a(etq arg0)
addChild(AdvancementWidget arg0)
method_2322(class_456 arg0)
addChild(AdvancementWidget widget)
m_97306_(C_3607_ arg0)
public void
a(ehe arg0, int arg1, int arg2, float arg3, int arg4, int arg5)
drawHover(PoseStack arg0, int arg1, int arg2, float arg3, int arg4, int arg5)
method_2331(class_4587 arg0, int arg1, int arg2, float arg3, int arg4, int arg5)
drawTooltip(MatrixStack matrices, int originX, int originY, float alpha, int x, int y)
m_97270_(C_3181_ p_97272_, int p_97273_, int p_97274_, float p_97275_, int p_97276_, int arg5)
public boolean
b(int arg0, int arg1, int arg2, int arg3)
isMouseOver(int arg0, int arg1, int arg2, int arg3)
method_2329(int arg0, int arg1, int arg2, int arg3)
shouldRender(int originX, int originY, int mouseX, int mouseY)
m_97259_(int p_97261_, int p_97262_, int p_97263_, int arg3)
public void
b()
attachToParent()
method_2332()
addToTree()
m_97313_()
public int
c()
getY()
method_2326()
getY()
m_97314_()
public int
d()
getX()
method_2327()
getX()
m_97315_()