Skip to content

Commit d821fd8

Browse files
committed
Fixed model handling so that models render properly in the hand
for real this time....
1 parent edf39ea commit d821fd8

File tree

9 files changed

+228
-201
lines changed

9 files changed

+228
-201
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ yarn_mappings=1.16.3+build.47
77
loader_version=0.10.3+build.211
88
reach_entity_attributes_version=1.0.1
99
# Mod Properties
10-
mod_version=1.1.5
10+
mod_version=1.1.5b
1111
maven_group=chronosacaria
1212
archives_base_name=mcdw
1313
# Dependencies
Lines changed: 38 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,40 @@
11
{
2-
"credit": "Made by SeaOfPixels",
3-
"parent": "item/generated",
4-
"textures": {
5-
"layer0": "mcdw:item/dagger_dagger"
6-
},
7-
"gui_light": "front",
8-
"display": {
9-
"gui": {
10-
"rotation": [ 0, 0, 0 ],
11-
"translation": [ 0, 0, 0 ],
12-
"scale":[ 1, 1, 1 ]
13-
},
14-
"ground": {
15-
"translation": [ 0, 2, 0 ],
16-
"scale": [ 0.5, 0.5, 0.5 ]
17-
},
18-
"head": {
19-
"rotation": [ 0, 0, 0 ],
20-
"translation": [ 0, 0, 0],
21-
"scale":[ 5, 5, 5 ]
22-
},
23-
"thirdperson_righthand": {
24-
"rotation": [ 0, 90, 55 ],
25-
"translation": [ 0, 4.0, 2.0 ],
26-
"scale": [ 0.85, 0.85, 0.85 ]
27-
},
28-
"thirdperson_lefthand": {
29-
"rotation": [ 180, -90, -55 ],
30-
"translation": [ 0, -8.0, 1.5 ],
31-
"scale": [ 0.85, 0.85, 0.85 ]
32-
},
33-
"firstperson_righthand": {
34-
"rotation": [ 0, -90, 25 ],
35-
"translation": [ 1.13, 3.2, 1.13 ],
36-
"scale": [ 0.68, 0.68, 0.68 ]
37-
},
38-
"firstperson_lefthand": {
39-
"rotation": [ 0, 90, -25 ],
40-
"translation": [ 1.13, 3.2, 1.13 ],
41-
"scale": [ 0.68, 0.68, 0.68 ]
42-
},
43-
"fixed": {
44-
"rotation": [ 0, 180, 0 ],
45-
"scale": [ 1, 1, 1 ]
46-
}
47-
}
2+
"credit": "Made with Blockbench",
3+
"parent": "item/generated",
4+
"textures": {
5+
"layer0": "mcdw:item/dagger_dagger"
6+
},
7+
"gui_light": "front",
8+
"display": {
9+
"thirdperson_righthand": {
10+
"rotation": [0, -90, 40],
11+
"translation": [0, 4, 2],
12+
"scale": [0.85, 0.85, 0.85]
13+
},
14+
"thirdperson_lefthand": {
15+
"rotation": [-180, 90, 140],
16+
"translation": [0, 4, 2],
17+
"scale": [0.85, 0.85, 0.85]
18+
},
19+
"firstperson_righthand": {
20+
"rotation": [0, -90, 25],
21+
"translation": [1.13, 3.2, 1.13],
22+
"scale": [0.68, 0.68, 0.68]
23+
},
24+
"firstperson_lefthand": {
25+
"rotation": [0, 90, -25],
26+
"translation": [1.13, 3.2, 1.13],
27+
"scale": [0.68, 0.68, 0.68]
28+
},
29+
"ground": {
30+
"translation": [0, 2, 0],
31+
"scale": [0.5, 0.5, 0.5]
32+
},
33+
"head": {
34+
"scale": [5, 5, 5]
35+
},
36+
"fixed": {
37+
"rotation": [0, 180, 0]
38+
}
39+
}
4840
}

