Package net.minecraft.client.toast
Class AdvancementToast
java.lang.Object
net.minecraft.client.toast.AdvancementToast
- All Implemented Interfaces:
Toast
- Mappings:
Namespace Name named net/minecraft/client/toast/AdvancementToast
intermediary net/minecraft/class_367
official fqm
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.toast.Toast
Toast.Visibility
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AdvancementEntry
static final int
private boolean
private static final Identifier
private Toast.Visibility
Fields inherited from interface net.minecraft.client.toast.Toast
BASE_HEIGHT, BASE_WIDTH, TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(DrawContext context, TextRenderer textRenderer, long startTime) void
update
(ToastManager manager, long time) 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
-
TEXTURE
- Mappings:
Namespace Name Mixin selector named TEXTURE
Lnet/minecraft/client/toast/AdvancementToast;TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45394
Lnet/minecraft/class_367;field_45394:Lnet/minecraft/class_2960;
official e
Lfqm;e:Lalz;
-
DEFAULT_DURATION_MS
public static final int DEFAULT_DURATION_MS- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_DURATION_MS
Lnet/minecraft/client/toast/AdvancementToast;DEFAULT_DURATION_MS:I
intermediary field_41812
Lnet/minecraft/class_367;field_41812:I
official a
Lfqm;a:I
-
advancement
- Mappings:
Namespace Name Mixin selector named advancement
Lnet/minecraft/client/toast/AdvancementToast;advancement:Lnet/minecraft/advancement/AdvancementEntry;
intermediary field_2205
Lnet/minecraft/class_367;field_2205:Lnet/minecraft/class_8779;
official f
Lfqm;f:Lah;
-
soundPlayed
private boolean soundPlayed- Mappings:
Namespace Name Mixin selector named soundPlayed
Lnet/minecraft/client/toast/AdvancementToast;soundPlayed:Z
intermediary field_2206
Lnet/minecraft/class_367;field_2206:Z
official g
Lfqm;g:Z
-
visibility
- Mappings:
Namespace Name Mixin selector named visibility
Lnet/minecraft/client/toast/AdvancementToast;visibility:Lnet/minecraft/client/toast/Toast$Visibility;
intermediary field_52780
Lnet/minecraft/class_367;field_52780:Lnet/minecraft/class_368$class_369;
official h
Lfqm;h:Lfqp$a;
-
-
Constructor Details
-
AdvancementToast
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/toast/AdvancementToast;<init>(Lnet/minecraft/advancement/AdvancementEntry;)V
intermediary <init>
Lnet/minecraft/class_367;<init>(Lnet/minecraft/class_8779;)V
official <init>
Lfqm;<init>(Lah;)V
-
-
Method Details
-
getVisibility
- Specified by:
getVisibility
in interfaceToast
- Mappings:
Namespace Name Mixin selector named getVisibility
Lnet/minecraft/client/toast/Toast;getVisibility()Lnet/minecraft/client/toast/Toast$Visibility;
intermediary method_61988
Lnet/minecraft/class_368;method_61988()Lnet/minecraft/class_368$class_369;
official a
Lfqp;a()Lfqp$a;
-
update
-
draw
- Specified by:
draw
in interfaceToast
- Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;J)V
intermediary method_1986
Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_332;Lnet/minecraft/class_327;J)V
official a
Lfqp;a(Lfnr;Lfnp;J)V
-