Abric-language-kotlin 〈RECOMMENDED • BLUEPRINT〉
Instead of pointing directly to a class, the JSON tells the loader to use the Kotlin adapter:
val multiply = protocol val x = input(alice) val y = input(bob) val product = mul(x, y) // This might generate Beaver triple multiplication output(product, alice, bob) abric-language-kotlin
fun main() val protocol = protocol val a = secretInput(party("Alice"), 42) val b = secretInput(party("Bob"), 117) val c = add(a, b) val result = reveal(c) output(result, party("Charlie")) Instead of pointing directly to a class, the
: When adding mods to your folder manually, always check the mod’s page on platforms like Modrinth to see if Fabric Language Kotlin is a listed requirement. Integration in Popular Modpacks 42) val b = secretInput(party("Bob")