Skip to content

fix: packaged items should batch pattern packets like staff casting does#1027

Merged
object-Object merged 3 commits intoFallingColors:mainfrom
pythonmcpi:fix_artifact_packet_spam
Apr 13, 2026
Merged

fix: packaged items should batch pattern packets like staff casting does#1027
object-Object merged 3 commits intoFallingColors:mainfrom
pythonmcpi:fix_artifact_packet_spam

Conversation

@pythonmcpi
Copy link
Copy Markdown
Contributor

Previous behavior:
Casting with a packaged item results in the server sending one packet per evaluated pattern, causing network lag

Fixed behavior:
Casting with a packaged item will batch the patterns in a set and send it all in one packet at the end, like how the StaffCastEnv already does.

Closes #1026

@pythonmcpi pythonmcpi force-pushed the fix_artifact_packet_spam branch from eb5d87b to 5a54b86 Compare April 12, 2026 20:54
Copy link
Copy Markdown
Member

@object-Object object-Object left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM! Just a possible cleanup and a place where a comment would be useful

@pythonmcpi pythonmcpi force-pushed the fix_artifact_packet_spam branch from 0b5b4d5 to 90763b6 Compare April 13, 2026 03:59
@object-Object object-Object enabled auto-merge April 13, 2026 04:05
@object-Object object-Object added this pull request to the merge queue Apr 13, 2026
Merged via the queue into FallingColors:main with commit 724c36b Apr 13, 2026
8 checks passed
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Hex Casting Apr 13, 2026
@pythonmcpi pythonmcpi deleted the fix_artifact_packet_spam branch April 13, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

Is this necessary to send the same hex twice for packaged hex item casting

2 participants