net.minecraft.client.toast

class ToastManager$Entry<T extends Toast>

net.minecraft.client.gui.components.toasts.ToastManager$ToastInstance
net.minecraft.class_374$class_375
net.minecraft.client.toast.ToastManager$Entry

Field summary

Modifier and TypeField
private static final long
SLIDE_ANIMATION_DURATION_MS
field_32221
DISAPPEAR_TIME
private final T
toast
field_2241
instance
private final int
firstSlotIndex
field_52787
topIndex
private final int
occupiedSlotCount
field_39933
requiredSpaceCount
private long
animationStartTime
field_2243
startTime
private long
becameFullyVisibleAt
field_52788
fullyVisibleTime
private Toast$Visibility
visibility
field_2244
visibility
private long
fullyVisibleFor
field_2242
showTime
private float
visiblePortion
field_52789
visibleWidthPortion
protected boolean
hasFinishedRendering
field_52790
finishedRendering
final ToastManager
this$0
field_2245
field_2245

Constructor summary

ModifierConstructor
private (T this$0, int instance, int topIndex)

Method summary

Modifier and TypeMethod
public T
getToast()
method_2001()
getInstance()
public void
resetToast()
method_71819()
init()
public boolean
hasFinishedRendering()
method_61994()
isFinishedRendering()
private void
calculateVisiblePortion(long now)
method_61993(long arg0)
updateVisibleWidthPortion(long time)
public void
update()
method_61995()
update()
public void
render(GuiGraphics graphics, int screenWidth)
method_2002(class_332 arg0, int arg1)
draw(DrawContext context, int scaledWindowWidth)