Class TutorialToast

java.lang.Object
net.minecraft.client.gui.components.toasts.TutorialToast
All Implemented Interfaces:
Toast

public class TutorialToast extends Object implements Toast
  • Field Details

    • BACKGROUND_SPRITE

      private static final ResourceLocation BACKGROUND_SPRITE
    • PROGRESS_BAR_WIDTH

      public static final int PROGRESS_BAR_WIDTH
      See Also:
    • PROGRESS_BAR_HEIGHT

      public static final int PROGRESS_BAR_HEIGHT
      See Also:
    • PROGRESS_BAR_X

      public static final int PROGRESS_BAR_X
      See Also:
    • PROGRESS_BAR_Y

      public static final int PROGRESS_BAR_Y
      See Also:
    • icon

      private final TutorialToast.Icons icon
    • title

      private final Component title
    • message

      @Nullable private final Component message
    • visibility

      private Toast.Visibility visibility
    • lastProgressTime

      private long lastProgressTime
    • lastProgress

      private float lastProgress
    • progress

      private float progress
    • progressable

      private final boolean progressable
  • Constructor Details

  • Method Details