Skip to content

Unlocking Cost set as Item doesn't seem to work #219

Description

@kris19pr

Minecraft 1.21.10 and Universal Graves 3.9.1

When I configure the unlocking cost as presented on the configuration page the mod rewrites that part of the file making it look like this:

},
"interactions": {
"unlocking_cost": {
"type": "item",
"input": "minecraft:dirt",
"count": 1
},
"give_death_compass": false,
"enable_use_death_compass_to_open_gui": false,
"enable_click_to_open_gui": true,
"shift_and_use_quick_pickup": true,
"break_quick_pickup": true,
"allow_remote_protection_removal": true,
"allow_remote_breaking": true,
"allow_remote_unlocking": false
},

But while testing the grave shows the locked icon, the required item and quantity but it doesnt show the button to pay for it. It only shows the Destroy icon, which defeats the purpose of having to pay to unlock it, and the two arrows icons. I tried many times but no luck

Edit:
Setting the unlocking cost to levels doesn't work either

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions