← 输入框|github.com|刷新
Skip to content

fix: shulker canBeOpened check, and place containers more safely - #354

Merged
beanbag44 merged 2 commits into
lambda-client:1.21.11from
blocksimus:fix-shulker-lid-check
Oct 22, 2026
Merged

beanbag44 merged 2 commits into
lambda-client:1.21.11from
blocksimus:fix-shulker-lid-check

Conversation

@blocksimus

Copy link
Copy Markdown
Contributor

Description

The lid check added the box's position twice and looked inside the box instead of above the lid, so it never found anything in the way and boxes got placed where they couldn't open. Checks the same way the client does now.

Containers could also get placed out over water or lava, so breaking them again dropped them where they'd float off or burn. Spots now need something under them that a falling block would land on (FallingBlock.canFallThrough), so slabs, stairs and carpets still count.

The lid check added the box's position twice and looked inside the box
instead of above the lid, so it never found anything in the way and
boxes got placed where they couldn't open. Uses vanilla's check now.
Containers could get placed out over water or lava, so breaking them
again dropped them where they'd float off or burn. Spots now need
something under them that a falling block would land on.
@github-project-automation github-project-automation Bot moved this to Backlog in Kanban Oct 22, 2026
@beanbag44
beanbag44 merged commit 0817c16 into lambda-client:1.21.11 Oct 22, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Kanban Oct 22, 2026
@blocksimus
blocksimus deleted the fix-shulker-lid-check branch October 22, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants