Table of Contents

Create new project


Note

Make sure you've followed steps in environment setup

You need to add Ignitron's NuGet feed first:

$ dotnet nuget add source --name Ignitron https://codeberg.org/api/packages/ignitron/nuget/index.json

After, install .NET template using:

$ dotnet new install Ignitron.Mod.Templates

Now you can create a new project depending on your development environment

You can see all template options using:

$ dotnet new ignitron-mod --help

Now you can go to directory where you would like to make a project and run:

$ dotnet new ignitron-mod --name <ProjectName>

By default, the template will include examples on how to use Harmony patches, add blocks and load sprites for them.