Merge remote-tracking branch 'architectury/dev/0.7-forge' into dev/future

This commit is contained in:
shedaniel
2021-05-12 21:43:28 +08:00
20 changed files with 799 additions and 94 deletions

View File

@@ -133,6 +133,11 @@ public class ModCompileRemapper {
File input = artifact.getFile();
try (ZipFile zipFile = new ZipFile(input)) {
if (zipFile.getEntry("architectury.common.marker") != null) {
logger.info("Found architectury common mod in " + config + ": {}", artifact.getId());
return true;
}
if (forge) {
if (zipFile.getEntry("META-INF/mods.toml") != null) {
logger.info("Found Forge mod in " + config + ": {}", artifact.getId());