Customized vault not working (state_updating_resumes_at) [MC-268618]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Expected behavior
Customized vaults (with a custom loot table) from generated structures or placed jigsaws should be lootable (first time).
Observed/Actual behavior
When generating a structure or placing a jigsaw with a customized vaults players will be unable to loot them.
This seems to be related to the NBT server_data.state_updating_resumes_at as mentioned in the MC-268618 report.
Steps/models to reproduce
Create a structure with a vault that has a custom loot table.
Generate the structure or place it as a jigsaw in an existing world.
Attempt to loot the vault (for a first time)... this shouldn't work.
To fix the vault use the fill command to replace the vault with one that has server_data.state_updating_resumes_at set to 0.
After this looting the vault should work.
Plugin and Datapack List
Custom datapack with a structure that has vault with custom loot tables.
No plugins available.
Paper version
Any version since Trial Chambers (vaults) have been introduced.
Other
While this seems to be an issue for vanilla minecraft, having a solution for Paper servers would be very helpful.
See https://bugs.mojang.com/browse/MC-268618 for more details regarding the issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a custom datapack structure containing a vault with a custom loot table, then repeat using a jigsaw placement. Compare the vault NBT, especially server_data.state_updating_resumes_at, with the fill-command workaround; done means first-time looting works for both generated and placed vaults without manual replacement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100