Class ToastComponent

java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.toasts.ToastComponent

public class ToastComponent extends GuiComponent
  • Field Details

  • Constructor Details

    • ToastComponent

      public ToastComponent(Minecraft p_94918_)
  • Method Details

    • render

      public void render(PoseStack p_94921_)
    • findFreeIndex

      private int findFreeIndex(int p_243272_)
    • freeSlots

      private int freeSlots()
    • getToast

      @Nullable public <T extends Toast> T getToast(Class<? extends T> p_94927_, Object p_94928_)
    • clear

      public void clear()
    • addToast

      public void addToast(Toast p_94923_)
    • getMinecraft

      public Minecraft getMinecraft()
    • getNotificationDisplayTimeMultiplier

      public double getNotificationDisplayTimeMultiplier()