Skip to content

Game crash because of "Can't access registry ResourceKey[minecraft:root / minecraft:enchantment]" #1

@NuruddinPlays

Description

@NuruddinPlays

Not sure whether it is a problem with this mod or just with how I'm doing things, but when I tried to create a new world, and a loot table modifier json file contains the #on_random_loot option for the enchant_with_levels/enchant_randomly functions, the game will crash as soon as the mod tries to load the loot table modifiers

Here's the crash report, debug.log and one of the json files I'm working with
https://gist.github.com/NuruddinPlays/2c30d6a942f32535ded8cee63d8daa25

I have tried both with and without the minecraft: namespace, and the game crashed both times
I have also tried removing the #on_random_loot option from the json files, and the game works fine, but the items won't have any enchantments

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