From dd7882598eede903753ee41cdaaf02dbf4f5ff7f Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Mon, 15 Nov 2021 13:41:59 +0000 Subject: [PATCH] Add getBaseMappedJar to make it easier to get the pre-transformed game jar. --- .../providers/minecraft/MinecraftMappedProvider.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftMappedProvider.java b/src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftMappedProvider.java index f78f948..264b855 100644 --- a/src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftMappedProvider.java +++ b/src/main/java/net/fabricmc/loom/configuration/providers/minecraft/MinecraftMappedProvider.java @@ -210,6 +210,10 @@ public class MinecraftMappedProvider extends DependencyProvider { return minecraftMappedJar; } + public final File getBaseMappedJar() { + return minecraftMappedJar; + } + public File getUnpickedJar() { return new File(getExtension().getMappingsProvider().mappingsWorkingDir().toFile(), "minecraft-unpicked.jar"); }