Record Class AbstractMappedMinecraftProvider.RemappedJars
java.lang.Object
java.lang.Record
net.fabricmc.loom.configuration.providers.minecraft.mapped.AbstractMappedMinecraftProvider.RemappedJars
- All Implemented Interfaces:
AbstractMappedMinecraftProvider.OutputJar
- Enclosing class:
AbstractMappedMinecraftProvider<M extends MinecraftProvider>
public static record AbstractMappedMinecraftProvider.RemappedJars(Path inputJar, MinecraftJar outputJar, MappingsNamespace sourceNamespace, Path[] remapClasspath)
extends Record
implements AbstractMappedMinecraftProvider.OutputJar
-
Constructor Summary
ConstructorsConstructorDescriptionRemappedJars(Path inputJar, MinecraftJar outputJar, MappingsNamespace sourceNamespace, Path... remapClasspath) Creates an instance of aRemappedJarsrecord 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.inputJar()Returns the value of theinputJarrecord component.name()Returns the value of theoutputJarrecord component.Path[]Returns the value of theremapClasspathrecord component.Returns the value of thesourceNamespacerecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fabricmc.loom.configuration.providers.minecraft.mapped.AbstractMappedMinecraftProvider.OutputJar
type
-
Constructor Details
-
RemappedJars
public RemappedJars(Path inputJar, MinecraftJar outputJar, MappingsNamespace sourceNamespace, Path... remapClasspath) Creates an instance of aRemappedJarsrecord class.- Parameters:
inputJar- the value for theinputJarrecord componentoutputJar- the value for theoutputJarrecord componentsourceNamespace- the value for thesourceNamespacerecord componentremapClasspath- the value for theremapClasspathrecord component
-
-
Method Details
-
outputJarPath
-
name
-
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). -
inputJar
Returns the value of theinputJarrecord component.- Returns:
- the value of the
inputJarrecord component
-
outputJar
Returns the value of theoutputJarrecord component.- Specified by:
outputJarin interfaceAbstractMappedMinecraftProvider.OutputJar- Returns:
- the value of the
outputJarrecord component
-
sourceNamespace
Returns the value of thesourceNamespacerecord component.- Returns:
- the value of the
sourceNamespacerecord component
-
remapClasspath
Returns the value of theremapClasspathrecord component.- Returns:
- the value of the
remapClasspathrecord component
-