Record Class UserdevConfig
java.lang.Object
java.lang.Record
com.cleanroommc.gradle.api.schema.UserdevConfig
public record UserdevConfig(int spec, UserdevConfig.Minecraft minecraft, UserdevConfig.Loader loader, UserdevConfig.Inputs inputs, UserdevConfig.Layout layout, UserdevConfig.Runs runs)
extends Record
Cleanroom userdev specification 1. Dependencies belong to Gradle module metadata. This document owns only
the reproducible Minecraft materialization pipeline and launch contract.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final intstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionUserdevConfig(int spec, UserdevConfig.Minecraft minecraft, UserdevConfig.Loader loader, UserdevConfig.Inputs inputs, UserdevConfig.Layout layout, UserdevConfig.Runs runs) Creates an instance of aUserdevConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.inputs()Returns the value of theinputsrecord component.layout()Returns the value of thelayoutrecord component.loader()Returns the value of theloaderrecord component.static StringReturns the value of theminecraftrecord component.static UserdevConfigstatic UserdevConfigreadFromJar(File jar) runs()Returns the value of therunsrecord component.intspec()Returns the value of thespecrecord component.final StringtoString()Returns a string representation of this record class.voidvalidate()
-
Field Details
-
SPEC
public static final int SPEC- See Also:
-
META
- See Also:
-
FILE_NAME
- See Also:
-
BINPATCHES
- See Also:
-
CLIENT_BINPATCHES
- See Also:
-
SERVER_BINPATCHES
- See Also:
-
OBF2SRG
- See Also:
-
SRG2MCP
- See Also:
-
MCP2SRG
- See Also:
-
DEOBF_LIBRARY
- See Also:
-
SOURCE_INPUT
- See Also:
-
ACCESS
- See Also:
-
CONSTRUCTORS
- See Also:
-
EXCEPTIONS
- See Also:
-
METHODS
- See Also:
-
FIELDS
- See Also:
-
PARAMS
- See Also:
-
INITIAL_PATCHES
- See Also:
-
ATS
- See Also:
-
SAS
- See Also:
-
PATCHES
- See Also:
-
LOADER_SOURCES
- See Also:
-
-
Constructor Details
-
UserdevConfig
public UserdevConfig(int spec, UserdevConfig.Minecraft minecraft, UserdevConfig.Loader loader, UserdevConfig.Inputs inputs, UserdevConfig.Layout layout, UserdevConfig.Runs runs) Creates an instance of aUserdevConfigrecord class.- Parameters:
spec- the value for thespecrecord componentminecraft- the value for theminecraftrecord componentloader- the value for theloaderrecord componentinputs- the value for theinputsrecord componentlayout- the value for thelayoutrecord componentruns- the value for therunsrecord component
-
-
Method Details
-
meta
-
minecraftVersion
-
loaderVersion
-
validate
public void validate() -
read
-
readFromJar
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
spec
public int spec()Returns the value of thespecrecord component.- Returns:
- the value of the
specrecord component
-
minecraft
Returns the value of theminecraftrecord component.- Returns:
- the value of the
minecraftrecord component
-
loader
Returns the value of theloaderrecord component.- Returns:
- the value of the
loaderrecord component
-
inputs
Returns the value of theinputsrecord component.- Returns:
- the value of the
inputsrecord component
-
layout
Returns the value of thelayoutrecord component.- Returns:
- the value of the
layoutrecord component
-
runs
Returns the value of therunsrecord component.- Returns:
- the value of the
runsrecord component
-