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
Update paperweight 1.20.4 - isOpaque does not exist (anymore) #2629
Conversation
@@ -75,7 +66,7 @@ public boolean isFullCube() { | |||
|
|||
@Override | |||
public boolean isOpaque() { | |||
return blockState.isOpaque(); | |||
return blockState.canOcclude(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!canOcclude()
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, the same was present in 1.20.4-R0.1-20240106.182028-62
- which is kinda weird as therefor isSolid == isTranslucent == isOpaque lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I'm dumb - didn't invert in isTranslucent
Presumably there's nothing paper-specific here? |
I'm not really testing with Spigot tbf - will take a look later via testing and looking through the source. |
Overview
Closes #2604
Fixes #2607
Tested via #solidspread pattern and #liquid mask. Seems to work.
Submitter Checklist
@since TODO
.