Class TutorialToast

java.lang.Object
net.minecraft.client.toast.TutorialToast
All Implemented Interfaces:
Toast

@Environment(CLIENT) public class TutorialToast extends Object implements Toast
Mappings:
Namespace Name
named net/minecraft/client/toast/TutorialToast
intermediary net/minecraft/class_372
official fqr
  • Field Details

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      named TEXTURE Lnet/minecraft/client/toast/TutorialToast;TEXTURE:Lnet/minecraft/util/Identifier;
      intermediary field_45397 Lnet/minecraft/class_372;field_45397:Lnet/minecraft/class_2960;
      official h Lfqr;h:Lalz;
    • PROGRESS_BAR_WIDTH

      public static final int PROGRESS_BAR_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PROGRESS_BAR_WIDTH Lnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_WIDTH:I
      intermediary field_32222 Lnet/minecraft/class_372;field_32222:I
      official a Lfqr;a:I
    • PROGRESS_BAR_HEIGHT

      public static final int PROGRESS_BAR_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PROGRESS_BAR_HEIGHT Lnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_HEIGHT:I
      intermediary field_32223 Lnet/minecraft/class_372;field_32223:I
      official e Lfqr;e:I
    • PROGRESS_BAR_X

      public static final int PROGRESS_BAR_X
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PROGRESS_BAR_X Lnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_X:I
      intermediary field_32224 Lnet/minecraft/class_372;field_32224:I
      official f Lfqr;f:I
    • PROGRESS_BAR_Y

      public static final int PROGRESS_BAR_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PROGRESS_BAR_Y Lnet/minecraft/client/toast/TutorialToast;PROGRESS_BAR_Y:I
      intermediary field_32225 Lnet/minecraft/class_372;field_32225:I
      official g Lfqr;g:I
    • type

      private final TutorialToast.Type type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/client/toast/TutorialToast;type:Lnet/minecraft/client/toast/TutorialToast$Type;
      intermediary field_2225 Lnet/minecraft/class_372;field_2225:Lnet/minecraft/class_372$class_373;
      official i Lfqr;i:Lfqr$a;
    • title

      private final Text title
      Mappings:
      Namespace Name Mixin selector
      named title Lnet/minecraft/client/toast/TutorialToast;title:Lnet/minecraft/text/Text;
      intermediary field_2224 Lnet/minecraft/class_372;field_2224:Lnet/minecraft/class_2561;
      official j Lfqr;j:Lxv;
    • description

      @Nullable private final @Nullable Text description
      Mappings:
      Namespace Name Mixin selector
      named description Lnet/minecraft/client/toast/TutorialToast;description:Lnet/minecraft/text/Text;
      intermediary field_2226 Lnet/minecraft/class_372;field_2226:Lnet/minecraft/class_2561;
      official k Lfqr;k:Lxv;
    • visibility

      private Toast.Visibility visibility
      Mappings:
      Namespace Name Mixin selector
      named visibility Lnet/minecraft/client/toast/TutorialToast;visibility:Lnet/minecraft/client/toast/Toast$Visibility;
      intermediary field_2227 Lnet/minecraft/class_372;field_2227:Lnet/minecraft/class_368$class_369;
      official l Lfqr;l:Lfqp$a;
    • field_52791

      private long field_52791
      Mappings:
      Namespace Name Mixin selector
      named field_52791 Lnet/minecraft/client/toast/TutorialToast;field_52791:J
      intermediary field_52791 Lnet/minecraft/class_372;field_52791:J
      official m Lfqr;m:J
    • field_52792

      private float field_52792
      Mappings:
      Namespace Name Mixin selector
      named field_52792 Lnet/minecraft/client/toast/TutorialToast;field_52792:F
      intermediary field_52792 Lnet/minecraft/class_372;field_52792:F
      official n Lfqr;n:F
    • progress

      private float progress
      Mappings:
      Namespace Name Mixin selector
      named progress Lnet/minecraft/client/toast/TutorialToast;progress:F
      intermediary field_2228 Lnet/minecraft/class_372;field_2228:F
      official o Lfqr;o:F
    • hasProgressBar

      private final boolean hasProgressBar
      Mappings:
      Namespace Name Mixin selector
      named hasProgressBar Lnet/minecraft/client/toast/TutorialToast;hasProgressBar:Z
      intermediary field_2222 Lnet/minecraft/class_372;field_2222:Z
      official p Lfqr;p:Z
    • field_52793

      private final int field_52793
      Mappings:
      Namespace Name Mixin selector
      named field_52793 Lnet/minecraft/client/toast/TutorialToast;field_52793:I
      intermediary field_52793 Lnet/minecraft/class_372;field_52793:I
      official q Lfqr;q:I
  • Constructor Details

    • TutorialToast

      public TutorialToast(TutorialToast.Type type, Text title, @Nullable @Nullable Text description, boolean hasProgressBar, int int2)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/toast/TutorialToast;<init>(Lnet/minecraft/client/toast/TutorialToast$Type;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;ZI)V
      intermediary <init> Lnet/minecraft/class_372;<init>(Lnet/minecraft/class_372$class_373;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;ZI)V
      official <init> Lfqr;<init>(Lfqr$a;Lxv;Lxv;ZI)V
    • TutorialToast

      public TutorialToast(TutorialToast.Type type, Text text, @Nullable @Nullable Text text2, boolean bool)
  • Method Details

    • getVisibility

      public Toast.Visibility getVisibility()
      Specified by:
      getVisibility in interface Toast
      Mappings:
      Namespace Name Mixin selector
      named getVisibility Lnet/minecraft/client/toast/Toast;getVisibility()Lnet/minecraft/client/toast/Toast$Visibility;
      intermediary method_61988 Lnet/minecraft/class_368;method_61988()Lnet/minecraft/class_368$class_369;
      official a Lfqp;a()Lfqp$a;
    • update

      public void update(ToastManager manager, long time)
      Specified by:
      update in interface Toast
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/client/toast/Toast;update(Lnet/minecraft/client/toast/ToastManager;J)V
      intermediary method_61989 Lnet/minecraft/class_368;method_61989(Lnet/minecraft/class_374;J)V
      official a Lfqp;a(Lfqq;J)V
    • draw

      public void draw(DrawContext context, TextRenderer textRenderer, long startTime)
      Specified by:
      draw in interface Toast
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;J)V
      intermediary method_1986 Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_332;Lnet/minecraft/class_327;J)V
      official a Lfqp;a(Lfnr;Lfnp;J)V
    • hide

      public void hide()
      Mappings:
      Namespace Name Mixin selector
      named hide Lnet/minecraft/client/toast/TutorialToast;hide()V
      intermediary method_1993 Lnet/minecraft/class_372;method_1993()V
      official d Lfqr;d()V
    • setProgress

      public void setProgress(float progress)
      Mappings:
      Namespace Name Mixin selector
      named setProgress Lnet/minecraft/client/toast/TutorialToast;setProgress(F)V
      intermediary method_1992 Lnet/minecraft/class_372;method_1992(F)V
      official a Lfqr;a(F)V