Class FoliosToast

java.lang.Object
net.ixdarklord.folios.internal.client.FoliosToast
All Implemented Interfaces:
net.minecraft.client.gui.components.toasts.Toast

public final class FoliosToast extends Object implements net.minecraft.client.gui.components.toasts.Toast
  • Nested Class Summary

    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 interface net.minecraft.client.gui.components.toasts.Toast

    NO_TOKEN, SLOT_HEIGHT, TEXTURE
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.gui.components.toasts.Toast.Visibility
    render(net.minecraft.client.gui.GuiGraphics raw, net.minecraft.client.gui.components.toasts.ToastComponent toasts, long timeSinceVisible)
     
    static void
    show(FoliosBook book, net.minecraft.network.chat.Component heading, net.minecraft.network.chat.Component name, @Nullable FoliosIcon icon, boolean mastery)
     

    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
  • Method Details

    • show

      public static void show(FoliosBook book, net.minecraft.network.chat.Component heading, net.minecraft.network.chat.Component name, @Nullable @Nullable FoliosIcon icon, boolean mastery)
    • render

      public net.minecraft.client.gui.components.toasts.Toast.Visibility render(net.minecraft.client.gui.GuiGraphics raw, net.minecraft.client.gui.components.toasts.ToastComponent toasts, long timeSinceVisible)
      Specified by:
      render in interface net.minecraft.client.gui.components.toasts.Toast