@Component
public final class QuiltScanner
extends java.lang.Object
quilt.mod.json-based scanning of Fabric-Minecraft mods.| Constructor and Description |
|---|
QuiltScanner(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Utilities utilities) |
| Modifier and Type | Method and Description |
|---|---|
java.util.TreeSet<java.io.File> |
scan(java.util.Collection<java.io.File> filesInModsDir)
Scan the
quilt.mod.json-files in mod JAR-files of a given directory for their
sideness.If minecraft.environment specifies client, and is not listed as a
dependency for another mod, it is added and therefore later on excluded from the server pack. |
@Autowired
public QuiltScanner(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Utilities utilities)
public java.util.TreeSet<java.io.File> scan(java.util.Collection<java.io.File> filesInModsDir)
quilt.mod.json-files in mod JAR-files of a given directory for their
sideness.minecraft.environment specifies client, and is not listed as a
dependency for another mod, it is added and therefore later on excluded from the server pack.filesInModsDir - A list of files in which to check the fabric.mod.json-files.