Package net.minecraft.client.toast
Class ToastManager
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.toast.ToastManager
@Environment(CLIENT) public class ToastManager extends DrawableHelper
- Mappings:
Namespace Name official dtc
intermediary net/minecraft/class_374
named net/minecraft/client/toast/ToastManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
ToastManager.Entry<T extends Toast>
-
Field Summary
Fields Modifier and Type Field Description private MinecraftClient
client
private Deque<Toast>
toastQueue
private ToastManager.Entry<?>[]
visibleEntries
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description ToastManager(MinecraftClient client)
-
Method Summary
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
-
Field Details
-
client
- Mappings:
Namespace Name Mixin selector official a
Ldtc;a:Ldqk;
intermediary field_2238
Lnet/minecraft/class_374;field_2238:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/toast/ToastManager;client:Lnet/minecraft/client/MinecraftClient;
-
visibleEntries
- Mappings:
Namespace Name Mixin selector official b
Ldtc;b:[Ldtc$a;
intermediary field_2239
Lnet/minecraft/class_374;field_2239:[Lnet/minecraft/class_374$class_375;
named visibleEntries
Lnet/minecraft/client/toast/ToastManager;visibleEntries:[Lnet/minecraft/client/toast/ToastManager$Entry;
-
toastQueue
- Mappings:
Namespace Name Mixin selector official c
Ldtc;c:Ljava/util/Deque;
intermediary field_2240
Lnet/minecraft/class_374;field_2240:Ljava/util/Deque;
named toastQueue
Lnet/minecraft/client/toast/ToastManager;toastQueue:Ljava/util/Deque;
-
-
Constructor Details
-
ToastManager
- Mappings:
Namespace Name Mixin selector official <init>
Ldtc;<init>(Ldqk;)V
intermediary <init>
Lnet/minecraft/class_374;<init>(Lnet/minecraft/class_310;)V
named <init>
Lnet/minecraft/client/toast/ToastManager;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
draw
- Mappings:
Namespace Name Mixin selector official a
Ldtc;a(Ldlr;)V
intermediary method_1996
Lnet/minecraft/class_374;method_1996(Lnet/minecraft/class_4587;)V
named draw
Lnet/minecraft/client/toast/ToastManager;draw(Lnet/minecraft/client/util/math/MatrixStack;)V
-
getToast
- Mappings:
Namespace Name Mixin selector official a
Ldtc;a(Ljava/lang/Class;Ljava/lang/Object;)Ldtb;
intermediary method_1997
Lnet/minecraft/class_374;method_1997(Ljava/lang/Class;Ljava/lang/Object;)Lnet/minecraft/class_368;
named getToast
Lnet/minecraft/client/toast/ToastManager;getToast(Ljava/lang/Class;Ljava/lang/Object;)Lnet/minecraft/client/toast/Toast;
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector official a
Ldtc;a()V
intermediary method_2000
Lnet/minecraft/class_374;method_2000()V
named clear
Lnet/minecraft/client/toast/ToastManager;clear()V
-
add
- Mappings:
Namespace Name Mixin selector official a
Ldtc;a(Ldtb;)V
intermediary method_1999
Lnet/minecraft/class_374;method_1999(Lnet/minecraft/class_368;)V
named add
Lnet/minecraft/client/toast/ToastManager;add(Lnet/minecraft/client/toast/Toast;)V
-
getGame
- Mappings:
Namespace Name Mixin selector official b
Ldtc;b()Ldqk;
intermediary method_1995
Lnet/minecraft/class_374;method_1995()Lnet/minecraft/class_310;
named getGame
Lnet/minecraft/client/toast/ToastManager;getGame()Lnet/minecraft/client/MinecraftClient;
-