Skip to content

Fix BlockType occlusion check#13828

Open
ryoji-ikeda wants to merge 1 commit intoPaperMC:mainfrom
ryoji-ikeda:fix-blocktype-is-occluding
Open

Fix BlockType occlusion check#13828
ryoji-ikeda wants to merge 1 commit intoPaperMC:mainfrom
ryoji-ikeda:fix-blocktype-is-occluding

Conversation

@ryoji-ikeda
Copy link
Copy Markdown

@ryoji-ikeda ryoji-ikeda commented Apr 26, 2026

Fixes #13790

BlockType#isOccluding() now matches BlockData#isOccluding() by using BlockState#canOcclude() instead of the redstone-conductor predicate.

@ryoji-ikeda ryoji-ikeda requested a review from a team as a code owner April 26, 2026 17:20
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Apr 26, 2026
@masmc05
Copy link
Copy Markdown
Contributor

masmc05 commented Apr 26, 2026

As mentioned in the issue breaking existing behaviour is would definitely break a lot of plugin behaviour, at the very least create the new 2 methods and deprecate the old one with redirection to a new one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

BlockType#isOccluding is incorrectly handled

2 participants