Tags
Creators
Details
All versions
0.5.0
Alpha
New Query/Chat/Event API + Fixes and Improvements.8 months ago 100
Compatibility
Minecraft: Java Edition
b1.7.3
Platforms
Forge
Risugami's ModLoader
Supported environments
Client and server
Changes
Additions
- New Query API for blocks/items/recipes that enable searches for specific content or groups of content.
- New Chat API for formatted in‑game messages and server broadcast attempts.
- New Event API (world/player/gui/input/item/block/dimension hooks).
- Added example scripts for Query API.
- Added example script for Event API. (Currently barebones. Will be expanded and commented in the future)
Changes
- Script loading now detects duplicates and dependency failures with clearer reporting in the UI.
- Scripts are now capable of throwing Warnings:
- Warnings won't make the whole script unloadable. It just skips the part of the script that threw the warning.
- Be aware that any function/variable that throws a Warning may return a NIL value, which results in Errors if used afterwards.
- Improved Script UI to also show warnings for scripts.
- Recipe modifications via Scripts update the internal recipe cache so queries include script-added recipes.
- Main menu/script screens now integrate the new Warnings in Popups.
- Many internal changes.
Fixes
- Reduced hard failures in texture registration; warnings are surfaced instead of crashes where possible.
- Fixed some example scripts to represent current API usage.
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:BwTdIvv1:WKgljTNF"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:BwTdIvv1:WKgljTNF"
}

