Langue

Fabric gRPC API

Fabric gRPC API

Modrinth

This utility mod contains required libraries for implementing gRPC server/client in Fabric mods

300 téléchargements 2 abonnés mis à jour 36mo ago
dernière v1.0-fabric Modrinth
Fabric 1.20.1 – 1.20.1 Library

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 {}
        }
    }
}

Versions

Release
1.0-fabric
fabric · 1.20.1 · 36mo ago
No changelog was specified.
300

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.

FAQ

Comment installer Fabric gRPC API ?

Téléchargez le fichier pour votre version de Minecraft et votre loader sur cette page, puis placez le .jar dans le dossier mods (ou plugins) et lancez le jeu.

Fabric gRPC API est-il gratuit ?

Fabric gRPC API est gratuit sur Modgrid — nous renvoyons directement vers la source officielle, sans paywall.

Quelles versions de Minecraft Fabric gRPC API prend-il en charge ?

Compatible avec Fabric. Prend en charge les versions 1.20.1–1.20.1. La liste des versions et loaders pris en charge est dans la section de téléchargement de cette page.

Télécharger Fabric gRPC API

Les fichiers proviennent directement de la source d'origine. Modgrid ne les héberge ni ne les modifie.