net.minecraft.client.gui.screens.advancements

public class AdvancementsScreen

extends Screen implements ClientAdvancements$Listener

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable, ClientAdvancements$Listener, AdvancementTree$Listener

fui
net.minecraft.client.gui.screens.advancements.AdvancementsScreen
net.minecraft.class_457
net.minecraft.client.gui.screen.advancement.AdvancementsScreen

Field summary

Modifier and TypeField
private static final ResourceLocation
x
WINDOW_LOCATION
field_2717
WINDOW_TEXTURE
public static final int
a
WINDOW_WIDTH
field_32298
WINDOW_WIDTH
public static final int
b
WINDOW_HEIGHT
field_32299
WINDOW_HEIGHT
private static final int
y
WINDOW_INSIDE_X
field_32306
PAGE_OFFSET_X
private static final int
z
WINDOW_INSIDE_Y
field_32307
PAGE_OFFSET_Y
public static final int
c
WINDOW_INSIDE_WIDTH
field_32300
PAGE_WIDTH
public static final int
d
WINDOW_INSIDE_HEIGHT
field_32301
PAGE_HEIGHT
private static final int
A
WINDOW_TITLE_X
field_32308
TITLE_OFFSET_X
private static final int
B
WINDOW_TITLE_Y
field_32309
TITLE_OFFSET_Y
private static final int
C
BACKGROUND_TEXTURE_WIDTH
field_52799
field_52799
private static final int
D
BACKGROUND_TEXTURE_HEIGHT
field_52800
field_52800
public static final int
s
BACKGROUND_TILE_WIDTH
field_32302
field_32302
public static final int
u
BACKGROUND_TILE_HEIGHT
field_32303
field_32303
public static final int
v
BACKGROUND_TILE_COUNT_X
field_32304
field_32304
public static final int
w
BACKGROUND_TILE_COUNT_Y
field_32305
field_32305
private static final double
E
SCROLL_SPEED
field_45431
field_45431
private static final Component
F
VERY_SAD_LABEL
field_26553
SAD_LABEL_TEXT
private static final Component
G
NO_ADVANCEMENTS_LABEL
field_26554
EMPTY_TEXT
private static final Component
H
TITLE
field_26555
ADVANCEMENTS_TEXT
private final HeaderAndFooterLayout
I
layout
field_49530
layout
private final Screen
J
lastScreen
field_49531
parent
private final ClientAdvancements
K
advancements
field_2721
advancementHandler
private final Map<AdvancementHolder, AdvancementTab>
L
tabs
field_2719
tabs
private AdvancementTab
M
selectedTab
field_2720
selectedTab
private boolean
N
isScrolling
field_2718
movingTab

Constructor summary

ModifierConstructor
public (ClientAdvancements advancementHandler)
public (ClientAdvancements advancementHandler, Screen parent)

Method summary

Modifier and TypeMethod
protected void
aT_()
init()
method_25426()
init()
protected void
c()
repositionElements()
method_48640()
refreshWidgetPositions()
public void
aP_()
onClose()
method_25419()
close()
public void
aJ_()
removed()
method_25432()
removed()
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
public void
a(fns arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
public boolean
a(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
method_25403(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
public boolean
a(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
method_25401(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
private void
b(fns arg0, int arg1, int arg2, int arg3, int arg4)
renderInside(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_2337(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawAdvancementTree(DrawContext context, int mouseX, int mouseY, int x, int y)
public void
a(fns arg0, int arg1, int arg2)
renderWindow(GuiGraphics arg0, int arg1, int arg2)
method_2334(class_332 arg0, int arg1, int arg2)
drawWindow(DrawContext context, int x, int y)
private void
c(fns arg0, int arg1, int arg2, int arg3, int arg4)
renderTooltips(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
method_2338(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawWidgetTooltip(DrawContext context, int mouseX, int mouseY, int x, int y)
public void
a(ai arg0)
onAddAdvancementRoot(AdvancementNode arg0)
method_723(class_8781 arg0)
onRootAdded(PlacedAdvancement arg0)
public void
b(ai arg0)
onRemoveAdvancementRoot(AdvancementNode arg0)
method_720(class_8781 arg0)
onRootRemoved(PlacedAdvancement arg0)
public void
c(ai arg0)
onAddAdvancementTask(AdvancementNode arg0)
method_721(class_8781 arg0)
onDependentAdded(PlacedAdvancement arg0)
public void
d(ai arg0)
onRemoveAdvancementTask(AdvancementNode arg0)
method_719(class_8781 arg0)
onDependentRemoved(PlacedAdvancement arg0)
public void
a(ai arg0, aj arg1)
onUpdateAdvancementProgress(AdvancementNode arg0, AdvancementProgress arg1)
method_2865(class_8781 arg0, class_167 arg1)
setProgress(PlacedAdvancement arg0, AdvancementProgress arg1)
public void
a(ah arg0)
onSelectedTabChanged(AdvancementHolder arg0)
method_2866(class_8779 arg0)
selectTab(AdvancementEntry arg0)
public void
a()
onAdvancementsCleared()
method_722()
onClear()
public AdvancementWidget
e(ai arg0)
getAdvancementWidget(AdvancementNode arg0)
method_2335(class_8781 arg0)
getAdvancementWidget(PlacedAdvancement advancement)
private AdvancementTab
f(ai arg0)
getTab(AdvancementNode arg0)
method_2336(class_8781 arg0)
getTab(PlacedAdvancement advancement)