Class ExpandingTutorialToast

java.lang.Object
net.minecraft.client.gui.components.toasts.TutorialToast
com.pixelmonmod.pixelmon.api.toast.ExpandingTutorialToast
All Implemented Interfaces:
net.minecraft.client.gui.components.toasts.Toast

public class ExpandingTutorialToast extends net.minecraft.client.gui.components.toasts.TutorialToast
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.client.gui.components.toasts.TutorialToast

    net.minecraft.client.gui.components.toasts.TutorialToast.Icons

    Nested classes/interfaces inherited from interface net.minecraft.client.gui.components.toasts.Toast

    net.minecraft.client.gui.components.toasts.Toast.Visibility
  • Field Summary

    Fields inherited from class net.minecraft.client.gui.components.toasts.TutorialToast

    PROGRESS_BAR_HEIGHT, PROGRESS_BAR_WIDTH, PROGRESS_BAR_X, PROGRESS_BAR_Y

    Fields inherited from interface net.minecraft.client.gui.components.toasts.Toast

    NO_TOKEN, SLOT_HEIGHT
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExpandingTutorialToast(net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component description)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    net.minecraft.client.gui.components.toasts.Toast.Visibility
    render(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.components.toasts.ToastComponent toastGui, long duration)
     

    Methods inherited from class net.minecraft.client.gui.components.toasts.TutorialToast

    updateProgress

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.components.toasts.Toast

    getToken, height, slotCount, width
  • Constructor Details

    • ExpandingTutorialToast

      public ExpandingTutorialToast(net.minecraft.network.chat.Component title, @Nullable net.minecraft.network.chat.Component description)
  • Method Details

    • render

      public net.minecraft.client.gui.components.toasts.Toast.Visibility render(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.components.toasts.ToastComponent toastGui, long duration)
      Specified by:
      render in interface net.minecraft.client.gui.components.toasts.Toast
      Overrides:
      render in class net.minecraft.client.gui.components.toasts.TutorialToast
    • hide

      public void hide()
      Overrides:
      hide in class net.minecraft.client.gui.components.toasts.TutorialToast