silk-commands

A command DSL, built on top of Brigadier - the idea of this DSL is to bring the Kotlin builder style to Brigadier. This DSL does not hide vanilla Brigadier from you.

Dependency

modImplementation("net.silkmc:silk-commands:1.10.4")

Usage

You first have to create a command instance using the command or clientCommand function.
Have a look at the commands package below for more information.

After that, you can register that command instance.
Have a look at the commands.registration package below to see if you have to do it manually, and if yes, how.

Packages

Link copied to clipboard

Contains all command builder functions

Link copied to clipboard
Link copied to clipboard

Utilities for command registration