Commit cd62fe0
committed
Port to Minecraft 1.21.1 Fabric with known issues
This commit attempts to update the project to Minecraft 1.21.1 and associated Fabric dependencies.
Key changes include:
- Updated Minecraft, Fabric Loader, Fabric API, Yarn mappings, and Fabric Kotlin Language versions in build files.
- Refactored ModItems.kt to use Item.Settings().component() instead of FabricItemSettings.
- Fixed various compilation errors related to Identifier instantiation and data provider constructor changes.
- Updated Recipe.kt to use RecipeExporter.
Known Issues:
- src/main/kotlin/team/hpk/yjas/datagen/LootTable.kt has unresolved compilation errors related to Kotlin/Java interop with Minecraft's registry interfaces. I had trouble fixing or reverting this file due to inconsistent file system behavior. The file is likely in a non-compiling state.
- The overall stability of file modifications was questionable, so I can't fully guarantee the exact state of all files.
Further manual review and fixing, especially for LootTable.kt, is required.1 parent b83f24c commit cd62fe0
1 file changed
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
0 commit comments