Record Class MinecraftVersionMeta
java.lang.Object
java.lang.Record
net.fabricmc.loom.configuration.providers.minecraft.MinecraftVersionMeta
public record MinecraftVersionMeta(Object arguments, MinecraftVersionMeta.AssetIndex assetIndex, String assets, int complianceLevel, Map<String,MinecraftVersionMeta.Download> downloads, String id, List<MinecraftVersionMeta.Library> libraries, Object logging, String mainClass, int minimumLauncherVersion, String releaseTime, String time, String type)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionMinecraftVersionMeta(Object arguments, MinecraftVersionMeta.AssetIndex assetIndex, String assets, int complianceLevel, Map<String,MinecraftVersionMeta.Download> downloads, String id, List<MinecraftVersionMeta.Library> libraries, Object logging, String mainClass, int minimumLauncherVersion, String releaseTime, String time, String type)Creates an instance of aMinecraftVersionMetarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentsrecord component.Returns the value of theassetIndexrecord component.assets()Returns the value of theassetsrecord component.intReturns the value of thecomplianceLevelrecord component.Returns the value of thedownloadsrecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of thelibrariesrecord component.logging()Returns the value of theloggingrecord component.Returns the value of themainClassrecord component.intReturns the value of theminimumLauncherVersionrecord component.Returns the value of thereleaseTimerecord component.time()Returns the value of thetimerecord component.toString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
MinecraftVersionMeta
public MinecraftVersionMeta(Object arguments, MinecraftVersionMeta.AssetIndex assetIndex, String assets, int complianceLevel, Map<String,MinecraftVersionMeta.Download> downloads, String id, List<MinecraftVersionMeta.Library> libraries, Object logging, String mainClass, int minimumLauncherVersion, String releaseTime, String time, String type)Creates an instance of aMinecraftVersionMetarecord class.- Parameters:
arguments- the value for theargumentsrecord componentassetIndex- the value for theassetIndexrecord componentassets- the value for theassetsrecord componentcomplianceLevel- the value for thecomplianceLevelrecord componentdownloads- the value for thedownloadsrecord componentid- the value for theidrecord componentlibraries- the value for thelibrariesrecord componentlogging- the value for theloggingrecord componentmainClass- the value for themainClassrecord componentminimumLauncherVersion- the value for theminimumLauncherVersionrecord componentreleaseTime- the value for thereleaseTimerecord componenttime- the value for thetimerecord componenttype- the value for thetyperecord component
-
-
Method Details
-
download
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
arguments
Returns the value of theargumentsrecord component.- Returns:
- the value of the
argumentsrecord component
-
assetIndex
Returns the value of theassetIndexrecord component.- Returns:
- the value of the
assetIndexrecord component
-
assets
Returns the value of theassetsrecord component.- Returns:
- the value of the
assetsrecord component
-
complianceLevel
public int complianceLevel()Returns the value of thecomplianceLevelrecord component.- Returns:
- the value of the
complianceLevelrecord component
-
downloads
Returns the value of thedownloadsrecord component.- Returns:
- the value of the
downloadsrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
libraries
Returns the value of thelibrariesrecord component.- Returns:
- the value of the
librariesrecord component
-
logging
Returns the value of theloggingrecord component.- Returns:
- the value of the
loggingrecord component
-
mainClass
Returns the value of themainClassrecord component.- Returns:
- the value of the
mainClassrecord component
-
minimumLauncherVersion
public int minimumLauncherVersion()Returns the value of theminimumLauncherVersionrecord component.- Returns:
- the value of the
minimumLauncherVersionrecord component
-
releaseTime
Returns the value of thereleaseTimerecord component.- Returns:
- the value of the
releaseTimerecord component
-
time
Returns the value of thetimerecord component.- Returns:
- the value of the
timerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-