Class AdvancementTab
java.lang.Object
net.minecraft.client.gui.screen.advancement.AdvancementTab
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/advancement/AdvancementTab
intermediary net/minecraft/class_454
official fnr
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private final MinecraftClient
private final AdvancementDisplay
private final ItemStack
private final int
private boolean
private int
private int
private int
private int
private double
private double
private final PlacedAdvancement
private final AdvancementWidget
private final AdvancementsScreen
private final Text
private final AdvancementTabType
private final Map
<AdvancementEntry, AdvancementWidget> -
Constructor Summary
ConstructorDescriptionAdvancementTab
(MinecraftClient client, AdvancementsScreen screen, AdvancementTabType type, int index, PlacedAdvancement root, AdvancementDisplay display) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdvancement
(PlacedAdvancement advancement) private void
addWidget
(AdvancementWidget widget, AdvancementEntry advancement) static @Nullable AdvancementTab
create
(MinecraftClient client, AdvancementsScreen screen, int index, PlacedAdvancement root) void
drawBackground
(DrawContext context, int x, int y, boolean selected) void
drawIcon
(DrawContext context, int x, int y) void
drawWidgetTooltip
(DrawContext context, int mouseX, int mouseY, int x, int y) int
getIndex()
getRoot()
getTitle()
getType()
getWidget
(AdvancementEntry advancement) boolean
isClickOnTab
(int screenX, int screenY, double mouseX, double mouseY) void
move
(double offsetX, double offsetY) void
render
(DrawContext context, int x, int y)
-
Field Details
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_2680
Lnet/minecraft/class_454;field_2680:Lnet/minecraft/class_310;
official a
Lfnr;a:Lffw;
-
screen
- Mappings:
Namespace Name Mixin selector named screen
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;screen:Lnet/minecraft/client/gui/screen/advancement/AdvancementsScreen;
intermediary field_2687
Lnet/minecraft/class_454;field_2687:Lnet/minecraft/class_457;
official b
Lfnr;b:Lfnv;
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;type:Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
intermediary field_2684
Lnet/minecraft/class_454;field_2684:Lnet/minecraft/class_453;
official c
Lfnr;c:Lfns;
-
index
private final int index- Mappings:
Namespace Name Mixin selector named index
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;index:I
intermediary field_2681
Lnet/minecraft/class_454;field_2681:I
official d
Lfnr;d:I
-
root
- Mappings:
Namespace Name Mixin selector named root
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;root:Lnet/minecraft/advancement/PlacedAdvancement;
intermediary field_46142
Lnet/minecraft/class_454;field_46142:Lnet/minecraft/class_8781;
official e
Lfnr;e:Lag;
-
display
- Mappings:
Namespace Name Mixin selector named display
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;display:Lnet/minecraft/advancement/AdvancementDisplay;
intermediary field_2695
Lnet/minecraft/class_454;field_2695:Lnet/minecraft/class_185;
official f
Lfnr;f:Lar;
-
icon
- Mappings:
Namespace Name Mixin selector named icon
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;icon:Lnet/minecraft/item/ItemStack;
intermediary field_2697
Lnet/minecraft/class_454;field_2697:Lnet/minecraft/class_1799;
official g
Lfnr;g:Lcud;
-
title
- Mappings:
Namespace Name Mixin selector named title
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;title:Lnet/minecraft/text/Text;
intermediary field_2686
Lnet/minecraft/class_454;field_2686:Lnet/minecraft/class_2561;
official h
Lfnr;h:Lwu;
-
rootWidget
- Mappings:
Namespace Name Mixin selector named rootWidget
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;rootWidget:Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;
intermediary field_2696
Lnet/minecraft/class_454;field_2696:Lnet/minecraft/class_456;
official i
Lfnr;i:Lfnt;
-
widgets
- Mappings:
Namespace Name Mixin selector named widgets
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;widgets:Ljava/util/Map;
intermediary field_2685
Lnet/minecraft/class_454;field_2685:Ljava/util/Map;
official j
Lfnr;j:Ljava/util/Map;
-
originX
private double originX- Mappings:
Namespace Name Mixin selector named originX
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;originX:D
intermediary field_2690
Lnet/minecraft/class_454;field_2690:D
official k
Lfnr;k:D
-
originY
private double originY- Mappings:
Namespace Name Mixin selector named originY
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;originY:D
intermediary field_2689
Lnet/minecraft/class_454;field_2689:D
official l
Lfnr;l:D
-
minPanX
private int minPanX- Mappings:
Namespace Name Mixin selector named minPanX
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;minPanX:I
intermediary field_2694
Lnet/minecraft/class_454;field_2694:I
official m
Lfnr;m:I
-
minPanY
private int minPanY- Mappings:
Namespace Name Mixin selector named minPanY
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;minPanY:I
intermediary field_2693
Lnet/minecraft/class_454;field_2693:I
official n
Lfnr;n:I
-
maxPanX
private int maxPanX- Mappings:
Namespace Name Mixin selector named maxPanX
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;maxPanX:I
intermediary field_2692
Lnet/minecraft/class_454;field_2692:I
official o
Lfnr;o:I
-
maxPanY
private int maxPanY- Mappings:
Namespace Name Mixin selector named maxPanY
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;maxPanY:I
intermediary field_2691
Lnet/minecraft/class_454;field_2691:I
official p
Lfnr;p:I
-
alpha
private float alpha- Mappings:
Namespace Name Mixin selector named alpha
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;alpha:F
intermediary field_2688
Lnet/minecraft/class_454;field_2688:F
official q
Lfnr;q:F
-
initialized
private boolean initialized- Mappings:
Namespace Name Mixin selector named initialized
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;initialized:Z
intermediary field_2683
Lnet/minecraft/class_454;field_2683:Z
official r
Lfnr;r:Z
-
-
Constructor Details
-
AdvancementTab
public AdvancementTab(MinecraftClient client, AdvancementsScreen screen, AdvancementTabType type, int index, PlacedAdvancement root, AdvancementDisplay display) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/advancement/AdvancementsScreen;Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;ILnet/minecraft/advancement/PlacedAdvancement;Lnet/minecraft/advancement/AdvancementDisplay;)V
intermediary <init>
Lnet/minecraft/class_454;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_457;Lnet/minecraft/class_453;ILnet/minecraft/class_8781;Lnet/minecraft/class_185;)V
official <init>
Lfnr;<init>(Lffw;Lfnv;Lfns;ILag;Lar;)V
-
-
Method Details
-
getType
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getType()Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
intermediary method_35734
Lnet/minecraft/class_454;method_35734()Lnet/minecraft/class_453;
official a
Lfnr;a()Lfns;
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector named getIndex
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getIndex()I
intermediary method_35735
Lnet/minecraft/class_454;method_35735()I
official b
Lfnr;b()I
-
getRoot
- Mappings:
Namespace Name Mixin selector named getRoot
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getRoot()Lnet/minecraft/advancement/PlacedAdvancement;
intermediary method_53813
Lnet/minecraft/class_454;method_53813()Lnet/minecraft/class_8781;
official c
Lfnr;c()Lag;
-
getTitle
- Mappings:
Namespace Name Mixin selector named getTitle
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getTitle()Lnet/minecraft/text/Text;
intermediary method_2309
Lnet/minecraft/class_454;method_2309()Lnet/minecraft/class_2561;
official d
Lfnr;d()Lwu;
-
getDisplay
- Mappings:
Namespace Name Mixin selector named getDisplay
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getDisplay()Lnet/minecraft/advancement/AdvancementDisplay;
intermediary method_35736
Lnet/minecraft/class_454;method_35736()Lnet/minecraft/class_185;
official e
Lfnr;e()Lar;
-
drawBackground
- Mappings:
Namespace Name Mixin selector named drawBackground
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;drawBackground(Lnet/minecraft/client/gui/DrawContext;IIZ)V
intermediary method_2311
Lnet/minecraft/class_454;method_2311(Lnet/minecraft/class_332;IIZ)V
official a
Lfnr;a(Lfhh;IIZ)V
-
drawIcon
- Mappings:
Namespace Name Mixin selector named drawIcon
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;drawIcon(Lnet/minecraft/client/gui/DrawContext;II)V
intermediary method_2315
Lnet/minecraft/class_454;method_2315(Lnet/minecraft/class_332;II)V
official a
Lfnr;a(Lfhh;II)V
-
render
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;render(Lnet/minecraft/client/gui/DrawContext;II)V
intermediary method_2310
Lnet/minecraft/class_454;method_2310(Lnet/minecraft/class_332;II)V
official b
Lfnr;b(Lfhh;II)V
-
drawWidgetTooltip
- Mappings:
Namespace Name Mixin selector named drawWidgetTooltip
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;drawWidgetTooltip(Lnet/minecraft/client/gui/DrawContext;IIII)V
intermediary method_2314
Lnet/minecraft/class_454;method_2314(Lnet/minecraft/class_332;IIII)V
official a
Lfnr;a(Lfhh;IIII)V
-
isClickOnTab
public boolean isClickOnTab(int screenX, int screenY, double mouseX, double mouseY) - Mappings:
Namespace Name Mixin selector named isClickOnTab
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;isClickOnTab(IIDD)Z
intermediary method_2316
Lnet/minecraft/class_454;method_2316(IIDD)Z
official a
Lfnr;a(IIDD)Z
-
create
@Nullable public static @Nullable AdvancementTab create(MinecraftClient client, AdvancementsScreen screen, int index, PlacedAdvancement root) - Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;create(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/advancement/AdvancementsScreen;ILnet/minecraft/advancement/PlacedAdvancement;)Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;
intermediary method_2317
Lnet/minecraft/class_454;method_2317(Lnet/minecraft/class_310;Lnet/minecraft/class_457;ILnet/minecraft/class_8781;)Lnet/minecraft/class_454;
official a
Lfnr;a(Lffw;Lfnv;ILag;)Lfnr;
-
move
public void move(double offsetX, double offsetY) - Mappings:
Namespace Name Mixin selector named move
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;move(DD)V
intermediary method_2313
Lnet/minecraft/class_454;method_2313(DD)V
official a
Lfnr;a(DD)V
-
addAdvancement
- Mappings:
Namespace Name Mixin selector named addAdvancement
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;addAdvancement(Lnet/minecraft/advancement/PlacedAdvancement;)V
intermediary method_2318
Lnet/minecraft/class_454;method_2318(Lnet/minecraft/class_8781;)V
official a
Lfnr;a(Lag;)V
-
addWidget
- Mappings:
Namespace Name Mixin selector named addWidget
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;addWidget(Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;Lnet/minecraft/advancement/AdvancementEntry;)V
intermediary method_2319
Lnet/minecraft/class_454;method_2319(Lnet/minecraft/class_456;Lnet/minecraft/class_8779;)V
official a
Lfnr;a(Lfnt;Laf;)V
-
getWidget
- Mappings:
Namespace Name Mixin selector named getWidget
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getWidget(Lnet/minecraft/advancement/AdvancementEntry;)Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;
intermediary method_2308
Lnet/minecraft/class_454;method_2308(Lnet/minecraft/class_8779;)Lnet/minecraft/class_456;
official a
Lfnr;a(Laf;)Lfnt;
-
getScreen
- Mappings:
Namespace Name Mixin selector named getScreen
Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getScreen()Lnet/minecraft/client/gui/screen/advancement/AdvancementsScreen;
intermediary method_2312
Lnet/minecraft/class_454;method_2312()Lnet/minecraft/class_457;
official f
Lfnr;f()Lfnv;
-