Skip to content

Add Bedrock support for SmartPack 2.2.0 - #3

Merged
Crosis47 merged 2 commits into
masterfrom
codex/bedrock-support-2.2.0
Nov 20, 2026
Merged

Crosis47 merged 2 commits into
masterfrom
codex/bedrock-support-2.2.0

Conversation

@Crosis47

Copy link
Copy Markdown
Owner

Bedrock players can now set permanent exclusions with ordinary clicks and use the SmartPacker through a native action form. The SmartPacker form packs inventory or chest contents and toggles auto mode, with a chest-style fallback when the form is unavailable.

The exclusion menu announces final changes when they are applied. SmartPacker lore follows the current client and the player's saved auto-mode setting. Paper now advertises eligible /pack subcommands for Java and Bedrock autocomplete.

Bumps SmartPack to 2.2.0 and documents installation, permissions, and controls for both editions.

Validation

  • Maven clean verify passed against the Paper 1.21.11, 26.1.2, and 26.3 APIs.
  • The same 2.2.0 JAR passed the runtime probe on Paper 1.21.11 with Java 21 and Paper 26.1.2 and 26.3 with Java 25.
  • Paper 26.3 with Geyser-Spigot and Floodgate passed the form encoding and response checks.
  • In-game Bedrock testing during development confirmed permanent exclusions, deferred exclusion messages, and restored exclude autocomplete.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T14:49:30.082432Z 065cd73 Manual request
ℹ️ 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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7e6b79a13e

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +398 to +400
runSmartPackerAction(player, action, () -> {
Block target = getLookedAtBlock(player);
return Objects.equals(originalTarget, target) ? getChestBlockInventory(target) : null;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Validate chest access before packing through Bedrock actions

In SMART_PACKER_ITEM mode, a Bedrock player can select Pack Chest while looking at a locked chest and modify its contents without being able to open it. This callback retrieves the block inventory directly, and neither runSmartPackerAction nor useSmartPacker checks chest access beyond smartpack.chest. Previously, item-based chest packing required getOpenChestInventory(player), so the player first had to successfully open the chest; /pack chest is unavailable in this mode. Validate access before accepting the chest target in both the native form and fallback menu so the new interaction does not bypass that restriction.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

@codex Can a check be put in place on the menu?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

@codex review new changes

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 065cd73f33

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Crosis47
Crosis47 merged commit b6ba1b8 into master Nov 20, 2026
13 checks passed
@Crosis47
Crosis47 deleted the codex/bedrock-support-2.2.0 branch November 20, 2026 14:50
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