Record Class CommonLaunchHandler.LocatedPaths
java.lang.Object
java.lang.Record
net.minecraftforge.fml.loading.targets.CommonLaunchHandler.LocatedPaths
- Enclosing class:
- CommonLaunchHandler
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final BiPredicate<String,String> The field for theminecraftFilterrecord component.The field for theminecraftPathsrecord component.The field for theotherArtifactsrecord component.The field for theotherModPathsrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theminecraftFilterrecord component.Returns the value of theminecraftPathsrecord component.Returns the value of theotherArtifactsrecord component.Returns the value of theotherModPathsrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
minecraftPathsThe field for theminecraftPathsrecord component.
- 
minecraftFilterThe field for theminecraftFilterrecord component.
- 
otherModPathsThe field for theotherModPathsrecord component.
- 
otherArtifactsThe field for theotherArtifactsrecord component.
 
- 
- 
Constructor Details- 
LocatedPathspublic LocatedPaths(List<Path> minecraftPaths, BiPredicate<String, String> minecraftFilter, List<List<Path>> otherModPaths, List<Path> otherArtifacts) Creates an instance of aLocatedPathsrecord class.- Parameters:
- minecraftPaths- the value for the- minecraftPathsrecord component
- minecraftFilter- the value for the- minecraftFilterrecord component
- otherModPaths- the value for the- otherModPathsrecord component
- otherArtifacts- the value for the- otherArtifactsrecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
minecraftPathsReturns the value of theminecraftPathsrecord component.- Returns:
- the value of the minecraftPathsrecord component
 
- 
minecraftFilterReturns the value of theminecraftFilterrecord component.- Returns:
- the value of the minecraftFilterrecord component
 
- 
otherModPathsReturns the value of theotherModPathsrecord component.- Returns:
- the value of the otherModPathsrecord component
 
- 
otherArtifactsReturns the value of theotherArtifactsrecord component.- Returns:
- the value of the otherArtifactsrecord component
 
 
-