Package net.minecraft.client.toast
Class AdvancementToast
java.lang.Object
net.minecraft.client.toast.AdvancementToast
- All Implemented Interfaces:
Toast
@Environment(CLIENT) public class AdvancementToast extends Object implements Toast
- Mappings:
Namespace Name official dsy
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 Modifier and Type Field Description private Advancement
advancement
private boolean
soundPlayed
-
Constructor Summary
Constructors Constructor Description AdvancementToast(Advancement advancement)
-
Method Summary
Modifier and Type Method Description Toast.Visibility
draw(MatrixStack matrices, ToastManager manager, long startTime)
-
Field Details
-
advancement
- Mappings:
Namespace Name Mixin selector official c
Ldsy;c:Ly;
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 d
Ldsy;d: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>
Ldsy;<init>(Ly;)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
Ldtb;a(Ldlr;Ldtc;J)Ldtb$a;
intermediary method_1986
Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_4587;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;
named draw
Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/toast/ToastManager;J)Lnet/minecraft/client/toast/Toast$Visibility;
-