Skip to content

Fix Accessories mod items not being stored in graves (1.21.9/1.21.10)#215

Open
nnmrts wants to merge 1 commit into
Patbox:mainfrom
nnmrts:fix/accessories-compat-1.21.9
Open

Fix Accessories mod items not being stored in graves (1.21.9/1.21.10)#215
nnmrts wants to merge 1 commit into
Patbox:mainfrom
nnmrts:fix/accessories-compat-1.21.9

Conversation

@nnmrts

@nnmrts nnmrts commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Updates AccessoriesCompat for Accessories 1.4.x API compatibility:

  • Changed return to continue in the addToGrave() loop to prevent early exit when encountering empty slots
  • Removed call to slotType().dropRule() (removed in 1.4.x API)
  • Updated ExpandedSimpleContainer to ExpandedContainer (moved to impl.core)
  • Updated DropRule import (moved to api.events)
  • Updated build dependency to accessories-fabric:1.4.0-beta+1.21.10

Fixes #210

Would it be possible to create a 1.21.9 branch so this can be properly targeted? Otherwise, this PR serves as a reference for the backport.

Updates AccessoriesCompat for Accessories 1.4.x API compatibility:

- Changed `return` to `continue` in the addToGrave() loop to prevent
  early exit when encountering empty slots
- Removed call to slotType().dropRule() (removed in 1.4.x API)
- Updated ExpandedSimpleContainer to ExpandedContainer (moved to impl.core)
- Updated DropRule import (moved to api.events)
- Updated build dependency to accessories-fabric:1.4.0-beta+1.21.10

Fixes Patbox#210
@nnmrts nnmrts force-pushed the fix/accessories-compat-1.21.9 branch from 19bcc04 to ae2a152 Compare December 11, 2025 01:45
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.

Accesories/grave mod

1 participant