Class ToastManager.Entry<T extends Toast>

java.lang.Object
net.minecraft.client.toast.ToastManager.Entry<T>
Enclosing class:
ToastManager

@Environment(CLIENT) private class ToastManager.Entry<T extends Toast> extends Object
Mappings:
Namespace Name
official eqs$a
intermediary net/minecraft/class_374$class_375
named net/minecraft/client/toast/ToastManager$Entry
  • Field Details

    • DISAPPEAR_TIME

      private static final long DISAPPEAR_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Leqs$a;b:J
      intermediary field_32221 Lnet/minecraft/class_374$class_375;field_32221:J
      named DISAPPEAR_TIME Lnet/minecraft/client/toast/ToastManager$Entry;DISAPPEAR_TIME:J
    • instance

      private final T extends Toast instance
      Mappings:
      Namespace Name Mixin selector
      official c Leqs$a;c:Leqr;
      intermediary field_2241 Lnet/minecraft/class_374$class_375;field_2241:Lnet/minecraft/class_368;
      named instance Lnet/minecraft/client/toast/ToastManager$Entry;instance:Lnet/minecraft/client/toast/Toast;
    • topIndex

      final int topIndex
      Mappings:
      Namespace Name Mixin selector
      official d Leqs$a;d:I
      intermediary field_39932 Lnet/minecraft/class_374$class_375;field_39932:I
      named topIndex Lnet/minecraft/client/toast/ToastManager$Entry;topIndex:I
    • requiredSpaceCount

      final int requiredSpaceCount
      Mappings:
      Namespace Name Mixin selector
      official e Leqs$a;e:I
      intermediary field_39933 Lnet/minecraft/class_374$class_375;field_39933:I
      named requiredSpaceCount Lnet/minecraft/client/toast/ToastManager$Entry;requiredSpaceCount:I
    • startTime

      private long startTime
      Mappings:
      Namespace Name Mixin selector
      official f Leqs$a;f:J
      intermediary field_2243 Lnet/minecraft/class_374$class_375;field_2243:J
      named startTime Lnet/minecraft/client/toast/ToastManager$Entry;startTime:J
    • showTime

      private long showTime
      Mappings:
      Namespace Name Mixin selector
      official g Leqs$a;g:J
      intermediary field_2242 Lnet/minecraft/class_374$class_375;field_2242:J
      named showTime Lnet/minecraft/client/toast/ToastManager$Entry;showTime:J
    • visibility

      private Toast.Visibility visibility
      Mappings:
      Namespace Name Mixin selector
      official h Leqs$a;h:Leqr$a;
      intermediary field_2244 Lnet/minecraft/class_374$class_375;field_2244:Lnet/minecraft/class_368$class_369;
      named visibility Lnet/minecraft/client/toast/ToastManager$Entry;visibility:Lnet/minecraft/client/toast/Toast$Visibility;
  • Constructor Details

    • Entry

      Entry(T instance, int topIndex, int requiredSpaceCount)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leqs$a;<init>(Leqs;Leqr;II)V
      intermediary <init> Lnet/minecraft/class_374$class_375;<init>(Lnet/minecraft/class_374;Lnet/minecraft/class_368;II)V
      named <init> Lnet/minecraft/client/toast/ToastManager$Entry;<init>(Lnet/minecraft/client/toast/ToastManager;Lnet/minecraft/client/toast/Toast;II)V
  • Method Details

    • getInstance

      public T getInstance()
      Mappings:
      Namespace Name Mixin selector
      official a Leqs$a;a()Leqr;
      intermediary method_2001 Lnet/minecraft/class_374$class_375;method_2001()Lnet/minecraft/class_368;
      named getInstance Lnet/minecraft/client/toast/ToastManager$Entry;getInstance()Lnet/minecraft/client/toast/Toast;
    • getDisappearProgress

      private float getDisappearProgress(long time)
      Mappings:
      Namespace Name Mixin selector
      official a Leqs$a;a(J)F
      intermediary method_2003 Lnet/minecraft/class_374$class_375;method_2003(J)F
      named getDisappearProgress Lnet/minecraft/client/toast/ToastManager$Entry;getDisappearProgress(J)F
    • draw

      public boolean draw(int x, DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Leqs$a;a(ILeoj;)Z
      intermediary method_2002 Lnet/minecraft/class_374$class_375;method_2002(ILnet/minecraft/class_332;)Z
      named draw Lnet/minecraft/client/toast/ToastManager$Entry;draw(ILnet/minecraft/client/gui/DrawContext;)Z