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

Implement 1.8 BWBlock and BWItem rendering #283

Merged
merged 1 commit into from
Apr 7, 2017
Merged

Conversation

ExE-Boss
Copy link
Member

@ExE-Boss ExE-Boss commented Mar 3, 2017

This PR implements backward rendering of Minecraft 1.8 Blocks and Items.

Depends on:

Completed:

  • Implement a MeshModel wrapper (BWBakedModel) for Minecraft's IBakedModel
    • Render correctly for Items
    • Render correctly for Blocks
  • Make 1.8 BWBakedModel parse according to VertexFormat.
  • Test

Split off from #252, partially implements #104

@ExE-Boss ExE-Boss added feature minecraft 1.8 Affects Minecraft 1.8.x wrappers labels Mar 3, 2017
@ExE-Boss ExE-Boss added this to the v0.1.0 milestone Mar 3, 2017
@ExE-Boss ExE-Boss self-assigned this Mar 3, 2017
@ExE-Boss ExE-Boss added the ready This is ready to be worked on label Mar 3, 2017
@ExE-Boss ExE-Boss requested a review from RX14 March 3, 2017 15:48
@ExE-Boss ExE-Boss mentioned this pull request Mar 3, 2017
14 tasks
@codecov-io
Copy link

codecov-io commented Mar 3, 2017

Codecov Report

Merging #283 into master will decrease coverage by 0.11%.
The diff coverage is 0%.

Impacted file tree graph

@@             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
Impacted Files Coverage Δ Complexity Δ
...core/wrapper/mc/forge/v18/wrapper/item/BWItem.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...r/mc/forge/v18/wrapper/block/backward/BWBlock.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...orge/v18/wrapper/render/backward/BWBakedModel.java 0% <0%> (ø) 0 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c87124b...4ff3d0b. Read the comment docs.

@ExE-Boss ExE-Boss force-pushed the bw-baked-model branch 5 times, most recently from a44f9df to 9407ada Compare March 3, 2017 18:50
@@ -71,17 +87,22 @@ public FWSmartModel() {
.stream()
.flatMap(
model -> {
if (model instanceof MeshModel) {
if (model instanceof BWBakedModel) {
return Stream.concat(((BWBakedModel) model).getGeneralQuads().stream(),
Copy link
Member Author

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.

@ExE-Boss ExE-Boss added in progress Pull requests that are not yet ready to be merged and issues that are being worked on. and removed ready This is ready to be worked on labels Mar 11, 2017
@ExE-Boss ExE-Boss added done Pull requests that are finished and are ready to be reviewed and merged and removed in progress Pull requests that are not yet ready to be merged and issues that are being worked on. labels Mar 26, 2017
@ExE-Boss ExE-Boss merged commit 0b77009 into master Apr 7, 2017
@ExE-Boss ExE-Boss deleted the bw-baked-model branch April 7, 2017 17:41
@ExE-Boss ExE-Boss removed the done Pull requests that are finished and are ready to be reviewed and merged label Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature minecraft 1.8 Affects Minecraft 1.8.x wrappers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants