|
1 | 1 | # Stonecutter template |
2 | 2 |
|
| 3 | +If you have some issues with template ping me (@JavaJumper) in [Kiku's realm](https://discord.gg/TBgNUCfryS) or official fabric discord |
| 4 | + |
3 | 5 | This template allows you create multiloader multitemplate mod using stonecutter and architectury |
4 | 6 |
|
5 | 7 | It is based on my CustomCursor project |
6 | 8 |
|
| 9 | +## Setup |
| 10 | + |
7 | 11 | To change versions check settings.gradle.kts |
| 12 | +Currently default versions are these, |
| 13 | +but you can easily add other versions if you need that |
| 14 | +- 1.20.1, fabric, lexforge |
| 15 | +- 1.20.4, fabric, neoforge |
| 16 | +- 1.21.1, fabric, neoforge |
| 17 | +- 1.21.3, fabric, neoforge |
| 18 | +- 1.21.4, fabric, neoforge |
8 | 19 |
|
9 | 20 | You can use c# script to automatically change all template names. |
10 | 21 | Open RenameTemplate.cs, change names in replacements array and run "dotnet run" in this directory |
11 | 22 | I would highly recommend to do this before opening project in your IDE, and then remove all c# related files from project |
12 | 23 | (obj and bin folders, .csproj and script itself). Also you can remove c# stuff from .gitignore (there is comment for that) |
13 | 24 |
|
14 | | -If you have some issues with template ping me in [Kiku's realm](https://discord.gg/TBgNUCfryS) or official fabric discord |
15 | 25 |
|
16 | | -Currently supported versions these, |
17 | | -but you can easily add other versions if you need that |
18 | | -- 1.20.1, fabric, lexforge |
19 | | -- 1.20.4, fabric, neoforge |
20 | | -- 1.21.1, fabric, neoforge |
21 | | -- 1.21.3, fabric, neoforge |
22 | | -- 1.21.4, fabric, neoforge |
| 26 | +## Build tools usage |
23 | 27 |
|
24 | 28 | To start current active version use runActive task |
25 | 29 |
|
26 | 30 | For testing all versions you can use chiseledRunAllClients, it runs all possible version and loader variants (in random(?) order) |
27 | 31 |
|
28 | 32 | Also template had publishing set up, you need to specify project id for modrinth and curseforge in gradle.properties, and tokens for these sites in local.properties (it is gitignored, check local.properties.example). After that use chiseledPublishMods task |
| 33 | + |
| 34 | +## Template usage |
| 35 | + |
| 36 | +Template already has some code setup: |
| 37 | +- common and platform specific entrypoints |
| 38 | +- ModPlatform interface for platform specific code |
| 39 | +- example config screen with mod menu integration |
| 40 | +- example mixin (clientside) |
| 41 | +- class for simple file IO |
| 42 | +- common entrypoint with logger, modid, ModPlatform object instance |
| 43 | +- en_us lang file |
0 commit comments