Class PetsModToast

java.lang.Object
net.minecraft.client.gui.components.toasts.SystemToast
com.jeff.pets.client.autoupdate.impl.PetsModToast
All Implemented Interfaces:
net.minecraft.client.gui.components.toasts.Toast

public class PetsModToast extends net.minecraft.client.gui.components.toasts.SystemToast
  • Nested Class Summary

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

    net.minecraft.client.gui.components.toasts.SystemToast.SystemToastId

    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.SystemToast

    messageLines, titleLines

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

    DEFAULT_WIDTH, NO_TOKEN, SLOT_HEIGHT
  • Constructor Summary

    Constructors
    Constructor
    Description
    PetsModToast(net.minecraft.client.gui.components.toasts.SystemToast.SystemToastId id, net.minecraft.network.chat.Component title, @NotNull net.minecraft.network.chat.Component message)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    extractRenderState(@NotNull net.minecraft.client.gui.GuiGraphicsExtractor graphics, @NotNull net.minecraft.client.gui.Font font, long fullyVisibleForMs)
     

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

    add, addOrUpdate, extractTextLines, forceHide, forceHide, getToken, getWantedVisibility, height, onChunkLoadFailure, onChunkSaveFailure, onFileDropFailure, onLowDiskSpace, onPackCopyFailure, onWorldAccessFailure, onWorldDeleteFailure, recalculateWidth, reset, update, width

    Methods inherited from class Object

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

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

    getSoundEvent, occcupiedSlotCount, onFinishedRendering, xPos, yPos
  • Constructor Details

    • PetsModToast

      public PetsModToast(net.minecraft.client.gui.components.toasts.SystemToast.SystemToastId id, net.minecraft.network.chat.Component title, @NotNull @NotNull net.minecraft.network.chat.Component message)
  • Method Details

    • extractRenderState

      public void extractRenderState(@NotNull @NotNull net.minecraft.client.gui.GuiGraphicsExtractor graphics, @NotNull @NotNull net.minecraft.client.gui.Font font, long fullyVisibleForMs)
      Specified by:
      extractRenderState in interface net.minecraft.client.gui.components.toasts.Toast
      Overrides:
      extractRenderState in class net.minecraft.client.gui.components.toasts.SystemToast