net.minecraft.client.gui.screens.advancements

public class AdvancementWidget

fug
net.minecraft.client.gui.screens.advancements.AdvancementWidget
net.minecraft.class_456
net.minecraft.client.gui.screen.advancement.AdvancementWidget

Field summary

Modifier and TypeField
private static final ResourceLocation
a
TITLE_BOX_SPRITE
field_45425
TITLE_BOX_TEXTURE
private static final int
b
HEIGHT
field_32286
field_32286
private static final int
c
BOX_X
field_32287
field_32287
private static final int
d
BOX_WIDTH
field_32288
field_32288
private static final int
e
FRAME_WIDTH
field_32289
field_32289
private static final int
f
ICON_X
field_32290
ICON_OFFSET_X
private static final int
g
ICON_Y
field_32291
ICON_OFFSET_Y
private static final int
h
ICON_WIDTH
field_32292
ICON_SIZE
private static final int
i
TITLE_PADDING_LEFT
field_32293
field_32293
private static final int
j
TITLE_PADDING_RIGHT
field_32294
field_32294
private static final int
k
TITLE_X
field_32295
TITLE_OFFSET_X
private static final int
l
TITLE_Y
field_32296
TITLE_OFFSET_Y
private static final int
m
TITLE_MAX_WIDTH
field_32297
TITLE_MAX_WIDTH
private static final int[]
n
TEST_SPLIT_OFFSETS
field_24262
SPLIT_OFFSET_CANDIDATES
private final AdvancementTab
o
tab
field_2703
tab
private final AdvancementNode
p
advancementNode
field_46143
advancement
private final DisplayInfo
q
display
field_2712
display
private final FormattedCharSequence
r
title
field_2713
title
private final int
s
width
field_2715
width
private final List<FormattedCharSequence>
t
description
field_2705
description
private final Minecraft
u
minecraft
field_2704
client
private AdvancementWidget
v
parent
field_2706
parent
private final List<AdvancementWidget>
w
children
field_2707
children
private AdvancementProgress
x
progress
field_2714
progress
private final int
y
x
field_2711
x
private final int
z
y
field_2710
y

Constructor summary

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

Method summary

Modifier and TypeMethod
private int
e()
getMaxProgressWidth()
method_61041()
getProgressWidth()
private static float
a(fmq arg0, List<ya> arg1)
getMaxWidth(StringSplitter arg0, List<FormattedText> arg1)
method_27572(class_5225 arg0, List<class_5348> arg1)
getMaxWidth(TextHandler textHandler, List<StringVisitable> lines)
private List<FormattedText>
a(xv arg0, int arg1)
findOptimalLines(Component arg0, int arg1)
method_2330(class_2561 arg0, int arg1)
wrapDescription(Text text, int width)
private AdvancementWidget
a(ai arg0)
getFirstVisibleParent(AdvancementNode arg0)
method_2328(class_8781 arg0)
getParent(PlacedAdvancement advancement)
public void
a(fns 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)
public void
a(fns 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)
public int
a()
getWidth()
method_35737()
getWidth()
public void
a(aj arg0)
setProgress(AdvancementProgress arg0)
method_2333(class_167 arg0)
setProgress(AdvancementProgress progress)
public void
a(fug arg0)
addChild(AdvancementWidget arg0)
method_2322(class_456 arg0)
addChild(AdvancementWidget widget)
public void
a(fns 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)
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)
public void
b()
attachToParent()
method_2332()
addToTree()
public int
c()
getY()
method_2326()
getY()
public int
d()
getX()
method_2327()
getX()