Skip to content

[Bug] Villagers with enchant lose them on new update #69

@DereC4

Description

@DereC4

When loading villagers in the latest update, the enchant is lost for some reason

[18:14:25] [Server thread/WARN]: [ca.spottedleaf.moonrise.patches.chunk_system.level.entity.ChunkEntitySlices] [ca.spottedleaf.moonrise.patches.chunk_system.level.entity.ChunkEntitySlices] Serialization errors:
chunk@[2, -165].Entities[3]: Failed to decode value '{Recipes:[{buy:{count:9,id:"minecraft:emerald"},demand:-1152,maxUses:12,priceMultiplier:0.05f,sell:{count:1,id:"minecraft:bookshelf"}},{buy:{count:8,id:"minecraft:emerald"},buyB:{count:1,id:"minecraft:book"},demand:-1152,maxUses:12,priceMultiplier:0.2f,sell:{components:{"minecraft:stored_enchantments":{"magnetic:magnetic":1}},count:1,id:"minecraft:enchanted_book"}}]}' from field 'Offers': Failed to get element magnetic:magnetic missed input: {"magnetic:magnetic":1} missed input: {"minecraft:stored_enchantments":{"magnetic:magnetic":1}}

Relevant log files I found

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions