Skip to content

Commit

Permalink
Add centered player models
Browse files Browse the repository at this point in the history
  • Loading branch information
emortaldev committed Aug 28, 2024
1 parent 59748cf commit fbc2718
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 1 deletion.
37 changes: 37 additions & 0 deletions pack/assets/minecraft/models/custom/entities/player/2dhead.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"credit": "Made with Blockbench",
"parent": "builtin/entity",
"textures": {
"particle": "block/soul_sand"
},
"gui_light": "front",
"display": {
"thirdperson_righthand": {
"rotation": [45, 45, 0],
"translation": [0, 3, 0],
"scale": [0.5, 0.5, 0.5]
},
"thirdperson_lefthand": {
"rotation": [45, 45, 0],
"translation": [0, 3, 0],
"scale": [0.5, 0.5, 0.5]
},
"firstperson_lefthand": {
"rotation": [70, 180, 0],
"translation": [-6, 3, 29.5],
"scale": [0, 0, 0]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"translation": [0, 7, 0],
"scale": [1.7, 1.7, 1.7]
},
"fixed": {
"rotation": [0, 180, 0],
"translation": [0, 4, 0]
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":"builtin/entity","display":{"thirdperson_righthand":{"rotation":[0,0,0],"translation":[0,3.75,0],"scale":[0.9375,0.9375,0.9375]}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":"builtin/entity","display":{"thirdperson_righthand":{"rotation":[0,0,0],"translation":[0,5.62500,0],"scale":[0.46875,1.40625,0.46875]}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":"builtin/entity","display":{"thirdperson_righthand":{"rotation":[0,0,0],"translation":[0,5.62500,0],"scale":[0.46875,1.40625,0.46875]}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":"builtin/entity","display":{"thirdperson_righthand":{"rotation":[0,0,0],"translation":[0,5.62500,0],"scale":[0.46875,1.40625,0.46875]}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":"builtin/entity","display":{"thirdperson_righthand":{"rotation":[0,0,0],"translation":[0,5.62500,0],"scale":[0.46875,1.40625,0.46875]}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":"builtin/entity","display":{"thirdperson_righthand":{"rotation":[0,0,0],"translation":[5.125,0,0],"scale":[0.3515625,1.40625,0.46875]}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"parent":"builtin/entity","display":{"thirdperson_righthand":{"rotation":[0,0,0],"translation":[-5.125,0,0],"scale":[0.3515625,1.40625,0.46875]}}}
11 changes: 10 additions & 1 deletion pack/assets/minecraft/models/item/player_head.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@
{"predicate":{"custom_model_data":5},"model":"custom/entities/player/right_leg"},
{"predicate":{"custom_model_data":6},"model":"custom/entities/player/left_leg"},
{"predicate":{"custom_model_data":7},"model":"custom/entities/player/slim_right"},
{"predicate":{"custom_model_data":8},"model":"custom/entities/player/slim_left"}]}
{"predicate":{"custom_model_data":8},"model":"custom/entities/player/slim_left"},
{"predicate":{"custom_model_data":9},"model":"custom/entities/player/phys/phys_head"},
{"predicate":{"custom_model_data":10},"model":"custom/entities/player/phys/phys_right_arm"},
{"predicate":{"custom_model_data":11},"model":"custom/entities/player/phys/phys_left_arm"},
{"predicate":{"custom_model_data":12},"model":"custom/entities/player/phys/phys_right_leg"},
{"predicate":{"custom_model_data":13},"model":"custom/entities/player/phys/phys_left_leg"},
{"predicate":{"custom_model_data":14},"model":"custom/entities/player/phys/phys_slim_right"},
{"predicate":{"custom_model_data":15},"model":"custom/entities/player/phys/phys_slim_left"},
{"predicate":{"custom_model_data":16},"model":"custom/entities/player/2dhead"}
]}

0 comments on commit fbc2718

Please sign in to comment.