Class WildfireToast

java.lang.Object
com.wildfire.client.gui.WildfireToast
All Implemented Interfaces:
IFancyFontRenderer, net.minecraft.client.gui.components.toasts.Toast

public class WildfireToast extends Object implements net.minecraft.client.gui.components.toasts.Toast, IFancyFontRenderer
API Note:
Only use this on the client side
  • Constructor Details

    • WildfireToast

      public WildfireToast(net.minecraft.client.gui.Font textRenderer, net.minecraft.network.chat.Component title, @Nullable net.minecraft.network.chat.Component description)
  • Method Details

    • getWantedVisibility

      public net.minecraft.client.gui.components.toasts.Toast.Visibility getWantedVisibility()
      Specified by:
      getWantedVisibility in interface net.minecraft.client.gui.components.toasts.Toast
    • update

      public void update(net.minecraft.client.gui.components.toasts.ToastManager manager, long time)
      Specified by:
      update 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
    • extractRenderState

      public void extractRenderState(net.minecraft.client.gui.GuiGraphicsExtractor graphics, net.minecraft.client.gui.Font font, long fullyVisibleForMs)
      Specified by:
      extractRenderState in interface net.minecraft.client.gui.components.toasts.Toast
    • hide

      public void hide()
    • getTimeOpened

      public long getTimeOpened()
      Description copied from interface: IFancyFontRenderer
      Time the gui was opened in ms, or zero if the time is unknown (scrolling text will just use the current time then)
      Specified by:
      getTimeOpened in interface IFancyFontRenderer