Abric-language-kotlin Jun 2026

// Define a function for the Sparkling Caves path fun sparklingCaves() println("You enter the Sparkling Caves, mesmerized by the glittering crystals and shimmering pools.") println("As you explore, you stumble upon a hidden chamber filled with treasure.") println("But, you're not alone...")

// Present the player with choices println("Do you:") println("A) Engage in combat") println("B) Attempt to reason with the figure") abric-language-kotlin

Instead of pointing directly to a class, the JSON tells the loader to use the Kotlin adapter: // Define a function for the Sparkling Caves

val a: Secret<Int> = secretInput(alice) val b: Secret<Int> = secretInput(bob) val c: Secret<Int> = add(a, b) // still secret val public = reveal(c) // explicit declassification = secretInput(alice) val b: Secret&lt

The library facilitates the use of Kotlin's extension functions. Modders can easily extend Minecraft's base classes without inheritance.

Ask For A Quote