Skip to content

Fix Bauble Case and Flower Bag voiding - #29

Open
Aedial wants to merge 1 commit into
TeamDimensional:1.12from
Aedial:1.12
Open

Aedial wants to merge 1 commit into
TeamDimensional:1.12from
Aedial:1.12

Conversation

@Aedial

@Aedial Aedial commented Sep 7, 2026

Copy link
Copy Markdown

Migrate Bauble Case and Flower Bag data back from Capabilities to NBT. According to VazkiiMods#1894 and VazkiiMods#2709, the Caps are the issue, which seems to be the case.

Testing it is simple :

  • Launch a dedicated server + client
  • Fill a Bauble Case / Flower Pouch
  • Enter the Creative Inventory menu
  • See the content disappear (before patch) / stay (after patch)

The NBT migration piggy-backs off the older NBT format, so the old migration to Caps is not needed anymore. Migration from Caps is handled the first time, as the item is initialized without NBT. There doesn't seem to be any loss during migration and after restart. Due to piggy-packing off the old format, back-migration is also seamless.

@Wizzerinus Wizzerinus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, will be merging for 376

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