Package net.minecraft.client.toast
Class AdvancementToast
java.lang.Object
net.minecraft.client.toast.AdvancementToast
- All Implemented Interfaces:
Toast
- Mappings:
Namespace Name official erd
intermediary net/minecraft/class_367
named net/minecraft/client/toast/AdvancementToast
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.toast.Toast
Toast.Visibility
-
Field Summary
Fields inherited from interface net.minecraft.client.toast.Toast
BASE_HEIGHT, TEXTURE, TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondraw
(DrawContext context, ToastManager manager, long startTime) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.toast.Toast
getHeight, getRequiredSpaceCount, getType, getWidth
-
Field Details
-
DEFAULT_DURATION_MS
public static final int DEFAULT_DURATION_MS- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lerd;a:I
intermediary field_41812
Lnet/minecraft/class_367;field_41812:I
named DEFAULT_DURATION_MS
Lnet/minecraft/client/toast/AdvancementToast;DEFAULT_DURATION_MS:I
-
advancement
- Mappings:
Namespace Name Mixin selector official e
Lerd;e:Lae;
intermediary field_2205
Lnet/minecraft/class_367;field_2205:Lnet/minecraft/class_161;
named advancement
Lnet/minecraft/client/toast/AdvancementToast;advancement:Lnet/minecraft/advancement/Advancement;
-
soundPlayed
private boolean soundPlayed- Mappings:
Namespace Name Mixin selector official f
Lerd;f:Z
intermediary field_2206
Lnet/minecraft/class_367;field_2206:Z
named soundPlayed
Lnet/minecraft/client/toast/AdvancementToast;soundPlayed:Z
-
-
Constructor Details
-
AdvancementToast
- Mappings:
Namespace Name Mixin selector official <init>
Lerd;<init>(Lae;)V
intermediary <init>
Lnet/minecraft/class_367;<init>(Lnet/minecraft/class_161;)V
named <init>
Lnet/minecraft/client/toast/AdvancementToast;<init>(Lnet/minecraft/advancement/Advancement;)V
-
-
Method Details
-
draw
- Specified by:
draw
in interfaceToast
- Mappings:
Namespace Name Mixin selector official a
Lerg;a(Leox;Lerh;J)Lerg$a;
intermediary method_1986
Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_332;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;
named draw
Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/toast/ToastManager;J)Lnet/minecraft/client/toast/Toast$Visibility;
-