Class InfoToast

java.lang.Object
dev.dhyces.trimmed.impl.client.InfoToast
All Implemented Interfaces:
net.minecraft.client.gui.components.toasts.Toast

public class InfoToast 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
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     

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

    NO_TOKEN, SLOT_HEIGHT
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    int
     
    static InfoToast
     
    net.minecraft.client.gui.components.toasts.Toast.Visibility
    render(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.components.toasts.ToastComponent toastComponent, long timeSinceLast)
     

    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, slotCount, width
  • Field Details

    • TEXTURE

      public static final net.minecraft.resources.ResourceLocation TEXTURE
  • Constructor Details

    • InfoToast

      public InfoToast(net.minecraft.network.chat.Component title, net.minecraft.network.chat.Component message)
  • Method Details

    • reloadClientInfo

      public static InfoToast reloadClientInfo()
    • render

      public net.minecraft.client.gui.components.toasts.Toast.Visibility render(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.components.toasts.ToastComponent toastComponent, long timeSinceLast)
      Specified by:
      render in interface net.minecraft.client.gui.components.toasts.Toast
    • height

      public int height()
      Specified by:
      height in interface net.minecraft.client.gui.components.toasts.Toast