
Fabric gRPC API
This utility mod contains required libraries for implementing gRPC server/client in Fabric mods
About this Mod
gRPC-Fabric - gRPC-Java, packed as a mod
This mod uses Shade plugin to include all required dependencies for using gRPC-Java library in your Fabric mod. Some libraries were removed from the mod because they are already in use and downloaded by Minecraft client/server.
How to use
1. Add Modrinth repository
Since compiled jar file is stored on Modrinth, add their repository according to this guide.
2. Add mod dependency:
dependencies {
// ...
implementation 'maven.modrinth:fabric-grpc-api:1.0-fabric'
compileOnly 'org.apache.tomcat:annotations-api:6.0.53'
// ...
}
* Tomcat Annotations API aren't included because they're compile only.
Optionally you can use include directive so that your mod users don't have to download it manually. But keep in mind, that the size of your mode will increase by ~5MB.
dependencies {
// ...
include(implementation('maven.modrinth:fabric-grpc-api:1.0-fabric'))
compileOnly 'org.apache.tomcat:annotations-api:6.0.53'
// ...
}
3. (if using protobuf plugin) Specify grpc plugin artifact version
protobuf {
protoc {
artifact = "com.google.protobuf:protoc:3.21.7"
}
plugins {
grpc {
artifact = 'io.grpc:protoc-gen-grpc-java:1.58.0'
}
}
generateProtoTasks {
all()*.plugins {
grpc {}
}
}
}
Available Versions
How to Install Fabric gRPC API on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "Fabric gRPC API". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
~ OptionalRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Fabric gRPC API server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.
Is Fabric gRPC API compatible with fabric?
Fabric gRPC API officially supports fabric for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Fabric gRPC API – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Fabric gRPC API consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Fabric gRPC API with just one click on your server.