Class AdvancementToast

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

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

    • TEXTURE

      private static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official d Leuu;d:Laew;
      intermediary field_45394 Lnet/minecraft/class_367;field_45394:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/toast/AdvancementToast;TEXTURE:Lnet/minecraft/util/Identifier;
    • DEFAULT_DURATION_MS

      public static final int DEFAULT_DURATION_MS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leuu;a:I
      intermediary field_41812 Lnet/minecraft/class_367;field_41812:I
      named DEFAULT_DURATION_MS Lnet/minecraft/client/toast/AdvancementToast;DEFAULT_DURATION_MS:I
    • advancement

      private final AdvancementEntry advancement
      Mappings:
      Namespace Name Mixin selector
      official e Leuu;e:Laf;
      intermediary field_2205 Lnet/minecraft/class_367;field_2205:Lnet/minecraft/class_8779;
      named advancement Lnet/minecraft/client/toast/AdvancementToast;advancement:Lnet/minecraft/advancement/AdvancementEntry;
    • soundPlayed

      private boolean soundPlayed
      Mappings:
      Namespace Name Mixin selector
      official f Leuu;f:Z
      intermediary field_2206 Lnet/minecraft/class_367;field_2206:Z
      named soundPlayed Lnet/minecraft/client/toast/AdvancementToast;soundPlayed:Z
  • Constructor Details

    • AdvancementToast

      public AdvancementToast(AdvancementEntry advancement)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leuu;<init>(Laf;)V
      intermediary <init> Lnet/minecraft/class_367;<init>(Lnet/minecraft/class_8779;)V
      named <init> Lnet/minecraft/client/toast/AdvancementToast;<init>(Lnet/minecraft/advancement/AdvancementEntry;)V
  • Method Details

    • draw

      public Toast.Visibility draw(DrawContext context, ToastManager manager, long startTime)
      Specified by:
      draw in interface Toast
      Mappings:
      Namespace Name Mixin selector
      official a Leux;a(Lesf;Leuy;J)Leux$a;
      intermediary method_1986 Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_332;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;
      named draw Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/toast/ToastManager;J)Lnet/minecraft/client/toast/Toast$Visibility;