src/main/resources/assets/mcdw/models/item/dagger_eternal_knife.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,29 @@
44
"textures": {
55
"layer0": "mcdw:item/dagger_eternal_knife"
66
},
7-
"gui_light": "front"
7+
"gui_light": "front",
8+
"display": {
9+
"thirdperson_righthand": {
10+
"rotation": [0, -90, 40],
11+
"translation": [0, 4, 2]
12+
},
13+
"thirdperson_lefthand": {
14+
"rotation": [-180, 90, 140],
15+
"translation": [0, 4, 2]
16+
},
17+
"firstperson_righthand": {
18+
"rotation": [0, -90, 25],
19+
"translation": [1.13, 3.2, 1.13],
20+
"scale": [0.68, 0.68, 0.68]
21+
},
22+
"firstperson_lefthand": {
23+
"rotation": [0, 90, -25],
24+
"translation": [1.13, 3.2, 1.13],
25+
"scale": [0.68, 0.68, 0.68]
26+
},
27+
"ground": {
28+
"translation": [0, 2.25, 0],
29+
"scale": [0.68, 0.68, 0.68]
30+
}
31+
}
832
}
Lines changed: 43 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,45 @@
11
{
2-
"parent": "item/generated",
3-
"textures": {
4-
"layer0": "mcdw:item/sword_broadsword"
5-
},
6-
"gui_light": "front",
7-
"display": {
8-
"gui": {
9-
"rotation": [ 0, 0, 0 ],
10-
"translation": [ -0.4, -0.4, 0 ],
11-
"scale":[ 1.3, 1.3, 3 ]
12-
},
13-
"ground": {
14-
"translation": [ 0, 2, 0 ],
15-
"scale": [ 1, 1, 0.5 ]
16-
},
17-
"head": {
18-
"rotation": [ 0, 0, 0 ],
19-
"translation": [ 0, 0, 0],
20-
"scale":[ 5, 5, 5 ]
21-
},
22-
"thirdperson_righthand": {
23-
"rotation": [ 180, 90, 55 ],
24-
"translation": [ 0, -9.0, 0.5 ],
25-
"scale": [ 1.70, 1.70, 0.85 ]
26-
},
27-
"thirdperson_lefthand": {
28-
"rotation": [ 180, -90, -55 ],
29-
"translation": [ 0, -9.0, 0.5 ],
30-
"scale": [ 1.70, 1.70, 0.85 ]
31-
},
32-
"firstperson_righthand": {
33-
"rotation": [ 0, -90, 25 ],
34-
"translation": [ 1.13, 3.2, 1.13 ],
35-
"scale": [ 1.36, 1.36, 0.68 ]
36-
},
37-
"firstperson_lefthand": {
38-
"rotation": [ 0, 90, -25 ],
39-
"translation": [ 1.13, 3.2, 1.13 ],
40-
"scale": [ 1.36, 1.36, 0.68 ]
41-
},
42-
"fixed": {
43-
"rotation": [ 0, 180, 0 ],
44-
"scale": [ 2, 2, 1 ]
45-
}
46-
}
2+
"credit": "Made with Blockbench",
3+
"parent": "item/generated",
4+
"textures": {
5+
"layer0": "mcdw:item/sword_broadsword"
6+
},
7+
"gui_light": "front",
8+
"display": {
9+
"thirdperson_righthand": {
10+
"rotation": [0, 90, 55],
11+
"translation": [0, 5.25, 2.5],
12+
"scale": [1.7, 1.7, 0.85]
13+
},
14+
"thirdperson_lefthand": {
15+
"rotation": [0, -90, -55],
16+
"translation": [0, 5.25, 2.5],
17+
"scale": [1.7, 1.7, 0.85]
18+
},
19+
"firstperson_righthand": {
20+
"rotation": [0, -90, 25],
21+
"translation": [1.13, 3.2, 1.13],
22+
"scale": [1.36, 1.36, 0.68]
23+
},
24+
"firstperson_lefthand": {
25+
"rotation": [0, 90, -25],
26+
"translation": [1.13, 3.2, 1.13],
27+
"scale": [1.36, 1.36, 0.68]
28+
},
29+
"ground": {
30+
"translation": [0, 2, 0],
31+
"scale": [1, 1, 0.5]
32+
},
33+
"gui": {
34+
"translation": [-0.4, -0.4, 0],
35+
"scale": [1.3, 1.3, 3]
36+
},
37+
"head": {
38+
"scale": [5, 5, 5]
39+
},
40+
"fixed": {
41+
"rotation": [0, 180, 0],
42+
"scale": [2, 2, 1]
43+
}
44+
}
4745
}
Lines changed: 43 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,45 @@
11
{
2-
"credit": "Made by SeaOfPixels",
3-
"parent": "item/generated",
4-
"textures": {
5-
"layer0": "mcdw:item/sword_dark_katana"
6-
},
7-
"gui_light": "front",
8-
"display": {
9-
"gui": {
10-
"rotation": [ 0, 0, 0 ],
11-
"translation": [ -1, -1, 0 ],
12-
"scale":[ 1.75, 1.75, 1 ]
13-
},
14-
"ground": {
15-
"translation": [ 0, 2, 0 ],
16-
"scale": [ 1, 1, 0.5 ]
17-
},
18-
"head": {
19-
"rotation": [ 0, 0, 0 ],
20-
"translation": [ 0, 0, 0],
21-
"scale":[ 5, 5, 5 ]
22-
},
23-
"thirdperson_righthand": {
24-
"rotation": [ 180, 90, 55 ],
25-
"translation": [ 0, -8.0, 1.25 ],
26-
"scale": [ 1.70, 1.70, 0.85 ]
27-
},
28-
"thirdperson_lefthand": {
29-
"rotation": [ 180, -90, -55 ],
30-
"translation": [ 0, -8.0, 1.25 ],
31-
"scale": [ 1.70, 1.70, 0.85 ]
32-
},
33-
"firstperson_righthand": {
34-
"rotation": [ 0, -90, 25 ],
35-
"translation": [ 1.13, 3.2, 1.13 ],
36-
"scale": [ 1.36, 1.36, 0.68 ]
37-
},
38-
"firstperson_lefthand": {
39-
"rotation": [ 0, 90, -25 ],
40-
"translation": [ 1.13, 3.2, 1.13 ],
41-
"scale": [ 1.36, 1.36, 0.68 ]
42-
},
43-
"fixed": {
44-
"rotation": [ 0, 180, 0 ],
45-
"scale": [ 2, 2, 1 ]
46-
}
47-
}
2+
"credit": "Made with Blockbench",
3+
"parent": "item/generated",
4+
"textures": {
5+
"layer0": "mcdw:item/sword_dark_katana"
6+
},
7+
"gui_light": "front",
8+
"display": {
9+
"thirdperson_righthand": {
10+
"rotation": [0, -90, 45],
11+
"translation": [0, 3.75, 1.75],
12+
"scale": [1.7, 1.7, 0.85]
13+
},
14+
"thirdperson_lefthand": {
15+
"rotation": [0, 90, -45],
16+
"translation": [0, 3.75, 1.75],
17+
"scale": [1.7, 1.7, 0.85]
18+
},
19+
"firstperson_righthand": {
20+
"rotation": [0, -90, 25],
21+
"translation": [1.13, 3.2, 1.13],
22+
"scale": [1.36, 1.36, 0.68]
23+
},
24+
"firstperson_lefthand": {
25+
"rotation": [0, 90, -25],
26+
"translation": [1.13, 3.2, 1.13],
27+
"scale": [1.36, 1.36, 0.68]
28+
},
29+
"ground": {
30+
"translation": [0, 2, 0],
31+
"scale": [1, 1, 0.5]
32+
},
33+
"gui": {
34+
"translation": [-1, -0.25, 0],
35+
"scale": [1.6, 1.6, 1]
36+
},
37+
"head": {
38+
"scale": [5, 5, 5]
39+
},
40+
"fixed": {
41+
"rotation": [0, 180, 0],
42+
"scale": [2, 2, 1]
43+
}
44+
}
4845
}
Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
{
2+
"credit": "Made with Blockbench",
23
"parent": "item/generated",
34
"textures": {
4-
"layer0": "mcdw:item/sword_diamond_sword_var",
5-
"particle": "mcdw:item/sword_diamond_sword_var"
5+
"particle": "mcdw:item/sword_diamond_sword_var",
6+
"layer0": "mcdw:item/sword_diamond_sword_var"
67
},
7-
"gui_light": "front"
8+
"gui_light": "front",
9+
"display": {
10+
"thirdperson_righthand": {
11+
"rotation": [0, 90, 47],
12+
"translation": [0, 6, 2.5]
13+
},
14+
"thirdperson_lefthand": {
15+
"rotation": [0, 90, -40],
16+
"translation": [0, 6, 2.5]
17+
}
18+
}
819
}
Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
{
2+
"credit": "Made with Blockbench",
23
"parent": "item/generated",
34
"textures": {
4-
"layer0": "mcdw:item/sword_iron_sword_var",
5-
"particle": "mcdw:item/sword_iron_sword_var"
5+
"particle": "mcdw:item/sword_iron_sword_var",
6+
"layer0": "mcdw:item/sword_iron_sword_var"
67
},
7-
"gui_light": "front"
8+
"gui_light": "front",
9+
"display": {
10+
"thirdperson_righthand": {
11+
"rotation": [0, 90, 55],
12+
"translation": [0, 4.75, 2.5]
13+
},
14+
"thirdperson_lefthand": {
15+
"rotation": [0, 90, -40],
16+
"translation": [0, 4.75, 2.5]
17+
}
18+
}
819
}

0 commit comments

Comments
 (0)