Links
Creators
Details
1.0.0+8.0.1
Compatibility
Changes
I often play with vanilla tweaks when playing modern. One of my favorite datapacks is diminishing tools. This mod aim to add this functionality to BTA. In future this will be possible via assets pack but for now is only possible though modding.
🪓 Diminishing Tools
Wear & Tear support most tools. Tool start showing marks of wear and tear at 25% durability and further signs at 15, 5% durability. This mod is client side only, and should allow players to connect to vanilla server. The mod has no dependencies aside toml that is budles into the jar.
🖼️ Mod Support
Modder are happy to adopted this mod by defining a configuration by which the item new texture are loaded.
Importantly the call to super.getIcon() has to be preserved in some form for the icon to be resolved correctly.
Here is an example of the configuration file. The name of a given file is [name of Item].item.toml:
type = "durability" # metadata/durability
textures = [
{name = "a", threshold = 0.75}, # name is the name of the texture
{name = "b", threshold = 0.85}, # threshold, point of mising durability at whice this icon is shown
{name = "c", threshold = 0.95} # The game assumes all icon are in the directory : assets/[modID]/textures/item/[item.name]/
]
Type metadata allows the use of specific metadata value (for more precision)
🎤 Asset pack support
Simular to modding Wear and Tear also support asset packs. Just define the configuration (see Mod Support) for the item, include the desired texture and package it as a valid texture pack. The game will be able to load and unload these textures freely.
⚽ Goals:
- Redo the textures (still using diminishing tools texture as of now)
- Diminishing texture for bow and fishing rod.
- ArmorIcon, also change with deminishing durability
- ArmorModel support, player worn armor model changes based on missing durability.
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:HjtbKBec:Gx7jt6pf"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:HjtbKBec:Gx7jt6pf"
}

