Class ToastComponent.ToastInstance<T extends Toast>
java.lang.Object
net.minecraft.client.gui.components.toasts.ToastComponent.ToastInstance<T>
- Enclosing class:
ToastComponent
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final long
private long
(package private) final int
(package private) final int
private final T
private Toast.Visibility
private long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetToast()
private float
getVisibility
(long p_94948_) boolean
render
(int p_282887_, GuiGraphics p_283668_)
-
Field Details
-
ANIMATION_TIME
private static final long ANIMATION_TIME- See Also:
-
toast
-
index
final int index -
slotCount
final int slotCount -
animationTime
private long animationTime -
visibleTime
private long visibleTime -
visibility
-
-
Constructor Details
-
ToastInstance
ToastInstance(T p_243319_, int p_243300_, int p_243224_)
-
-
Method Details
-
getToast
-
getVisibility
private float getVisibility(long p_94948_) -
render
-