@Component
public final class QuiltScanner
extends java.lang.Object
quilt.mod.json-based scanning of Fabric-Minecraft mods.| Constructor and Description |
|---|
QuiltScanner(@NotNull com.fasterxml.jackson.databind.ObjectMapper objectMapper,
@NotNull Utilities utilities) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull java.util.TreeSet<java.io.File> |
scan(@NotNull 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(@NotNull
@NotNull com.fasterxml.jackson.databind.ObjectMapper objectMapper,
@NotNull
@NotNull Utilities utilities)
@NotNull
public @NotNull java.util.TreeSet<java.io.File> scan(@NotNull
@NotNull 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.