Files
rom1504botGitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>extremeheatCopilotextremeheat
e359900c40 🎈 Add version 1.21.8 (#53)
* Add version 1.21.8

* send Change branch from 'main' to 'master'

* 🎈 Fix empty ingredients in 1.21.8 recipe generation by using display API correctly (#54)

* Initial plan

* Fix empty ingredients in 1.21.8 by using sl.getIngredients() instead of sl.display()

Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com>

* Update README.md

* Fix 1.21.8 shapeless recipe ingredients by using display API correctly

- Changed from trying to access sl.ingredients field (package-private) to using sl.display() properly
- Extract ingredients from ShapelessCraftingRecipeDisplay using SlotDisplay.resolveForFirstStack()
- Use SlotDisplayContext.fromLevel() to provide proper context for resolving items
- Successfully generates 295 shapeless recipes with proper ingredient arrays instead of empty arrays
- Tested with full data generation run - recipes.json now contains populated ingredients

Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com>

* Update build.yml

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com>
Co-authored-by: extremeheat <extreme@protonmail.ch>

* Rename AGENTS.md to copilot-instructions.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: extremeheat <extreme@protonmail.ch>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com>
2025-09-07 08:33:48 +02:00

26 lines
513 B
Groovy

import xyz.wagyourtail.unimined.internal.minecraft.MinecraftProvider
plugins {
id 'dg-mc-conventions'
}
unimined.minecraft {
version "1.21.8"
mappings {
mojmap()
devFallbackNamespace "mojmap"
}
customPatcher(new CustomOfficialFabricMinecraftTransformer(project, delegate as MinecraftProvider)) {
it.loader libs.versions.fabric.loader.get()
}
runs.config("server") {
javaVersion = JavaVersion.VERSION_21
}
defaultRemapJar = true
}