Class ToastManager

java.lang.Object
net.minecraft.client.toast.ToastManager

@Environment(CLIENT) public class ToastManager extends Object
Mappings:
Namespace Name
named net/minecraft/client/toast/ToastManager
intermediary net/minecraft/class_374
official fqq
  • Field Details

    • SPACES

      private static final int SPACES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SPACES Lnet/minecraft/client/toast/ToastManager;SPACES:I
      intermediary field_39929 Lnet/minecraft/class_374;field_39929:I
      official a Lfqq;a:I
    • field_52786

      private static final int field_52786
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_52786 Lnet/minecraft/client/toast/ToastManager;field_52786:I
      intermediary field_52786 Lnet/minecraft/class_374;field_52786:I
      official b Lfqq;b:I
    • client

      final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/toast/ToastManager;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_2238 Lnet/minecraft/class_374;field_2238:Lnet/minecraft/class_310;
      official c Lfqq;c:Lfmf;
    • visibleEntries

      private final List<ToastManager.Entry<?>> visibleEntries
      Mappings:
      Namespace Name Mixin selector
      named visibleEntries Lnet/minecraft/client/toast/ToastManager;visibleEntries:Ljava/util/List;
      intermediary field_2239 Lnet/minecraft/class_374;field_2239:Ljava/util/List;
      official d Lfqq;d:Ljava/util/List;
    • occupiedSpaces

      private final BitSet occupiedSpaces
      Mappings:
      Namespace Name Mixin selector
      named occupiedSpaces Lnet/minecraft/client/toast/ToastManager;occupiedSpaces:Ljava/util/BitSet;
      intermediary field_39931 Lnet/minecraft/class_374;field_39931:Ljava/util/BitSet;
      official e Lfqq;e:Ljava/util/BitSet;
    • toastQueue

      private final Deque<Toast> toastQueue
      Mappings:
      Namespace Name Mixin selector
      named toastQueue Lnet/minecraft/client/toast/ToastManager;toastQueue:Ljava/util/Deque;
      intermediary field_2240 Lnet/minecraft/class_374;field_2240:Ljava/util/Deque;
      official f Lfqq;f:Ljava/util/Deque;
  • Constructor Details

    • ToastManager

      public ToastManager(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/toast/ToastManager;<init>(Lnet/minecraft/client/MinecraftClient;)V
      intermediary <init> Lnet/minecraft/class_374;<init>(Lnet/minecraft/class_310;)V
      official <init> Lfqq;<init>(Lfmf;)V
  • Method Details

    • update

      public void update()
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/client/toast/ToastManager;update()V
      intermediary method_61990 Lnet/minecraft/class_374;method_61990()V
      official a Lfqq;a()V
    • draw

      public void draw(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/toast/ToastManager;draw(Lnet/minecraft/client/gui/DrawContext;)V
      intermediary method_1996 Lnet/minecraft/class_374;method_1996(Lnet/minecraft/class_332;)V
      official a Lfqq;a(Lfnr;)V
    • getTopIndex

      private int getTopIndex(int requiredSpaces)
      Mappings:
      Namespace Name Mixin selector
      named getTopIndex Lnet/minecraft/client/toast/ToastManager;getTopIndex(I)I
      intermediary method_45073 Lnet/minecraft/class_374;method_45073(I)I
      official a Lfqq;a(I)I
    • getEmptySpaceCount

      private int getEmptySpaceCount()
      Mappings:
      Namespace Name Mixin selector
      named getEmptySpaceCount Lnet/minecraft/client/toast/ToastManager;getEmptySpaceCount()I
      intermediary method_45076 Lnet/minecraft/class_374;method_45076()I
      official e Lfqq;e()I
    • getToast

      @Nullable public <T extends Toast> T getToast(Class<? extends T> toastClass, Object type)
      Mappings:
      Namespace Name Mixin selector
      named getToast Lnet/minecraft/client/toast/ToastManager;getToast(Ljava/lang/Class;Ljava/lang/Object;)Lnet/minecraft/client/toast/Toast;
      intermediary method_1997 Lnet/minecraft/class_374;method_1997(Ljava/lang/Class;Ljava/lang/Object;)Lnet/minecraft/class_368;
      official a Lfqq;a(Ljava/lang/Class;Ljava/lang/Object;)Lfqp;
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/client/toast/ToastManager;clear()V
      intermediary method_2000 Lnet/minecraft/class_374;method_2000()V
      official b Lfqq;b()V
    • add

      public void add(Toast toast)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/client/toast/ToastManager;add(Lnet/minecraft/client/toast/Toast;)V
      intermediary method_1999 Lnet/minecraft/class_374;method_1999(Lnet/minecraft/class_368;)V
      official a Lfqq;a(Lfqp;)V
    • getClient

      public MinecraftClient getClient()
      Mappings:
      Namespace Name Mixin selector
      named getClient Lnet/minecraft/client/toast/ToastManager;getClient()Lnet/minecraft/client/MinecraftClient;
      intermediary method_1995 Lnet/minecraft/class_374;method_1995()Lnet/minecraft/class_310;
      official c Lfqq;c()Lfmf;
    • getNotificationDisplayTimeMultiplier

      public double getNotificationDisplayTimeMultiplier()
      Mappings:
      Namespace Name Mixin selector
      named getNotificationDisplayTimeMultiplier Lnet/minecraft/client/toast/ToastManager;getNotificationDisplayTimeMultiplier()D
      intermediary method_48221 Lnet/minecraft/class_374;method_48221()D
      official d Lfqq;d()D