Skip to content

Scattered shards doesn't provide registries when serializing components #30

@MattiDragon

Description

@MattiDragon

Registries must be provided through RegistryOps when serializing item components, or else some things might not save. In vanilla the primairly applies to enchantments, but for mods more important components can also be affected. Specifically, its impossible to customize the mecha from plastar, as all of our components rely on dynamic registries to function. Most places where scattered shards deals with nbt should have access to registries (client code can always get it through MinecraftClient.world).

Pls fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions