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:
      Constant Field Values
    • toast

      private final T extends Toast toast
    • animationTime

      private long animationTime
    • visibleTime

      private long visibleTime
    • visibility

      private Toast.Visibility visibility
  • Constructor Details

    • ToastInstance

      ToastInstance(T p_94937_)
  • Method Details

    • getToast

      public T getToast()
    • getVisibility

      private float getVisibility(long p_94948_)
    • render

      public boolean render(int p_94944_, int p_94945_, PoseStack p_94946_)