Class ToastComponent.ToastInstance<T extends Toast>

java.lang.Object
net.minecraft.client.gui.components.toasts.ToastComponent.ToastInstance<T>
Enclosing class:
ToastComponent

class ToastComponent.ToastInstance<T extends Toast> extends Object
  • Field Details

    • ANIMATION_TIME

      private static final long ANIMATION_TIME
      See Also:
    • toast

      private final T extends Toast toast
    • index

      final int index
    • slotCount

      final int slotCount
    • animationTime

      private long animationTime
    • visibleTime

      private long visibleTime
    • visibility

      private Toast.Visibility visibility
  • Constructor Details

    • ToastInstance

      ToastInstance(T p_243319_, int p_243300_, int p_243224_)
  • Method Details

    • getToast

      public T getToast()
    • getVisibility

      private float getVisibility(long p_94948_)
    • render

      public boolean render(int p_282887_, GuiGraphics p_283668_)