From c37f445bcdfbbbff1048ed4287e762cc30ec3032 Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Fri, 31 Jan 2020 11:04:44 +0100 Subject: [PATCH] Add JSR305 library --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 96b3d1ab..0aecc462 100644 --- a/build.gradle +++ b/build.gradle @@ -21,6 +21,14 @@ dependencies { // Fabric API. This is technically optional, but you probably want it anyway. modCompile "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" + + // net.wurstclient.ai.PathPos extends net.minecraft.util.math.BlockPos, + // which uses javax.annotation.concurrent.Immutable, which is part of + // the JSR305 library. + // + // In other words, Wurst won't compile without this library, + // even though it's Minecraft that actually uses it. + modCompile 'com.google.code.findbugs:jsr305:3.0.2' // PSA: Some older mods, compiled on Loom 0.2.1, might have outdated Maven POMs. // You may need to force-disable transitiveness on them.