Tags
Creators
Details
Licensed MIT
Published 3 years ago
Updated last week
All versions
1.2.0
Release
Loot Bag 1.2.02 years ago 136
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Fabric
Supported environments
Client and server
Required content
Any compatible version
Changes
NOTES❗❗❗
In version 1.2.0 I rewrote almost the entire mod. What's different from before?
- The mod now no longer depends on any other dependency mod other than the fabric api.
- It is now configured via datapack instead of config files. (Don't update if you're not ready to rewrite the config file as a datapack!)
- Every loot bag used to be a new item, this was done to accommodate some operations such as the vanilla recipe output that did not support writing NBT on items. But this practice was costly, introduced BRRP as a dependency, and defied conventional logic. Now all loot bags are the same item, and the loot bag data is stored in the item's NBT tag.
- The mod is now extensible in code, if you are a mod developer you can generate your datapack using the provider class provided by the mod and even add more loot bag types.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:PTfj8UMQ:FYJl9NKC"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:PTfj8UMQ:FYJl9NKC"
}

