3.1.0
Compatibility
Changes
requires cloth config api (v15.0.140)!
this is the new version of torridium for 1.21.1 forge (52.1.6).
optimization has been significantly improved in this version.
additionally, for developers and modpack makers, i improved the api and added tags:
- added
torridium:heat_sensitivetag: blocks in this tag will be processed by the heat logic. useful for ensuring modded flammable blocks are properly ignited. - added
torridium:heat_conductorstag: defines blocks that allow heat to pass through (e.g. iron bars, chains). - logic for detecting heat targets is now tag-based instead of hardcoded.
api & examples
javadoc is included in the code for all api methods.
1. json recipes (datapacks)
use torridium:heat_reaction to transform blocks.
{
"type": "torridium:heat_reaction",
"input": "minecraft:cobblestone",
"output": "minecraft:stone",
"chance": 0.1
}
2. code api (complex logic)
use HeatReactionRegistry for custom behavior.
// register complex logic
HeatReactionRegistry.register(Blocks.TNT, (level, pos, state, chance) -> {
if (level.random.nextFloat() < chance) {
// custom logic here
state.getBlock().onCaughtFire(state, level, pos, null, null);
return true; // stop standard processing
}
return false;
});
enjoy the game - and happy new year in advance!
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:dlSERmel:IyL3xfco"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:dlSERmel:IyL3xfco"
}

