Skip to content

Commit

Permalink
Adding blast resistance (#384)
Browse files Browse the repository at this point in the history
* Added blast resistance data for blocks in 1.12

* Added resistance data for all major versions

* Added 0 resistance where there is no value for consistency

* Fixed some (<1.16)/a lot (1.16) of blast resistance and hardness values

* Made hardness a little bit more... consistent
  • Loading branch information
Moondarker committed Mar 23, 2021
1 parent 23d242b commit 0491b2a
Show file tree
Hide file tree
Showing 12 changed files with 14,431 additions and 9,651 deletions.
642 changes: 428 additions & 214 deletions data/pc/1.10/blocks.json

Large diffs are not rendered by default.

708 changes: 472 additions & 236 deletions data/pc/1.11/blocks.json

Large diffs are not rendered by default.

10,192 changes: 5,223 additions & 4,969 deletions data/pc/1.12/blocks.json

Large diffs are not rendered by default.

1,794 changes: 1,196 additions & 598 deletions data/pc/1.13.2/blocks.json

Large diffs are not rendered by default.

2,028 changes: 1,352 additions & 676 deletions data/pc/1.14.4/blocks.json

Large diffs are not rendered by default.

2,040 changes: 1,360 additions & 680 deletions data/pc/1.15.2/blocks.json

Large diffs are not rendered by default.

2,453 changes: 1,608 additions & 845 deletions data/pc/1.16.1/blocks.json

Large diffs are not rendered by default.

2,453 changes: 1,608 additions & 845 deletions data/pc/1.16.2/blocks.json

Large diffs are not rendered by default.

528 changes: 352 additions & 176 deletions data/pc/1.7/blocks.json

Large diffs are not rendered by default.

594 changes: 396 additions & 198 deletions data/pc/1.8/blocks.json

Large diffs are not rendered by default.

642 changes: 428 additions & 214 deletions data/pc/1.9/blocks.json

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions schemas/blocks_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,14 @@
"description": "Default state id",
"type": "integer",
"minimum": 0
},
"resistance": {
"description": "Blast resistance",
"type": [
"number",
"null"
],
"minimum": -1
}
},
"required": [
Expand Down

0 comments on commit 0491b2a

Please sign in to comment.