Skip to content

NBT -> Component datafixer for updating existing 1.20 worlds to 1.21 #1214

Description

@Robotgiggle

Describe the feature

Currently, if you update a world that was using 1.20 hex to 1.21, anything stored in custom NBT tags (casting items, iota holders, phials, etc) will vanish. The data is actually all still there, since it gets moved into the minecraft:custom_data component when you update the world, but it's not accessible ingame since 1.21 hex expects all that stuff to be in its own custom components.

We should implement some kind of datafixer to check for the 1.20-era custom NBT in the custom_data component and move it into the appropriate 1.21-era components, so that people can update existing worlds without losing all their stored hexes and iotas.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions