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 AdvancementHolder
private static final ResourceLocation
static final int
private boolean
private Toast.Visibility
Fields inherited from interface net.minecraft.client.gui.components.toasts.Toast
DEFAULT_WIDTH, NO_TOKEN, SLOT_HEIGHT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(GuiGraphics p_281813_, Font p_364425_, long p_282604_) void
update
(ToastManager p_363415_, long p_363939_) 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.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