🎈 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>
This commit is contained in:
co-authored by
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
extremeheat
Copilot
extremeheat
parent
4931a8dadc
commit
e359900c40
@@ -6,7 +6,7 @@ module.exports = async ([mergedArtifactURL], helpers) => {
|
||||
owner: 'PrismarineJS',
|
||||
repo: 'minecraft-data',
|
||||
workflow: 'handle-mcpc-generator.yml',
|
||||
branch: 'main',
|
||||
branch: 'master',
|
||||
inputs: {
|
||||
versions: JSON.stringify(require('../../versions.json')),
|
||||
mergedArtifactURL,
|
||||
|
||||
@@ -104,6 +104,8 @@ jobs:
|
||||
path: artifacts/*
|
||||
if-no-files-found: error
|
||||
|
||||
- run: cat "$GITHUB_EVENT_PATH"
|
||||
|
||||
- name: Sending artifacts to minecraft-data
|
||||
# Check if PR starts with marker
|
||||
if: startsWith(github.event.pull_request.title, env.MARKER)
|
||||
|
||||
Reference in New Issue
Block a user