Class AdvancementToast
java.lang.Object
net.minecraft.client.gui.components.toasts.AdvancementToast
- All Implemented Interfaces:
Toast
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.components.toasts.Toast
Toast.Visibility -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AdvancementHolderprivate static final ResourceLocationstatic final intprivate booleanprivate Toast.VisibilityFields inherited from interface net.minecraft.client.gui.components.toasts.Toast
DEFAULT_WIDTH, NO_TOKEN, SLOT_HEIGHT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(GuiGraphics p_281813_, Font p_364425_, long p_282604_) voidupdate(ToastManager p_363415_, long p_363939_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.toasts.Toast
getToken, height, occcupiedSlotCount, width
-
Field Details
-
BACKGROUND_SPRITE
-
DISPLAY_TIME
public static final int DISPLAY_TIME- See Also:
-
advancement
-
playedSound
private boolean playedSound -
wantedVisibility
-
-
Constructor Details
-
AdvancementToast
-
-
Method Details