Package net.minecraft.client.gui.toasts
Class ToastGui.ToastInstance<T extends IToast>
- java.lang.Object
-
- net.minecraft.client.gui.toasts.ToastGui.ToastInstance<T>
-
-
Field Summary
Fields Modifier and Type Field Description private long
animationTime
private T
toast
private IToast.Visibility
visibility
private long
visibleTime
-
Constructor Summary
Constructors Modifier Constructor Description private
ToastInstance(T p_i47483_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getToast()
private float
getVisibility(long p_193686_1_)
boolean
render(int p_193684_1_, int p_193684_2_, MatrixStack p_193684_3_)
-
-
-
Field Detail
-
animationTime
private long animationTime
-
visibleTime
private long visibleTime
-
visibility
private IToast.Visibility visibility
-
-
Constructor Detail
-
ToastInstance
private ToastInstance(T p_i47483_2_)
-
-
Method Detail
-
getToast
public T getToast()
-
getVisibility
private float getVisibility(long p_193686_1_)
-
render
public boolean render(int p_193684_1_, int p_193684_2_, MatrixStack p_193684_3_)
-
-