Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reverted design, tape measure, and bit bag rendering back to normal. * Chisels, wrenches, and saws now render the same as item/handheld, except at the scale of normal items and with slight tweaking of position. * Reduced code duplication by extracting matrix creation to a method. * Matched perspective model rendering to block.json (translation values in json files specify pixels, but are scaled to meters in ItemTransformVec3f$Deserializer.deserialize).
- Loading branch information
1 parent
2fcb485
commit 13c96ec
Showing
16 changed files
with
54 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/bit_bag.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"parent":"item/handheld", | ||
"parent":"item/generated", | ||
"textures": { | ||
"layer0":"chiselsandbits:items/bit_bag" | ||
} | ||
|
10 changes: 5 additions & 5 deletions
10
src/main/resources/assets/chiselsandbits/models/item/bitsaw_diamond.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/chisel_diamond.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/chisel_gold.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/chisel_iron.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/chisel_stone.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/mirrorprint.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/mirrorprint_written.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/negativeprint.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/negativeprint_written.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/positiveprint.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/positiveprint_written.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/tape_measure.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/resources/assets/chiselsandbits/models/item/tool.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parent": "item/handheld", | ||
"display": { | ||
"thirdperson_righthand": { | ||
"rotation": [ 0, -90, 55 ], | ||
"translation": [ 0, 3.5, 0.75 ], | ||
"scale": [ 0.55, 0.55, 0.55 ] | ||
}, | ||
"thirdperson_lefthand": { | ||
"rotation": [ 0, 90, -55 ], | ||
"translation": [ 0, 3.5, 0.75 ], | ||
"scale": [ 0.55, 0.55, 0.55 ] | ||
} | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/chiselsandbits/models/item/wrench_wood.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters