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
DEFAULT_WIDTH, NO_TOKEN, SLOT_HEIGHT -
Method Summary
Modifier and TypeMethodDescriptionvoidextractRenderState(net.minecraft.client.gui.GuiGraphicsExtractor graphics, net.minecraft.client.gui.Font font, long fullyVisibleForMs) net.minecraft.client.gui.components.toasts.Toast.Visibilitystatic voidshow(FoliosBook book, net.minecraft.network.chat.Component heading, net.minecraft.network.chat.Component name, @Nullable FoliosIcon icon, boolean mastery) voidupdate(net.minecraft.client.gui.components.toasts.ToastManager manager, long fullyVisibleForMs) Methods 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, getToken, height, occcupiedSlotCount, onFinishedRendering, width, xPos, yPos
-
Method Details
-
show
public static void show(FoliosBook book, net.minecraft.network.chat.Component heading, net.minecraft.network.chat.Component name, @Nullable FoliosIcon icon, boolean mastery) -
getWantedVisibility
public net.minecraft.client.gui.components.toasts.Toast.Visibility getWantedVisibility()- Specified by:
getWantedVisibilityin interfacenet.minecraft.client.gui.components.toasts.Toast
-
update
public void update(net.minecraft.client.gui.components.toasts.ToastManager manager, long fullyVisibleForMs) - Specified by:
updatein interfacenet.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:
extractRenderStatein interfacenet.minecraft.client.gui.components.toasts.Toast
-