minified-launch/com.dervarex.minified.launch.events.download.client
DownloadClientJarEvent
recordSource
public record DownloadClientJarEvent(double progress, long downloadedBytes, long totalBytes)
implements EventGets fired while the Minecraft client JAR is being downloaded
- Implemented interfaces
- Event
- Event
- When it fires and how to listen to it
Record components
progressdoubleThe overall download progress as a value from 0.0 to 1.0
downloadedByteslongThe number of bytes downloaded so far
totalByteslongThe total size of the client JAR in bytes
Constructors
public DownloadClientJarEvent(double progress, long downloadedBytes, long totalBytes)| Parameters | ||
|---|---|---|
progress | double | |
downloadedBytes | long | |
totalBytes | long | |