net.minecraft.client.gui.screens.advancements

public class AdvancementWidget

extends GuiComponent

eej
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
i
ICON_X
field_32290
ICON_OFFSET_X
f_169546_
private static final int
j
ICON_Y
field_32291
ICON_OFFSET_Y
f_169547_
private static final int
k
ICON_WIDTH
field_32292
ICON_SIZE
f_169548_
private static final int
l
TITLE_PADDING_LEFT
field_32293
field_32293
f_169549_
private static final int
m
TITLE_PADDING_RIGHT
field_32294
field_32294
f_169550_
private static final int
n
TITLE_X
field_32295
TITLE_OFFSET_X
f_169551_
private static final int
o
TITLE_Y
field_32296
TITLE_OFFSET_Y
f_169552_
private static final int
p
TITLE_MAX_WIDTH
field_32297
TITLE_MAX_WIDTH
f_169553_
private static final int[]
q
TEST_SPLIT_OFFSETS
field_24262
SPLIT_OFFSET_CANDIDATES
f_97240_
private final AdvancementTab
r
tab
field_2703
tab
f_97241_
private final Advancement
s
advancement
field_2702
advancement
f_97242_
private final DisplayInfo
t
display
field_2712
display
f_97243_
private final FormattedCharSequence
u
title
field_2713
title
f_97244_
private final int
v
width
field_2715
width
f_97245_
private final List<FormattedCharSequence>
w
description
field_2705
description
f_97246_
private final Minecraft
x
minecraft
field_2704
client
f_97247_
private AdvancementWidget
y
parent
field_2706
parent
f_97248_
private final List<AdvancementWidget>
z
children
field_2707
children
f_97249_
private AdvancementProgress
A
progress
field_2714
progress
f_97250_
private final int
B
x
field_2711
x
f_97251_
private final int
C
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(dze arg0, List<qn> 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(qk 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(af arg0)
getFirstVisibleParent(Advancement arg0)
method_2328(class_161 arg0)
getParent(Advancement advancement)
m_97311_(C_5362_ arg0)
public void
a(dtm 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(dtm 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(ah arg0)
setProgress(AdvancementProgress arg0)
method_2333(class_167 arg0)
setProgress(AdvancementProgress progress)
m_97264_(C_2_ arg0)
public void
a(eej arg0)
addChild(AdvancementWidget arg0)
method_2322(class_456 arg0)
addChild(AdvancementWidget widget)
m_97306_(C_3607_ arg0)
public void
a(dtm 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)
protected void
a(dtm arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9)
render9Sprite(PoseStack arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9)
method_2324(class_4587 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8, int arg9)
renderDescriptionBackground(MatrixStack matrices, int x, int y, int width, int height, int cornerSize, int textureWidth, int textureHeight, int u, int v)
m_97287_(C_3181_ p_97289_, int p_97290_, int p_97291_, int p_97292_, int p_97293_, int p_97294_, int p_97295_, int p_97296_, int p_97297_, int arg9)
protected void
a(dtm arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
renderRepeating(PoseStack arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
method_2321(class_4587 arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
drawTextureRepeatedly(MatrixStack matrices, int x, int y, int width, int height, int u, int v, int textureWidth, int textureHeight)
m_97277_(C_3181_ p_97279_, int p_97280_, int p_97281_, int p_97282_, int p_97283_, int p_97284_, int p_97285_, int p_97286_, int arg8)
public boolean
a(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_()