Class ManifestLocations
java.lang.Object
net.fabricmc.loom.configuration.providers.minecraft.ManifestLocations
- All Implemented Interfaces:
Iterable<ManifestLocations.ManifestLocation>,VersionsManifestsAPI
public class ManifestLocations
extends Object
implements VersionsManifestsAPI, Iterable<ManifestLocations.ManifestLocation>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface net.fabricmc.loom.api.manifest.VersionsManifestsAPI
add
-
Constructor Details
-
ManifestLocations
public ManifestLocations()
-
-
Method Details
-
add
Description copied from interface:VersionsManifestsAPIAdds a URL to a versions manifest json with the given priority.- Specified by:
addin interfaceVersionsManifestsAPI- Parameters:
name- a string that uniquely identifies this versions manifest, to be used in cache file pathsurl- the String-representation of the URL to the manifest jsonpriority- the priority with which this URL gets sorted against other entries entries are sorted by priority, from lowest to highest
-
iterator
- Specified by:
iteratorin interfaceIterable<ManifestLocations.ManifestLocation>
-