Tags
Creators
Details
Licensed CC-BY-4.0
Published last month
Updated 2 weeks ago
All versions
1.3-beta
Beta
CatoAPI 1.3-beta2 weeks ago 2
Compatibility
Minecraft: Java Edition
1.20.1–1.20.6
Platforms
Bukkit
Fabric
Forge
Paper
Purpur
Spigot
Supported environments
Client-side
Server-side
Client and server
Required content
Changes
- Add optional min, max, and range support to numeric command arguments (IntegerArgumentType, LongArgumentType, FloatArgumentType, DoubleArgumentType) across common, client, and spigot command builders
- Add Consumer<ArgConfig> and optional boolean overloads to all command argument types across CatoCommands, CatoClientCommands, and Spigot CommandBuilders
- Add CatoTextEditor multiline text editor GUI system with automatic word wrapping, line numbers, line list support (List<String>), search bar word highlighting, navigation, and undo/redo support
- Add List<String> and String[] overloads to CatoGui.drawWrappedText with automatic scaling and word wrapping
- Add CatoClientUpdater mod updater system with Modrinth support, startup TitleScreen interception, and CatoUpdateRequiredScreen
- Rename ClientGuiEvent.INIT_SCREEN to ClientGuiEvent.SET_SCREEN
- Add automatic lazy PlatformProvider auto-detection to CatoPlatform for early external mod access
- Add optional mandatory parameter support to CatoClientUpdater with Continue button and Esc support when updates are not mandatory
- Add automatic multi-mod background downloader to CatoUpdateRequiredScreen with real-time progress bar and downloaded megabytes tracking directly into mods folder
- Make project slug and current version optional in CatoClientUpdater with automatic fallback to mod ID and CatoPlatform metadata
- Add getFilePath() method to CatoMod across Fabric, NeoForge, and Forge platform providers
- Automatically delete previous mod JAR file upon successfully downloading newer version in CatoUpdateRequiredScreen
- Add PlayerEvent.REGISTER_CHANNEL event in Spigot API for PlayerRegisterChannelEvent
- Add getBossbarHeight() method to CatoGui for measuring total active boss bars height on HUD
- Add List and Map field support to CatoConfig commands with add, remove, and reset subcommands across common, client, and spigot
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:3qhc1MJE:TQmMg4Sc"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:3qhc1MJE:TQmMg4Sc"
}

