#mod #fabric #minecraft-mod #scaffolding #minecraft #cli

app make-fabric-mod

Scaffolding tool for creating Fabric mods in Java and Kotlin

2 releases

0.1.1 May 10, 2023
0.1.0 May 10, 2023

#488 in Games

Custom license

31KB
798 lines

make-fabric-mod

Scaffolding tool for creating Fabric mods in Java and Kotlin

Installation

make-fabric-mod can be installed with cargo:

$ cargo install make-fabric-mod

Usage

$ make-fabric-mod -h
Create a new Fabric mod

Usage: make-fabric-mod [OPTIONS] --name <NAME> --minecraft <MINECRAFT_VERSION> --entrypoint <MAIN_CLASS> <PATH>

Arguments:
  <PATH>  

Options:
  -i, --id <MOD_ID>                    Mod ID. Defaults to the name of the directory [default: ]
  -n, --name <NAME>                    Human-friendly mod name
  -m, --minecraft <MINECRAFT_VERSION>  Minecraft version (x.y)
  -k, --kotlin                         Use Kotlin instead of Java
  -e, --entrypoint <MAIN_CLASS>        Main class (e.g., 'net.fabricmc.example.ExampleMod')
  -h, --help                           Print help information
  -V, --version                        Print version information

Dependencies

~3–15MB
~124K SLoC