Using Chocoloom - Legacy-Fabric/fabric-example-mod GitHub Wiki

⚠️ Chocoloom is not supported by us and things might break! ⚠️

Update 2025: Chocoloom hasn't been updated in years and shouldn't be used anymore.
If you need some of the advanced features Chocoloom provided take a look at Unimined.


1. Add plugin repo

In settings.gradle you need to add Jitpack as a maven.

pluginManagement {
	repositories {
		maven {
			name = "Fabric"
			url = "https://maven.fabricmc.net/"
		}
		maven {
			name = "legacy-fabric"
			url = "https://repo.legacyfabric.net/repository/legacyfabric/"
		}
+ 		maven {
+			name = 'Jitpack'
+			url = 'https://jitpack.io'
+		}
		gradlePluginPortal()
	}
}

2. Change loom version

The fabric-loom version needs to be changed to a commit hash from this repo https://github.com/Chocohead/Fabric-Loom.

plugins {
-	id "fabric-loom" version "1.0-SNAPSHOT"
+	id "fabric-loom" version "f7d1318"
}

Additional info

Additional info be found here https://github.com/Chocohead/Fabric-Loom#readme