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

Specify when loottable is removed for replenished #481

Conversation

lynxplay
Copy link
Contributor

@lynxplay lynxplay commented Sep 7, 2024

If auto replenished is enabled, stationary containers can be re-looted. When broken, usually by players, the loot is unpacked and the loottable is destroyed.

The commit expands the wording to also cover shulker boxes, which work a bit differently. In case a player breaks them, they are immediately looted and loose their replenishment ability. In case of a piston breaking them, they cannot unpack their loot table as no player exists in the context, so they only loose their loot table if they have been looted once before.

If auto replenished is enabled, stationary containers can be re-looted.
When broken, usually by players, the loot is unpacked and the loottable
is destroyed.

The commit expands the wording to also cover shulker boxes, which work a
bit differently. In case a player breaks them, they are immediately
looted and loose their replenishment ability. In case of a piston
breaking them, they cannot unpack their loot table as no player exists
in the context, so they only loose their loot table if they have been
looted once before.
Copy link

github-actions bot commented Sep 7, 2024

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
papermc-docs ✅ Ready (View Log) Visit Preview 31b4aeb

config-specs/paper/paper-world-defaults.yml Outdated Show resolved Hide resolved
config-specs/paper/paper-world-defaults.yml Outdated Show resolved Hide resolved
@zlataovce zlataovce merged commit 7d46be1 into PaperMC:main Sep 7, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants