Package net.fabricmc.loom.task.launch
Record Class GenerateDLIConfigTask.ForgeInputs
java.lang.Object
java.lang.Record
net.fabricmc.loom.task.launch.GenerateDLIConfigTask.ForgeInputs
- All Implemented Interfaces:
Serializable
- Enclosing class:
GenerateDLIConfigTask
@Internal
public static record GenerateDLIConfigTask.ForgeInputs(List<String> dataGenMods, String legacyDataGenDir, Set<String> mixinConfigs, boolean useCustomMixin, @Nullable String srgToNamedSrg)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionForgeInputs(List<String> dataGenMods, String legacyDataGenDir, Set<String> mixinConfigs, boolean useCustomMixin, @Nullable String srgToNamedSrg) Creates an instance of aForgeInputsrecord class.ForgeInputs(org.gradle.api.Project project, LoomGradleExtension extension) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataGenModsrecord 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 thelegacyDataGenDirrecord component.Returns the value of themixinConfigsrecord component.@Nullable StringReturns the value of thesrgToNamedSrgrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theuseCustomMixinrecord component.
-
Constructor Details
-
ForgeInputs
-
ForgeInputs
public ForgeInputs(List<String> dataGenMods, String legacyDataGenDir, Set<String> mixinConfigs, boolean useCustomMixin, @Nullable String srgToNamedSrg) Creates an instance of aForgeInputsrecord class.- Parameters:
dataGenMods- the value for thedataGenModsrecord componentlegacyDataGenDir- the value for thelegacyDataGenDirrecord componentmixinConfigs- the value for themixinConfigsrecord componentuseCustomMixin- the value for theuseCustomMixinrecord componentsrgToNamedSrg- the value for thesrgToNamedSrgrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
dataGenMods
Returns the value of thedataGenModsrecord component.- Returns:
- the value of the
dataGenModsrecord component
-
legacyDataGenDir
Returns the value of thelegacyDataGenDirrecord component.- Returns:
- the value of the
legacyDataGenDirrecord component
-
mixinConfigs
Returns the value of themixinConfigsrecord component.- Returns:
- the value of the
mixinConfigsrecord component
-
useCustomMixin
public boolean useCustomMixin()Returns the value of theuseCustomMixinrecord component.- Returns:
- the value of the
useCustomMixinrecord component
-
srgToNamedSrg
Returns the value of thesrgToNamedSrgrecord component.- Returns:
- the value of the
srgToNamedSrgrecord component
-