From de539d0e1d0b35fda34dede1ae2584f6fba59fe4 Mon Sep 17 00:00:00 2001 From: XeKr <987820727@qq.com> Date: Wed, 10 Apr 2024 11:44:12 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9C=A8=E8=B4=A8=E7=BA=A4=E7=BB=B4?= =?UTF-8?q?=E5=92=8C=E9=94=A4=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../anvilcraft/models/item/anvil_hammer.json | 111 ++++++++++++++++++ .../anvilcraft/textures/item/anvil_hammer.png | Bin 0 -> 291 bytes .../assets/anvilcraft/textures/item/ruby.png | Bin 244 -> 242 bytes .../anvilcraft/textures/item/sapphire.png | Bin 242 -> 249 bytes .../assets/anvilcraft/textures/item/topaz.png | Bin 232 -> 236 bytes .../anvilcraft/textures/item/wood_fiber.png | Bin 0 -> 254 bytes 6 files changed, 111 insertions(+) create mode 100644 common/src/main/resources/assets/anvilcraft/models/item/anvil_hammer.json create mode 100644 common/src/main/resources/assets/anvilcraft/textures/item/anvil_hammer.png create mode 100644 common/src/main/resources/assets/anvilcraft/textures/item/wood_fiber.png diff --git a/common/src/main/resources/assets/anvilcraft/models/item/anvil_hammer.json b/common/src/main/resources/assets/anvilcraft/models/item/anvil_hammer.json new file mode 100644 index 000000000..b76041458 --- /dev/null +++ b/common/src/main/resources/assets/anvilcraft/models/item/anvil_hammer.json @@ -0,0 +1,111 @@ +{ + "credit": "Made by XeKr with Blockbench", + "textures": { + "0": "anvilcraft:item/anvil_hammer", + "particle": "anvilcraft:item/anvil_hammer" + }, + "elements": [ + { + "from": [7, 1, 7], + "to": [9, 13, 9], + "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "east": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "south": {"uv": [14, 4, 16, 16], "texture": "#0"}, + "west": {"uv": [14, 4, 16, 16], "texture": "#0"} + } + }, + { + "from": [6.5, 15, 6.5], + "to": [9.5, 16, 9.5], + "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [13, 0, 16, 1], "texture": "#0"}, + "south": {"uv": [13, 0, 16, 1], "texture": "#0"}, + "up": {"uv": [13, 0, 16, 3], "texture": "#0"} + } + }, + { + "from": [9.5, 11, 5], + "to": [11.5, 17, 11], + "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [0, 14, 6, 16], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 8, 6, 14], "rotation": 180, "texture": "#0"}, + "south": {"uv": [0, 14, 6, 16], "rotation": 270, "texture": "#0"}, + "west": {"uv": [0, 8, 6, 14], "texture": "#0"}, + "up": {"uv": [0, 14, 6, 16], "rotation": 270, "texture": "#0"}, + "down": {"uv": [0, 14, 6, 16], "rotation": 270, "texture": "#0"} + } + }, + { + "from": [3.5, 11.5, 4], + "to": [6.5, 16.5, 12], + "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [1, 5, 6, 8], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 8, 5], "rotation": 180, "texture": "#0"}, + "south": {"uv": [2, 5, 7, 8], "rotation": 270, "texture": "#0"}, + "west": {"uv": [0, 0, 8, 5], "texture": "#0"}, + "up": {"uv": [0, 5, 8, 8], "rotation": 270, "texture": "#0"}, + "down": {"uv": [0, 5, 8, 8], "rotation": 270, "texture": "#0"} + } + }, + { + "from": [6.5, 13, 6], + "to": [9.5, 15, 10], + "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [6, 13, 8, 16], "rotation": 90, "texture": "#0"}, + "south": {"uv": [6, 13, 8, 16], "rotation": 270, "texture": "#0"}, + "up": {"uv": [6, 13, 10, 16], "rotation": 270, "texture": "#0"}, + "down": {"uv": [6, 13, 10, 16], "rotation": 270, "texture": "#0"} + } + }, + { + "from": [6, -1, 6], + "to": [10, 1, 10], + "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [6, 13, 10, 15], "rotation": 180, "texture": "#0"}, + "east": {"uv": [6, 13, 10, 15], "rotation": 180, "texture": "#0"}, + "south": {"uv": [6, 15, 10, 13], "texture": "#0"}, + "west": {"uv": [6, 15, 10, 13], "texture": "#0"}, + "up": {"uv": [1, 9, 5, 13], "rotation": 270, "texture": "#0"}, + "down": {"uv": [1, 9, 5, 13], "rotation": 270, "texture": "#0"} + } + } + ], + "gui_light": "front", + "display": { + "thirdperson_righthand": { + "rotation": [0, 90, 45], + "translation": [0, 2.5, 1.75] + }, + "thirdperson_lefthand": { + "rotation": [0, -90, -45], + "translation": [0, 2.5, 1.75] + }, + "firstperson_righthand": { + "rotation": [0, 90, 25], + "translation": [1.75, 1.6, 0.8], + "scale": [0.68, 0.68, 0.68] + }, + "firstperson_lefthand": { + "rotation": [0, -90, -25], + "translation": [1.75, 1.6, 0.8], + "scale": [0.68, 0.68, 0.68] + }, + "ground": { + "scale": [0.5, 0.5, 0.5] + }, + "gui": { + "rotation": [180, -45, 180] + }, + "head": { + "rotation": [0, 90, -45], + "translation": [0, 6.5, -0.5] + } + } +} \ No newline at end of file diff --git a/common/src/main/resources/assets/anvilcraft/textures/item/anvil_hammer.png b/common/src/main/resources/assets/anvilcraft/textures/item/anvil_hammer.png new file mode 100644 index 0000000000000000000000000000000000000000..a5b6fecc818f3c05afbdbe99488de60b30b9c8c8 GIT binary patch literal 291 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!WQl7;NpOBzNqJ&XDuZK6ep0G} zXKrG8YEWuoN@d~6R2!fotpJ}8*I5A;21cgWs-wGIbv3l~Rz^D=%Jw-?5|*BsVQy(- z@95&=7Z4d8161DX_4zcA;wuUA3;vG`7+eqBIRTU@^>lFzskjx=7b(=Bz~kKPwXpm9 z{&leq$NxR`oyBt5C-m&Q9mxVdGa^&eB9SvJST>ERuH*j+O;7clXS(c)vVkE9 z3=6e6Sw%ktePt=!+0-}`%hYG#+hAG+eKIHJF}%wba!(yTfRdDiv+`} XNnF+IzRe5-I)K5`)z4*}Q$iB}4j69a literal 0 HcmV?d00001 diff --git a/common/src/main/resources/assets/anvilcraft/textures/item/ruby.png b/common/src/main/resources/assets/anvilcraft/textures/item/ruby.png index 3b4f86a4679f28093145bdfc803e08844542134e..ae83f832d677796ead783f9a9a9200d99f3c21c2 100644 GIT binary patch delta 151 zcmV;I0BHa80rCNmP9Nmc$hssZ(M~?!s*%`tUR@9)auq9)7cKw*0OxTmcad!vZCFV} zK~#9!T+d4q05JpvP=fB<|HNae%aikryt}PCi`_BiMIdx+ErY6)OM$0Cbbx@sVv9Z(2!2 zK~#9!WY0+wz#s@jQ3RUy{wEHpIAPdW|1B(#evOQmtUxiIKtX^TvYXf^FR-CeVekni z)Cj}|WdFblL%tQ5=Jl;!|znHBZeD7DOR2nHeN*7amdo003}D?=g{W7<6ArL_t(| z+H}v`3cxT315mHY{{M@o6uUBL-aNDz<@rS}z{&xns@b9jikP{ZbAyVi<^atF6+^~= z0-3(SQ!^7z9ME3|O3+Klm@V}l)eNzVMN`C4Jz|aby diff --git a/common/src/main/resources/assets/anvilcraft/textures/item/topaz.png b/common/src/main/resources/assets/anvilcraft/textures/item/topaz.png index e7597150a5cab97b696ca91d9db5e2adc378bc2c..133753533e27bdef2952c050b674d33ff4f5340f 100644 GIT binary patch delta 142 zcmV;90CE550qg;gQ5^d8g7Do@(2gczEe?)E7`|f~|Ns90006DXkGGL+7-v#RL_t(| z+I-L94!|%3Mp1l4-~WkcGFi#8`_D<6Kzl^rpxF!R5zQwH9!M402543 wh7E sVBA(A0Er8_lN?KZPxsmFxzZ!R0AJb$N`h)i%K!iX07*qoM6N<$f_qUq%>V!Z diff --git a/common/src/main/resources/assets/anvilcraft/textures/item/wood_fiber.png b/common/src/main/resources/assets/anvilcraft/textures/item/wood_fiber.png new file mode 100644 index 0000000000000000000000000000000000000000..1f6cb42d76636d8905d05c2a946d86f8964768fc GIT binary patch literal 254 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!WQl7;NpOBzNqJ&XDuZK6ep0G} zXKrG8YEWuoN@d~6R2!fo(Ey(i*Teg&x{5+i-kGvtL2;&^jfcJlQ07$Or#v9VUJ~RN z{2vS$q`aBkfI>N*E{-7;w_^G|`B)4&m<@0I{6D!pRLZnnBlJkejo(x5wx-Ccdu&&D z%yO4=$t{k#jOG`vEQ;v!DQx9+FXEI`?0+cImG*S=P3Iu46B{0JPD%Bn+a literal 0 HcmV?d00001 From 8d4b642310a9fa714797409a9a4905705196a5cd Mon Sep 17 00:00:00 2001 From: XeKr <987820727@qq.com> Date: Wed, 10 Apr 2024 12:17:40 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=94=A4=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../anvilcraft/models/item/anvil_hammer.json | 80 ++++++++++++------ .../anvilcraft/textures/item/anvil_hammer.png | Bin 291 -> 293 bytes 2 files changed, 56 insertions(+), 24 deletions(-) diff --git a/common/src/main/resources/assets/anvilcraft/models/item/anvil_hammer.json b/common/src/main/resources/assets/anvilcraft/models/item/anvil_hammer.json index b76041458..70b2e0c39 100644 --- a/common/src/main/resources/assets/anvilcraft/models/item/anvil_hammer.json +++ b/common/src/main/resources/assets/anvilcraft/models/item/anvil_hammer.json @@ -6,8 +6,8 @@ }, "elements": [ { - "from": [7, 1, 7], - "to": [9, 13, 9], + "from": [7, 0, 7], + "to": [9, 12, 9], "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, "faces": { "north": {"uv": [14, 4, 16, 16], "texture": "#0"}, @@ -17,13 +17,40 @@ } }, { - "from": [6.5, 15, 6.5], - "to": [9.5, 16, 9.5], + "from": [7, 13, 5.5], + "to": [9, 15, 10.5], "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, "faces": { - "north": {"uv": [13, 0, 16, 1], "texture": "#0"}, - "south": {"uv": [13, 0, 16, 1], "texture": "#0"}, - "up": {"uv": [13, 0, 16, 3], "texture": "#0"} + "north": {"uv": [12, 0, 14, 2], "rotation": 180, "texture": "#0"}, + "east": {"uv": [12, 2, 14, 7], "rotation": 270, "texture": "#0"}, + "south": {"uv": [12, 0, 14, 2], "texture": "#0"}, + "west": {"uv": [12, 2, 14, 7], "rotation": 90, "texture": "#0"}, + "up": {"uv": [12, 2, 14, 7], "rotation": 180, "texture": "#0"}, + "down": {"uv": [12, 2, 14, 7], "texture": "#0"} + } + }, + { + "from": [7, 16, 7], + "to": [9, 17, 9], + "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [12, 2, 14, 3], "rotation": 180, "texture": "#0"}, + "east": {"uv": [12, 2, 14, 3], "texture": "#0"}, + "south": {"uv": [12, 2, 14, 3], "texture": "#0"}, + "west": {"uv": [12, 2, 14, 3], "texture": "#0"}, + "up": {"uv": [12, 0, 14, 2], "rotation": 180, "texture": "#0"} + } + }, + { + "from": [7, -3, 7], + "to": [9, -2, 9], + "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [12, 2, 14, 3], "rotation": 180, "texture": "#0"}, + "east": {"uv": [12, 2, 14, 3], "texture": "#0"}, + "south": {"uv": [12, 2, 14, 3], "texture": "#0"}, + "west": {"uv": [12, 2, 14, 3], "texture": "#0"}, + "down": {"uv": [12, 0, 14, 2], "texture": "#0"} } }, { @@ -40,32 +67,32 @@ } }, { - "from": [3.5, 11.5, 4], - "to": [6.5, 16.5, 12], + "from": [3.5, 10, 5.5], + "to": [6.5, 18, 10.5], "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, "faces": { - "north": {"uv": [1, 5, 6, 8], "rotation": 90, "texture": "#0"}, - "east": {"uv": [0, 0, 8, 5], "rotation": 180, "texture": "#0"}, - "south": {"uv": [2, 5, 7, 8], "rotation": 270, "texture": "#0"}, - "west": {"uv": [0, 0, 8, 5], "texture": "#0"}, - "up": {"uv": [0, 5, 8, 8], "rotation": 270, "texture": "#0"}, - "down": {"uv": [0, 5, 8, 8], "rotation": 270, "texture": "#0"} + "north": {"uv": [0, 5, 8, 8], "rotation": 90, "texture": "#0"}, + "east": {"uv": [0, 0, 8, 5], "rotation": 90, "texture": "#0"}, + "south": {"uv": [0, 5, 8, 8], "rotation": 270, "texture": "#0"}, + "west": {"uv": [0, 0, 8, 5], "rotation": 90, "texture": "#0"}, + "up": {"uv": [1, 5, 6, 8], "rotation": 270, "texture": "#0"}, + "down": {"uv": [2, 5, 7, 8], "rotation": 270, "texture": "#0"} } }, { - "from": [6.5, 13, 6], - "to": [9.5, 15, 10], + "from": [6.5, 12, 6.5], + "to": [9.5, 16, 9.5], "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, "faces": { - "north": {"uv": [6, 13, 8, 16], "rotation": 90, "texture": "#0"}, - "south": {"uv": [6, 13, 8, 16], "rotation": 270, "texture": "#0"}, - "up": {"uv": [6, 13, 10, 16], "rotation": 270, "texture": "#0"}, - "down": {"uv": [6, 13, 10, 16], "rotation": 270, "texture": "#0"} + "north": {"uv": [6, 13, 10, 16], "rotation": 90, "texture": "#0"}, + "south": {"uv": [6, 13, 10, 16], "rotation": 270, "texture": "#0"}, + "up": {"uv": [7, 13, 10, 16], "rotation": 270, "texture": "#0"}, + "down": {"uv": [7, 13, 10, 16], "rotation": 270, "texture": "#0"} } }, { - "from": [6, -1, 6], - "to": [10, 1, 10], + "from": [6, -2, 6], + "to": [10, 0, 10], "rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]}, "faces": { "north": {"uv": [6, 13, 10, 15], "rotation": 180, "texture": "#0"}, @@ -101,11 +128,16 @@ "scale": [0.5, 0.5, 0.5] }, "gui": { - "rotation": [180, -45, 180] + "rotation": [180, -45, 180], + "translation": [0, -0.75, 0], + "scale": [0.8, 0.8, 0.8] }, "head": { "rotation": [0, 90, -45], "translation": [0, 6.5, -0.5] + }, + "fixed": { + "translation": [-1.25, -1.25, 0] } } } \ No newline at end of file diff --git a/common/src/main/resources/assets/anvilcraft/textures/item/anvil_hammer.png b/common/src/main/resources/assets/anvilcraft/textures/item/anvil_hammer.png index a5b6fecc818f3c05afbdbe99488de60b30b9c8c8..e0ae60c387279ce30b46ae3e9d2fd5d061e384bb 100644 GIT binary patch delta 198 zcmV;%06G7o0;K|wPA=AaTQD*;i$yIcDlWonOqx(Q$aGezTS8}PXg4`LKS4xHPEc7} zTmS$7XCdE2k$fG0cS%G+RCwAn;tgw{c70rfz21xDI=RLxT_K_z5roaC!4!H AsQ>@~ delta 196 zcmV;#06YJs0;2+uPA-~II509b)_YrvMJ*^QE~#5W!fQ;(bXI3+Xg4`LKS4xHPEc7} zTmS$7g-Y|wk$fG0bxA})RCwA{j#(0bAPhr;N}-GQzph0000