Skip to content

Add ItemStackTemplate value to packetTest - #1549

Merged
u9g merged 1 commit into
masterfrom
fix/packettest-itemstacktemplate
Oct 20, 2026
Merged

u9g merged 1 commit into
masterfrom
fix/packettest-itemstacktemplate

Conversation

@u9g

@u9g u9g commented Oct 20, 2026

Copy link
Copy Markdown
Member

master's test (26.1) fails with No value for type ItemStackTemplate: 26.1 added the ItemStackTemplate type (used by SlotComponent, Particle, SlotDisplay and packet_advancements), and test/packetTest.js had no sample value for it. Every PR that runs 26.1 inherits this failure.

This adds a one-line value matching the type's shape (itemId, itemCount, component counts and empty component arrays).

Verified locally with npx mocha test/packetTest.js -g 26.1v: 228 passing / 1 failing before, 229 passing after. standard is clean.


Generated by Claude Code

26.1 introduced the ItemStackTemplate type (used by SlotComponent, Particle,
SlotDisplay and advancements), and packetTest had no value for it, failing
with 'No value for type ItemStackTemplate'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MY5J9XTnWK8ZsJTmxvi7vF
@u9g
u9g merged commit dacf62e into master Oct 20, 2026
34 checks passed
@u9g
u9g deleted the fix/packettest-itemstacktemplate branch October 20, 2026 23:13
arielvino added a commit to arielvino/node-minecraft-protocol that referenced this pull request Oct 25, 2026
Merge upstream PrismarineJS/node-minecraft-protocol master (PrismarineJS#1549) into iongolem (2026-10-25)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants