Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object type for patches? #445

Open
paradox460 opened this issue Jul 8, 2024 · 0 comments
Open

Object type for patches? #445

paradox460 opened this issue Jul 8, 2024 · 0 comments

Comments

@paradox460
Copy link

I've read across the docs, and can't seem to figure out how I could go about changing a config that expects an "object" (key-value pairs) in a reliable way.

Specifically, I'm looking to edit the paper config for $.entities.spawning.alt-item-despawn-rate.items. This is an object type, and the default configs helpfully include an example of cobblestone: 300. I would like to remove that, and then add my own key(s) and values as appropriate.

Adding the new values seems simple enough, just use a put operation. But removing the old value has stymied me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant