Package net.minecraft.util
Record Class Downloader.DownloadResult
java.lang.Object
java.lang.Record
net.minecraft.util.Downloader.DownloadResult
- Record Components:
downloaded
-failed
-
- Enclosing class:
Downloader
public static record Downloader.DownloadResult(Map<UUID,Path> downloaded, Set<UUID> failed)
extends Record
- Mappings:
Namespace Name official aos$b
intermediary net/minecraft/class_9028$class_9030
named net/minecraft/util/Downloader$DownloadResult
official a
intermediary comp_2143
named downloaded
official b
intermediary comp_2144
named failed
-
Field Summary
Modifier and TypeFieldDescriptionThe field for thedownloaded
record component.The field for thefailed
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedownloaded
record component.final boolean
Indicates whether some other object is "equal to" this one.failed()
Returns the value of thefailed
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
downloaded
The field for thedownloaded
record component. -
failed
The field for thefailed
record component.
-
-
Constructor Details
-
DownloadResult
public DownloadResult() -
DownloadResult
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
downloaded
Returns the value of thedownloaded
record component.- Returns:
- the value of the
downloaded
record component
-
failed
Returns the value of thefailed
record component.- Returns:
- the value of the
failed
record component
-