Skip to content

feat(item_stack): decode consumable component and hidden mob effects - #30

Merged
M0odPP merged 1 commit into
server-mainfrom
feat/item-use-consumable
Nov 26, 2026
Merged

M0odPP merged 1 commit into
server-mainfrom
feat/item-use-consumable

Conversation

@M0odPP

@M0odPP M0odPP commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Implements saved/wire/hash codecs for Consumable, ConsumeEffect, MobEffectSet, and EffectDetails (hidden_effect) with EffectFields<'hidden> borrowing and consistent MAX_DEPTH (512) enforcement across saved, wire, hashed, and skip codecs plus #tag and depth regression tests.

Refs andreypfau#117

How it was checked

  • ./scripts/hooks/run-checks lint (6/6: comments, parity, fmt, keys, crate-map, ecs-lint)
  • cargo clippy --locked -p mcrs_minecraft_item_stack -p mcrs_minecraft_predicate -p mcrs_minecraft_item_table -p mcrs_minecraft_item_tooltip --all-targets -- -D warnings
  • cargo test --locked -p mcrs_minecraft_item_stack -p mcrs_minecraft_predicate -p mcrs_minecraft_item_table -p mcrs_minecraft_item_tooltip
  • Fresh independent research Review: VERDICT: APPROVE (859 <= 1000 handwritten added lines)

Models

  • Coordinator: Gemini / Claude-class agent
  • Implementer & Reviewer: self + fresh research reviewer

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-26T23:18:10.979210Z
We couldn’t complete this review. Comment @codex review to try again.
9d6ae5e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@M0odPP
M0odPP merged commit e990b2c into server-main Nov 26, 2026
11 checks passed
@M0odPP
M0odPP deleted the feat/item-use-consumable branch November 26, 2026 23:42
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.

1 participant