-
Notifications
You must be signed in to change notification settings - Fork 23
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
Implement 1.8 BWBlock and BWItem rendering #283
Conversation
Codecov Report
@@ Coverage Diff @@
## master #283 +/- ##
============================================
- Coverage 13.49% 13.38% -0.12%
Complexity 711 711
============================================
Files 408 409 +1
Lines 12651 12757 +106
Branches 1337 1348 +11
============================================
Hits 1707 1707
- Misses 10828 10934 +106
Partials 116 116
Continue to review full report at Codecov.
|
a44f9df
to
9407ada
Compare
@@ -71,17 +87,22 @@ public FWSmartModel() { | |||
.stream() | |||
.flatMap( | |||
model -> { | |||
if (model instanceof MeshModel) { | |||
if (model instanceof BWBakedModel) { | |||
return Stream.concat(((BWBakedModel) model).getGeneralQuads().stream(), |
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.
Get rid of this bit, as BWBakedModel.clone()
returns an instance of MeshModel
and this bit doesn’t get called.
This PR implements backward rendering of Minecraft 1.8 Blocks and Items.
Depends on:
Completed:
MeshModel
wrapper (BWBakedModel
) for Minecraft'sIBakedModel
BWBakedModel
parse according toVertexFormat
.Split off from #252, partially implements #104