Class AdvancementTab

java.lang.Object
net.minecraft.client.gui.screen.advancement.AdvancementTab

@Environment(CLIENT) public class AdvancementTab extends Object
Mappings:
Namespace Name
official eyv
intermediary net/minecraft/class_454
named net/minecraft/client/gui/screen/advancement/AdvancementTab
  • Field Details

    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a:Leqv;
      intermediary field_2680 Lnet/minecraft/class_454;field_2680:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;client:Lnet/minecraft/client/MinecraftClient;
    • screen

      private final AdvancementsScreen screen
      Mappings:
      Namespace Name Mixin selector
      official b Leyv;b:Leyz;
      intermediary field_2687 Lnet/minecraft/class_454;field_2687:Lnet/minecraft/class_457;
      named screen Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;screen:Lnet/minecraft/client/gui/screen/advancement/AdvancementsScreen;
    • type

      private final AdvancementTabType type
      Mappings:
      Namespace Name Mixin selector
      official c Leyv;c:Leyw;
      intermediary field_2684 Lnet/minecraft/class_454;field_2684:Lnet/minecraft/class_453;
      named type Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;type:Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      official d Leyv;d:I
      intermediary field_2681 Lnet/minecraft/class_454;field_2681:I
      named index Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;index:I
    • root

      private final PlacedAdvancement root
      Mappings:
      Namespace Name Mixin selector
      official e Leyv;e:Lag;
      intermediary field_46142 Lnet/minecraft/class_454;field_46142:Lnet/minecraft/class_8781;
      named root Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;root:Lnet/minecraft/advancement/PlacedAdvancement;
    • display

      private final AdvancementDisplay display
      Mappings:
      Namespace Name Mixin selector
      official f Leyv;f:Laq;
      intermediary field_2695 Lnet/minecraft/class_454;field_2695:Lnet/minecraft/class_185;
      named display Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;display:Lnet/minecraft/advancement/AdvancementDisplay;
    • icon

      private final ItemStack icon
      Mappings:
      Namespace Name Mixin selector
      official g Leyv;g:Lcjf;
      intermediary field_2697 Lnet/minecraft/class_454;field_2697:Lnet/minecraft/class_1799;
      named icon Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;icon:Lnet/minecraft/item/ItemStack;
    • title

      private final Text title
      Mappings:
      Namespace Name Mixin selector
      official h Leyv;h:Ltl;
      intermediary field_2686 Lnet/minecraft/class_454;field_2686:Lnet/minecraft/class_2561;
      named title Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;title:Lnet/minecraft/text/Text;
    • rootWidget

      private final AdvancementWidget rootWidget
      Mappings:
      Namespace Name Mixin selector
      official i Leyv;i:Leyx;
      intermediary field_2696 Lnet/minecraft/class_454;field_2696:Lnet/minecraft/class_456;
      named rootWidget Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;rootWidget:Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;
    • widgets

      private final Map<AdvancementEntry,AdvancementWidget> widgets
      Mappings:
      Namespace Name Mixin selector
      official j Leyv;j:Ljava/util/Map;
      intermediary field_2685 Lnet/minecraft/class_454;field_2685:Ljava/util/Map;
      named widgets Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;widgets:Ljava/util/Map;
    • originX

      private double originX
      Mappings:
      Namespace Name Mixin selector
      official k Leyv;k:D
      intermediary field_2690 Lnet/minecraft/class_454;field_2690:D
      named originX Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;originX:D
    • originY

      private double originY
      Mappings:
      Namespace Name Mixin selector
      official l Leyv;l:D
      intermediary field_2689 Lnet/minecraft/class_454;field_2689:D
      named originY Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;originY:D
    • minPanX

      private int minPanX
      Mappings:
      Namespace Name Mixin selector
      official m Leyv;m:I
      intermediary field_2694 Lnet/minecraft/class_454;field_2694:I
      named minPanX Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;minPanX:I
    • minPanY

      private int minPanY
      Mappings:
      Namespace Name Mixin selector
      official n Leyv;n:I
      intermediary field_2693 Lnet/minecraft/class_454;field_2693:I
      named minPanY Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;minPanY:I
    • maxPanX

      private int maxPanX
      Mappings:
      Namespace Name Mixin selector
      official o Leyv;o:I
      intermediary field_2692 Lnet/minecraft/class_454;field_2692:I
      named maxPanX Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;maxPanX:I
    • maxPanY

      private int maxPanY
      Mappings:
      Namespace Name Mixin selector
      official p Leyv;p:I
      intermediary field_2691 Lnet/minecraft/class_454;field_2691:I
      named maxPanY Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;maxPanY:I
    • alpha

      private float alpha
      Mappings:
      Namespace Name Mixin selector
      official q Leyv;q:F
      intermediary field_2688 Lnet/minecraft/class_454;field_2688:F
      named alpha Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;alpha:F
    • initialized

      private boolean initialized
      Mappings:
      Namespace Name Mixin selector
      official r Leyv;r:Z
      intermediary field_2683 Lnet/minecraft/class_454;field_2683:Z
      named initialized Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;initialized:Z
  • Constructor Details

    • AdvancementTab

      public AdvancementTab(MinecraftClient client, AdvancementsScreen screen, AdvancementTabType type, int index, PlacedAdvancement root, AdvancementDisplay display)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyv;<init>(Leqv;Leyz;Leyw;ILag;Laq;)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
      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
  • Method Details

    • getType

      public AdvancementTabType getType()
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a()Leyw;
      intermediary method_35734 Lnet/minecraft/class_454;method_35734()Lnet/minecraft/class_453;
      named getType Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getType()Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
    • getIndex

      public int getIndex()
      Mappings:
      Namespace Name Mixin selector
      official b Leyv;b()I
      intermediary method_35735 Lnet/minecraft/class_454;method_35735()I
      named getIndex Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getIndex()I
    • getRoot

      public PlacedAdvancement getRoot()
      Mappings:
      Namespace Name Mixin selector
      official c Leyv;c()Lag;
      intermediary method_53813 Lnet/minecraft/class_454;method_53813()Lnet/minecraft/class_8781;
      named getRoot Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getRoot()Lnet/minecraft/advancement/PlacedAdvancement;
    • getTitle

      public Text getTitle()
      Mappings:
      Namespace Name Mixin selector
      official d Leyv;d()Ltl;
      intermediary method_2309 Lnet/minecraft/class_454;method_2309()Lnet/minecraft/class_2561;
      named getTitle Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getTitle()Lnet/minecraft/text/Text;
    • getDisplay

      public AdvancementDisplay getDisplay()
      Mappings:
      Namespace Name Mixin selector
      official e Leyv;e()Laq;
      intermediary method_35736 Lnet/minecraft/class_454;method_35736()Lnet/minecraft/class_185;
      named getDisplay Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getDisplay()Lnet/minecraft/advancement/AdvancementDisplay;
    • drawBackground

      public void drawBackground(DrawContext context, int x, int y, boolean selected)
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a(Lesf;IIZ)V
      intermediary method_2311 Lnet/minecraft/class_454;method_2311(Lnet/minecraft/class_332;IIZ)V
      named drawBackground Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;drawBackground(Lnet/minecraft/client/gui/DrawContext;IIZ)V
    • drawIcon

      public void drawIcon(DrawContext context, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a(Lesf;II)V
      intermediary method_2315 Lnet/minecraft/class_454;method_2315(Lnet/minecraft/class_332;II)V
      named drawIcon Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;drawIcon(Lnet/minecraft/client/gui/DrawContext;II)V
    • render

      public void render(DrawContext context, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official b Leyv;b(Lesf;II)V
      intermediary method_2310 Lnet/minecraft/class_454;method_2310(Lnet/minecraft/class_332;II)V
      named render Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;render(Lnet/minecraft/client/gui/DrawContext;II)V
    • drawWidgetTooltip

      public void drawWidgetTooltip(DrawContext context, int mouseX, int mouseY, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a(Lesf;IIII)V
      intermediary method_2314 Lnet/minecraft/class_454;method_2314(Lnet/minecraft/class_332;IIII)V
      named drawWidgetTooltip Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;drawWidgetTooltip(Lnet/minecraft/client/gui/DrawContext;IIII)V
    • isClickOnTab

      public boolean isClickOnTab(int screenX, int screenY, double mouseX, double mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a(IIDD)Z
      intermediary method_2316 Lnet/minecraft/class_454;method_2316(IIDD)Z
      named isClickOnTab Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;isClickOnTab(IIDD)Z
    • create

      @Nullable public static @Nullable AdvancementTab create(MinecraftClient client, AdvancementsScreen screen, int index, PlacedAdvancement root)
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a(Leqv;Leyz;ILag;)Leyv;
      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;
      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;
    • move

      public void move(double offsetX, double offsetY)
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a(DD)V
      intermediary method_2313 Lnet/minecraft/class_454;method_2313(DD)V
      named move Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;move(DD)V
    • addAdvancement

      public void addAdvancement(PlacedAdvancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a(Lag;)V
      intermediary method_2318 Lnet/minecraft/class_454;method_2318(Lnet/minecraft/class_8781;)V
      named addAdvancement Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;addAdvancement(Lnet/minecraft/advancement/PlacedAdvancement;)V
    • addWidget

      private void addWidget(AdvancementWidget widget, AdvancementEntry advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a(Leyx;Laf;)V
      intermediary method_2319 Lnet/minecraft/class_454;method_2319(Lnet/minecraft/class_456;Lnet/minecraft/class_8779;)V
      named addWidget Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;addWidget(Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;Lnet/minecraft/advancement/AdvancementEntry;)V
    • getWidget

      @Nullable public @Nullable AdvancementWidget getWidget(AdvancementEntry advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Leyv;a(Laf;)Leyx;
      intermediary method_2308 Lnet/minecraft/class_454;method_2308(Lnet/minecraft/class_8779;)Lnet/minecraft/class_456;
      named getWidget Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getWidget(Lnet/minecraft/advancement/AdvancementEntry;)Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;
    • getScreen

      public AdvancementsScreen getScreen()
      Mappings:
      Namespace Name Mixin selector
      official f Leyv;f()Leyz;
      intermediary method_2312 Lnet/minecraft/class_454;method_2312()Lnet/minecraft/class_457;
      named getScreen Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;getScreen()Lnet/minecraft/client/gui/screen/advancement/AdvancementsScreen;