Record Class UserdevConfig
java.lang.Object
java.lang.Record
dev.architectury.loom.forge.config.UserdevConfig
public record UserdevConfig(String mcp, String universal, String sources, String patches, Optional<String> patchesOriginalPrefix, Optional<String> patchesModifiedPrefix, String binpatches, UserdevConfig.BinaryPatcherConfig binpatcher, List<String> libraries, Map<String,ForgeRunTemplate> runs, List<String> sass, UserdevConfig.AccessTransformerLocation ats)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final record -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUserdevConfig(String mcp, String universal, String sources, String patches, Optional<String> patchesOriginalPrefix, Optional<String> patchesModifiedPrefix, String binpatches, UserdevConfig.BinaryPatcherConfig binpatcher, List<String> libraries, Map<String, ForgeRunTemplate> runs, List<String> sass, UserdevConfig.AccessTransformerLocation ats) Creates an instance of aUserdevConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionats()Returns the value of theatsrecord component.Returns the value of thebinpatcherrecord component.Returns the value of thebinpatchesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelibrariesrecord component.mcp()Returns the value of themcprecord component.patches()Returns the value of thepatchesrecord component.Returns the value of thepatchesModifiedPrefixrecord component.Returns the value of thepatchesOriginalPrefixrecord component.runs()Returns the value of therunsrecord component.sass()Returns the value of thesassrecord component.sources()Returns the value of thesourcesrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuniversalrecord component.
-
Field Details
-
CODEC
-
-
Constructor Details
-
UserdevConfig
public UserdevConfig(String mcp, String universal, String sources, String patches, Optional<String> patchesOriginalPrefix, Optional<String> patchesModifiedPrefix, String binpatches, UserdevConfig.BinaryPatcherConfig binpatcher, List<String> libraries, Map<String, ForgeRunTemplate> runs, List<String> sass, UserdevConfig.AccessTransformerLocation ats) Creates an instance of aUserdevConfigrecord class.- Parameters:
mcp- the value for themcprecord componentuniversal- the value for theuniversalrecord componentsources- the value for thesourcesrecord componentpatches- the value for thepatchesrecord componentpatchesOriginalPrefix- the value for thepatchesOriginalPrefixrecord componentpatchesModifiedPrefix- the value for thepatchesModifiedPrefixrecord componentbinpatches- the value for thebinpatchesrecord componentbinpatcher- the value for thebinpatcherrecord componentlibraries- the value for thelibrariesrecord componentruns- the value for therunsrecord componentsass- the value for thesassrecord componentats- the value for theatsrecord component
-
-
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). -
mcp
Returns the value of themcprecord component.- Returns:
- the value of the
mcprecord component
-
universal
Returns the value of theuniversalrecord component.- Returns:
- the value of the
universalrecord component
-
sources
Returns the value of thesourcesrecord component.- Returns:
- the value of the
sourcesrecord component
-
patches
Returns the value of thepatchesrecord component.- Returns:
- the value of the
patchesrecord component
-
patchesOriginalPrefix
Returns the value of thepatchesOriginalPrefixrecord component.- Returns:
- the value of the
patchesOriginalPrefixrecord component
-
patchesModifiedPrefix
Returns the value of thepatchesModifiedPrefixrecord component.- Returns:
- the value of the
patchesModifiedPrefixrecord component
-
binpatches
Returns the value of thebinpatchesrecord component.- Returns:
- the value of the
binpatchesrecord component
-
binpatcher
Returns the value of thebinpatcherrecord component.- Returns:
- the value of the
binpatcherrecord component
-
libraries
Returns the value of thelibrariesrecord component.- Returns:
- the value of the
librariesrecord component
-
runs
Returns the value of therunsrecord component.- Returns:
- the value of the
runsrecord component
-
sass
Returns the value of thesassrecord component.- Returns:
- the value of the
sassrecord component
-
ats
Returns the value of theatsrecord component.- Returns:
- the value of the
atsrecord component
-