Tags
Creators
Details
v1.3
Compatibility
Changes
Added a new rule type: MESSAGE. This takes a command that does not exist, and when run displays the configured block message and block sound. It also adds the command to tab complete.
3:
type: MESSAGE
commands:
- test
blockMessage: "<rainbow>You have typed the test message!"
This will not work for commands that already exist.
API Changes
- The methods that were deprecated in the last update have been removed.
- When getting the block message or block sound information from a rule, it will default to the global configuration if a rule-specific one is not configured.
- Added API methods for getting global block message and global block sound. See this for a full list of methods.
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:OchFApgp:oXKyVbs1"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:OchFApgp:oXKyVbs1"
}

