Closed ExE-Boss closed 6 years ago
Merging #310 into master will increase coverage by
0.44%
. The diff coverage is35.59%
.
@@ Coverage Diff @@
## master #310 +/- ##
============================================
+ Coverage 16.54% 16.99% +0.44%
- Complexity 960 965 +5
============================================
Files 416 416
Lines 13147 13165 +18
Branches 1383 1383
============================================
+ Hits 2175 2237 +62
+ Misses 10827 10782 -45
- Partials 145 146 +1
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
.../forge/v18/wrapper/block/forward/FWBlockSound.java | 0% <ø> (ø) |
0 <0> (ø) |
:arrow_down: |
.../forge/v17/wrapper/block/forward/FWBlockSound.java | 0% <ø> (ø) |
0 <0> (ø) |
:arrow_down: |
...r/mc/forge/v18/wrapper/block/backward/BWBlock.java | 0% <0%> (ø) |
0 <0> (ø) |
:arrow_down: |
...er/mc/forge/v17/wrapper/block/forward/FWBlock.java | 0% <0%> (ø) |
0 <0> (ø) |
:arrow_down: |
...forge/v17/wrapper/block/forward/ProxyMaterial.java | 0% <0%> (ø) |
0 <0> (ø) |
:arrow_down: |
src/main/java/nova/core/block/Block.java | 6.81% <0%> (ø) |
3 <0> (ø) |
:arrow_down: |
...er/mc/forge/v18/wrapper/block/forward/FWBlock.java | 0% <0%> (ø) |
0 <0> (ø) |
:arrow_down: |
...per/mc/forge/v17/wrapper/block/BlockConverter.java | 0% <0%> (ø) |
0 <0> (ø) |
:arrow_down: |
...per/mc/forge/v18/wrapper/block/BlockConverter.java | 0% <0%> (ø) |
0 <0> (ø) |
:arrow_down: |
...r/mc/forge/v17/wrapper/block/backward/BWBlock.java | 0% <0%> (ø) |
0 <0> (ø) |
:arrow_down: |
... and 5 more |
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 baf9cd1...d5b2d15. Read the comment docs.
This PR finishes the
BlockProperty
implementation.Changes:
BlockProperty
have 100% code coverage.BlockProperty
use lazily evaluated suppliers.BlockProperty.Resistance
indicate how many cubic meters of TNT are needed to explode the block (for reference: 1m³ of TNT = 1.654 tons of TNT⁽¹⁾).BlockProperty
features.