Class AdvancementWidget

java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.advancement.AdvancementWidget

@Environment(CLIENT)
public class AdvancementWidget
extends DrawableHelper
Mappings:
Namespace Name
official dvr
intermediary net/minecraft/class_456
named net/minecraft/client/gui/screen/advancement/AdvancementWidget
  • Field Details

    • WIDGETS_TEXTURE

      private static final Identifier WIDGETS_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a:Lwb;
      intermediary field_2709 Lnet/minecraft/class_456;field_2709:Lnet/minecraft/class_2960;
      named WIDGETS_TEXTURE Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;WIDGETS_TEXTURE:Lnet/minecraft/util/Identifier;
    • field_24262

      private static final int[] field_24262
      Mappings:
      Namespace Name Mixin selector
      official b Ldvr;b:[I
      intermediary field_24262 Lnet/minecraft/class_456;field_24262:[I
      named field_24262 Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;field_24262:[I
    • tab

      private final AdvancementTab tab
      Mappings:
      Namespace Name Mixin selector
      official c Ldvr;c:Ldvp;
      intermediary field_2703 Lnet/minecraft/class_456;field_2703:Lnet/minecraft/class_454;
      named tab Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;tab:Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;
    • advancement

      private final Advancement advancement
      Mappings:
      Namespace Name Mixin selector
      official d Ldvr;d:Ly;
      intermediary field_2702 Lnet/minecraft/class_456;field_2702:Lnet/minecraft/class_161;
      named advancement Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;advancement:Lnet/minecraft/advancement/Advancement;
    • display

      private final AdvancementDisplay display
      Mappings:
      Namespace Name Mixin selector
      official e Ldvr;e:Lah;
      intermediary field_2712 Lnet/minecraft/class_456;field_2712:Lnet/minecraft/class_185;
      named display Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;display:Lnet/minecraft/advancement/AdvancementDisplay;
    • title

      private final OrderedText title
      Mappings:
      Namespace Name Mixin selector
      official i Ldvr;i:Lafs;
      intermediary field_2713 Lnet/minecraft/class_456;field_2713:Lnet/minecraft/class_5481;
      named title Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;title:Lnet/minecraft/text/OrderedText;
    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      official j Ldvr;j:I
      intermediary field_2715 Lnet/minecraft/class_456;field_2715:I
      named width Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;width:I
    • description

      private final List<OrderedText> description
      Mappings:
      Namespace Name Mixin selector
      official k Ldvr;k:Ljava/util/List;
      intermediary field_2705 Lnet/minecraft/class_456;field_2705:Ljava/util/List;
      named description Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;description:Ljava/util/List;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official l Ldvr;l:Ldqk;
      intermediary field_2704 Lnet/minecraft/class_456;field_2704:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;client:Lnet/minecraft/client/MinecraftClient;
    • parent

      private AdvancementWidget parent
      Mappings:
      Namespace Name Mixin selector
      official m Ldvr;m:Ldvr;
      intermediary field_2706 Lnet/minecraft/class_456;field_2706:Lnet/minecraft/class_456;
      named parent Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;parent:Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;
    • children

      private final List<AdvancementWidget> children
      Mappings:
      Namespace Name Mixin selector
      official n Ldvr;n:Ljava/util/List;
      intermediary field_2707 Lnet/minecraft/class_456;field_2707:Ljava/util/List;
      named children Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;children:Ljava/util/List;
    • progress

      private AdvancementProgress progress
      Mappings:
      Namespace Name Mixin selector
      official o Ldvr;o:Laa;
      intermediary field_2714 Lnet/minecraft/class_456;field_2714:Lnet/minecraft/class_167;
      named progress Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;progress:Lnet/minecraft/advancement/AdvancementProgress;
    • xPos

      private final int xPos
      Mappings:
      Namespace Name Mixin selector
      official p Ldvr;p:I
      intermediary field_2711 Lnet/minecraft/class_456;field_2711:I
      named xPos Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;xPos:I
    • yPos

      private final int yPos
      Mappings:
      Namespace Name Mixin selector
      official q Ldvr;q:I
      intermediary field_2710 Lnet/minecraft/class_456;field_2710:I
      named yPos Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;yPos:I
  • Constructor Details

    • AdvancementWidget

      public AdvancementWidget​(AdvancementTab tab, MinecraftClient client, Advancement advancement, AdvancementDisplay display)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldvr;<init>(Ldvp;Ldqk;Ly;Lah;)V
      intermediary <init> Lnet/minecraft/class_456;<init>(Lnet/minecraft/class_454;Lnet/minecraft/class_310;Lnet/minecraft/class_161;Lnet/minecraft/class_185;)V
      named <init> Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;<init>(Lnet/minecraft/client/gui/screen/advancement/AdvancementTab;Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/advancement/Advancement;Lnet/minecraft/advancement/AdvancementDisplay;)V
  • Method Details

    • method_27572

      private static float method_27572​(TextHandler textHandler, List<StringVisitable> list)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(Ldqu;Ljava/util/List;)F
      intermediary method_27572 Lnet/minecraft/class_456;method_27572(Lnet/minecraft/class_5225;Ljava/util/List;)F
      named method_27572 Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;method_27572(Lnet/minecraft/client/font/TextHandler;Ljava/util/List;)F
    • wrapDescription

      private List<StringVisitable> wrapDescription​(Text text, int width)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(Loi;I)Ljava/util/List;
      intermediary method_2330 Lnet/minecraft/class_456;method_2330(Lnet/minecraft/class_2561;I)Ljava/util/List;
      named wrapDescription Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;wrapDescription(Lnet/minecraft/text/Text;I)Ljava/util/List;
    • getParent

      @Nullable private AdvancementWidget getParent​(Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(Ly;)Ldvr;
      intermediary method_2328 Lnet/minecraft/class_456;method_2328(Lnet/minecraft/class_161;)Lnet/minecraft/class_456;
      named getParent Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;getParent(Lnet/minecraft/advancement/Advancement;)Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;
    • renderLines

      public void renderLines​(MatrixStack matrices, int int2, int int3, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(Ldlr;IIZ)V
      intermediary method_2323 Lnet/minecraft/class_456;method_2323(Lnet/minecraft/class_4587;IIZ)V
      named renderLines Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;renderLines(Lnet/minecraft/client/util/math/MatrixStack;IIZ)V
    • renderWidgets

      public void renderWidgets​(MatrixStack matrices, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(Ldlr;II)V
      intermediary method_2325 Lnet/minecraft/class_456;method_2325(Lnet/minecraft/class_4587;II)V
      named renderWidgets Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;renderWidgets(Lnet/minecraft/client/util/math/MatrixStack;II)V
    • setProgress

      public void setProgress​(AdvancementProgress progress)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(Laa;)V
      intermediary method_2333 Lnet/minecraft/class_456;method_2333(Lnet/minecraft/class_167;)V
      named setProgress Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;setProgress(Lnet/minecraft/advancement/AdvancementProgress;)V
    • addChild

      public void addChild​(AdvancementWidget widget)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(Ldvr;)V
      intermediary method_2322 Lnet/minecraft/class_456;method_2322(Lnet/minecraft/class_456;)V
      named addChild Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;addChild(Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;)V
    • drawTooltip

      public void drawTooltip​(MatrixStack matrices, int int2, int int3, float float2, int y, int int4)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(Ldlr;IIFII)V
      intermediary method_2331 Lnet/minecraft/class_456;method_2331(Lnet/minecraft/class_4587;IIFII)V
      named drawTooltip Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;drawTooltip(Lnet/minecraft/client/util/math/MatrixStack;IIFII)V
    • method_2324

      protected void method_2324​(MatrixStack matrixStack, int int2, int int3, int int4, int int5, int int6, int int7, int int8, int int9, int int10)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(Ldlr;IIIIIIIII)V
      intermediary method_2324 Lnet/minecraft/class_456;method_2324(Lnet/minecraft/class_4587;IIIIIIIII)V
      named method_2324 Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;method_2324(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIIII)V
    • method_2321

      protected void method_2321​(MatrixStack matrixStack, int int2, int int3, int int4, int int5, int int6, int int7, int int8, int int9)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(Ldlr;IIIIIIII)V
      intermediary method_2321 Lnet/minecraft/class_456;method_2321(Lnet/minecraft/class_4587;IIIIIIII)V
      named method_2321 Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;method_2321(Lnet/minecraft/client/util/math/MatrixStack;IIIIIIII)V
    • shouldRender

      public boolean shouldRender​(int originX, int originY, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvr;a(IIII)Z
      intermediary method_2329 Lnet/minecraft/class_456;method_2329(IIII)Z
      named shouldRender Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;shouldRender(IIII)Z
    • addToTree

      public void addToTree()
      Mappings:
      Namespace Name Mixin selector
      official b Ldvr;b()V
      intermediary method_2332 Lnet/minecraft/class_456;method_2332()V
      named addToTree Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;addToTree()V
    • getY

      public int getY()
      Mappings:
      Namespace Name Mixin selector
      official c Ldvr;c()I
      intermediary method_2326 Lnet/minecraft/class_456;method_2326()I
      named getY Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;getY()I
    • getX

      public int getX()
      Mappings:
      Namespace Name Mixin selector
      official d Ldvr;d()I
      intermediary method_2327 Lnet/minecraft/class_456;method_2327()I
      named getX Lnet/minecraft/client/gui/screen/advancement/AdvancementWidget;getX()I