net.minecraft.client.gui.screens.advancements

public class AdvancementWidget

eyx
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
TITLE_BOX_SPRITE
field_45425
TITLE_BOX_TEXTURE
f_291434_
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
g
ICON_Y
field_32291
ICON_OFFSET_Y
f_169547_
private static final int
h
ICON_WIDTH
field_32292
ICON_SIZE
f_169548_
private static final int
i
TITLE_PADDING_LEFT
field_32293
field_32293
f_169549_
private static final int
j
TITLE_PADDING_RIGHT
field_32294
field_32294
f_169550_
private static final int
k
TITLE_X
field_32295
TITLE_OFFSET_X
f_169551_
private static final int
l
TITLE_Y
field_32296
TITLE_OFFSET_Y
f_169552_
private static final int
m
TITLE_MAX_WIDTH
field_32297
TITLE_MAX_WIDTH
f_169553_
private static final int[]
n
TEST_SPLIT_OFFSETS
field_24262
SPLIT_OFFSET_CANDIDATES
f_97240_
private final AdvancementTab
o
tab
field_2703
tab
f_97241_
private final AdvancementNode
p
advancementNode
field_46143
advancement
f_290541_
private final DisplayInfo
q
display
field_2712
display
f_97243_
private final FormattedCharSequence
r
title
field_2713
title
f_97244_
private final int
s
width
field_2715
width
f_97245_
private final List<FormattedCharSequence>
t
description
field_2705
description
f_97246_
private final Minecraft
u
minecraft
field_2704
client
f_97247_
private AdvancementWidget
v
parent
field_2706
parent
f_97248_
private final List<AdvancementWidget>
w
children
field_2707
children
f_97249_
private AdvancementProgress
x
progress
field_2714
progress
f_97250_
private final int
y
x
field_2711
x
f_97251_
private final int
z
y
field_2710
y
f_97252_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static float
a(erh arg0, List<tp> 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(tl 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(ag arg0)
getFirstVisibleParent(AdvancementNode arg0)
method_2328(class_8781 arg0)
getParent(PlacedAdvancement advancement)
m_97311_(C_290119_ arg0)
public void
a(esf arg0, int arg1, int arg2, boolean arg3)
drawConnectivity(GuiGraphics arg0, int arg1, int arg2, boolean arg3)
method_2323(class_332 arg0, int arg1, int arg2, boolean arg3)
renderLines(DrawContext context, int x, int y, boolean border)
m_97298_(C_279497_ p_97300_, int p_97301_, int p_97302_, boolean arg3)
public void
a(esf arg0, int arg1, int arg2)
draw(GuiGraphics arg0, int arg1, int arg2)
method_2325(class_332 arg0, int arg1, int arg2)
renderWidgets(DrawContext context, int x, int y)
m_280229_(C_279497_ p_281323_, int p_283679_, 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(eyx arg0)
addChild(AdvancementWidget arg0)
method_2322(class_456 arg0)
addChild(AdvancementWidget widget)
m_97306_(C_3607_ arg0)
public void
a(esf arg0, int arg1, int arg2, float arg3, int arg4, int arg5)
drawHover(GuiGraphics arg0, int arg1, int arg2, float arg3, int arg4, int arg5)
method_2331(class_332 arg0, int arg1, int arg2, float arg3, int arg4, int arg5)
drawTooltip(DrawContext context, int originX, int originY, float alpha, int x, int y)
m_280255_(C_279497_ p_281304_, int p_281253_, int p_281848_, float p_282097_, int p_281537_, int arg5)
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_()