Tags
Creators
Details
1.8.18
Compatibility
Changes
Minor Update
Weight system Update: Completely rewrote the weight handler to support complex mods (like TACZ) purely through the config, alongside some highly requested quality-of-life additions.
nbtWeightPaths: A new config list that extracts hidden IDs (liketacz:9mmor equipped scopes on guns) from an item's NBT data and assigns them specific fallback weights.
- Example 1 (Ammo): Adding
"tacz:ammo;AmmoId;0.05;true"tells the weight system to look inside the basetacz:ammoitem to find the specificAmmoId. If the ammo isn't configured individually, it defaults to a fallback weight of0.05per bullet. - Example 2 (Attachments): Adding
"tacz:modern_kinetic_gun;AttachmentSCOPE.tag.AttachmentId;0.5;false"tells the system to dig through a gun's NBT folders (specifically, it opens theAttachmentSCOPEfolder, then thetagfolder inside of it, to read theAttachmentId) to check for an equipped scope. If a scope is found, it checks your explicit weights or defaults to adding0.5weight. If no scope is equipped, it adds0.0weight (because the final flag isfalse).
- Example 1 (Ammo): Adding
- Special NBTs Support: The standard
customItemWeightslist now supports those extracted raw string IDs, allowing you to assign weight to nested items and attachments. (The reason this is needed is because mods like TACZ use a single base registry ID liketacz:ammofor all bullets, hiding the specific ammo type under an NBT label).
- Once the NBT paths are set up above, you can simply add
"tacz:9mm;0.02"or"tacz:sight_exp3;0.8"directly into your standardcustomItemWeightslist to balance them perfectly!
- Once the NBT paths are set up above, you can simply add
New command: /stamina reload: A new command to instantly refresh all weight caches, tag caches, and NBT configs in game without restarting your server.
- Example: Tweak your item weights in the
lists.tomlfile, save the file, and type/stamina reloadin chat. Your new weights will apply to player inventories immediately!
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:ntZfcsjr:ZdTWD9p6"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ntZfcsjr:ZdTWD9p6"
}

