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
named net/minecraft/client/toast/ToastManager$Entry
intermediary net/minecraft/class_374$class_375
official fjp$a
  • Field Details

    • DISAPPEAR_TIME

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

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

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

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

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

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

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

    • Entry

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

    • getInstance

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

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

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