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.SystemToastIdNested 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, titleLinesFields inherited from interface net.minecraft.client.gui.components.toasts.Toast
DEFAULT_WIDTH, NO_TOKEN, SLOT_HEIGHT -
Constructor Summary
ConstructorsConstructorDescriptionPetsModToast(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 TypeMethodDescriptionvoidextractRenderState(@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, widthMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
extractRenderStatein interfacenet.minecraft.client.gui.components.toasts.Toast- Overrides:
extractRenderStatein classnet.minecraft.client.gui.components.toasts.SystemToast
-