From cf79fb904f0d74d4a279c71d0466e4dd55c0d90d Mon Sep 17 00:00:00 2001 From: XeKr <987820727@qq.com> Date: Fri, 8 Mar 2024 16:00:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=A3=81=E9=93=81=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E8=B4=B4=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../block/ferrite_core_magnet_block.json | 46 ++++++++---------- .../models/block/hollow_magnet_block.json | 41 ++++++++-------- .../anvilcraft/models/block/magnet_block.json | 17 ++++--- .../textures/block/magnet_block_bottom.png | Bin 308 -> 455 bytes .../textures/block/magnet_block_side.png | Bin 301 -> 427 bytes .../textures/block/magnet_block_top.png | Bin 309 -> 456 bytes .../anvilcraft/textures/item/magnet_ingot.png | Bin 319 -> 438 bytes 7 files changed, 51 insertions(+), 53 deletions(-) diff --git a/src/main/resources/assets/anvilcraft/models/block/ferrite_core_magnet_block.json b/src/main/resources/assets/anvilcraft/models/block/ferrite_core_magnet_block.json index c79c4f7b4..b89e5d06c 100644 --- a/src/main/resources/assets/anvilcraft/models/block/ferrite_core_magnet_block.json +++ b/src/main/resources/assets/anvilcraft/models/block/ferrite_core_magnet_block.json @@ -1,65 +1,61 @@ { + "credit": "Made by XeKr with Blockbench", "parent": "minecraft:block/block", "textures": { "particle": "anvilcraft:block/magnet_block_side", "side": "anvilcraft:block/magnet_block_side", "top": "anvilcraft:block/magnet_block_top", "bottom": "anvilcraft:block/magnet_block_bottom", - "core": "minecraft:block/iron_block" + "core": "block/iron_block" }, "elements": [ { "from": [0, 0, 0], "to": [11, 16, 5], "faces": { - "north": {"uv": [5, 0, 16, 16], "texture": "#side"}, - "south": {"uv": [0, 0, 11, 16], "texture": "#side"}, - "west": {"uv": [0, 0, 5, 16], "texture": "#side"}, - "up": {"uv": [0, 0, 11, 5], "texture": "#top"}, - "down": {"uv": [16, 0, 5, 5], "texture": "#bottom"} + "north": {"uv": [5, 0, 16, 16], "texture": "#side", "cullface": "north"}, + "west": {"uv": [0, 0, 5, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 0, 11, 5], "texture": "#top", "cullface": "up"}, + "down": {"uv": [16, 0, 5, 5], "texture": "#bottom", "cullface": "down"} } }, { "from": [11, 0, 0], "to": [16, 16, 11], "faces": { - "north": {"uv": [0, 0, 5, 16], "texture": "#side"}, - "east": {"uv": [5, 0, 16, 16], "texture": "#side"}, - "west": {"uv": [0, 0, 11, 16], "texture": "#side"}, - "up": {"uv": [11, 0, 16, 11], "texture": "#top"}, - "down": {"uv": [5, 11, 0, 0], "texture": "#bottom"} + "north": {"uv": [0, 0, 5, 16], "texture": "#side", "cullface": "north"}, + "east": {"uv": [5, 0, 16, 16], "texture": "#side", "cullface": "east"}, + "up": {"uv": [11, 0, 16, 11], "texture": "#top", "cullface": "up"}, + "down": {"uv": [5, 11, 0, 0], "texture": "#bottom", "cullface": "down"} } }, { "from": [0, 0, 5], "to": [5, 16, 16], "faces": { - "east": {"uv": [0, 0, 10, 16], "texture": "#side"}, - "south": {"uv": [0, 0, 5, 16], "texture": "#side"}, - "west": {"uv": [6, 0, 16, 16], "texture": "#side"}, - "up": {"uv": [0, 5, 5, 16], "texture": "#top"}, - "down": {"uv": [16, 16, 11, 5], "texture": "#bottom"} + "south": {"uv": [0, 0, 5, 16], "texture": "#side", "cullface": "south"}, + "west": {"uv": [5, 0, 16, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 5, 5, 16], "texture": "#top", "cullface": "up"}, + "down": {"uv": [16, 16, 11, 5], "texture": "#bottom", "cullface": "down"} } }, { "from": [5, 0, 11], "to": [16, 16, 16], "faces": { - "north": {"uv": [0, 0, 11, 16], "texture": "#side"}, - "east": {"uv": [0, 0, 5, 16], "texture": "#side"}, - "south": {"uv": [5, 0, 16, 16], "texture": "#side"}, - "up": {"uv": [5, 11, 16, 16], "texture": "#top"}, - "down": {"uv": [11, 16, 0, 11], "texture": "#bottom"} + "east": {"uv": [0, 0, 5, 16], "texture": "#side", "cullface": "east"}, + "south": {"uv": [5, 0, 16, 16], "texture": "#side", "cullface": "south"}, + "up": {"uv": [5, 11, 16, 16], "texture": "#top", "cullface": "up"}, + "down": {"uv": [11, 16, 0, 11], "texture": "#bottom", "cullface": "down"} } }, { "from": [5, 0, 5], "to": [11, 16, 11], "faces": { - "up": {"uv": [5, 5, 11, 11], "texture": "#core"}, - "down": {"uv": [5, 5, 11, 11], "texture": "#core"} + "up": {"uv": [5, 5, 11, 11], "texture": "#core", "cullface": "up"}, + "down": {"uv": [5, 5, 11, 11], "texture": "#core", "cullface": "down"} } } - ], - "display": {} + ] } \ No newline at end of file diff --git a/src/main/resources/assets/anvilcraft/models/block/hollow_magnet_block.json b/src/main/resources/assets/anvilcraft/models/block/hollow_magnet_block.json index d6516d84e..1704f3232 100644 --- a/src/main/resources/assets/anvilcraft/models/block/hollow_magnet_block.json +++ b/src/main/resources/assets/anvilcraft/models/block/hollow_magnet_block.json @@ -1,4 +1,5 @@ { + "credit": "Made by XeKr with Blockbench", "parent": "minecraft:block/block", "textures": { "particle": "anvilcraft:block/magnet_block_side", @@ -11,44 +12,44 @@ "from": [0, 0, 0], "to": [11, 16, 5], "faces": { - "north": {"uv": [5, 0, 16, 16], "texture": "#side"}, - "south": {"uv": [0, 0, 11, 16], "texture": "#side"}, - "west": {"uv": [0, 0, 5, 16], "texture": "#side"}, - "up": {"uv": [0, 0, 11, 5], "texture": "#top"}, - "down": {"uv": [16, 0, 5, 5], "texture": "#bottom"} + "north": {"uv": [5, 0, 16, 16], "texture": "#side", "cullface": "north"}, + "south": {"uv": [16, 0, 5, 16], "texture": "#side"}, + "west": {"uv": [0, 0, 5, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 0, 11, 5], "texture": "#top", "cullface": "up"}, + "down": {"uv": [16, 0, 5, 5], "texture": "#bottom", "cullface": "down"} } }, { "from": [11, 0, 0], "to": [16, 16, 11], "faces": { - "north": {"uv": [0, 0, 5, 16], "texture": "#side"}, - "east": {"uv": [5, 0, 16, 16], "texture": "#side"}, - "west": {"uv": [0, 0, 11, 16], "texture": "#side"}, - "up": {"uv": [11, 0, 16, 11], "texture": "#top"}, - "down": {"uv": [5, 11, 0, 0], "texture": "#bottom"} + "north": {"uv": [0, 0, 5, 16], "texture": "#side", "cullface": "north"}, + "east": {"uv": [5, 0, 16, 16], "texture": "#side", "cullface": "east"}, + "west": {"uv": [16, 0, 5, 16], "texture": "#side"}, + "up": {"uv": [11, 0, 16, 11], "texture": "#top", "cullface": "up"}, + "down": {"uv": [5, 11, 0, 0], "texture": "#bottom", "cullface": "down"} } }, { "from": [0, 0, 5], "to": [5, 16, 16], "faces": { - "east": {"uv": [0, 0, 10, 16], "texture": "#side"}, - "south": {"uv": [0, 0, 5, 16], "texture": "#side"}, - "west": {"uv": [6, 0, 16, 16], "texture": "#side"}, - "up": {"uv": [0, 5, 5, 16], "texture": "#top"}, - "down": {"uv": [16, 16, 11, 5], "texture": "#bottom"} + "east": {"uv": [16, 0, 5, 16], "texture": "#side"}, + "south": {"uv": [0, 0, 5, 16], "texture": "#side", "cullface": "south"}, + "west": {"uv": [5, 0, 16, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 5, 5, 16], "texture": "#top", "cullface": "up"}, + "down": {"uv": [16, 16, 11, 5], "texture": "#bottom", "cullface": "down"} } }, { "from": [5, 0, 11], "to": [16, 16, 16], "faces": { - "north": {"uv": [0, 0, 11, 16], "texture": "#side"}, - "east": {"uv": [0, 0, 5, 16], "texture": "#side"}, - "south": {"uv": [5, 0, 16, 16], "texture": "#side"}, - "up": {"uv": [5, 11, 16, 16], "texture": "#top"}, - "down": {"uv": [11, 16, 0, 11], "texture": "#bottom"} + "north": {"uv": [16, 0, 5, 16], "texture": "#side"}, + "east": {"uv": [0, 0, 5, 16], "texture": "#side", "cullface": "east"}, + "south": {"uv": [5, 0, 16, 16], "texture": "#side", "cullface": "south"}, + "up": {"uv": [5, 11, 16, 16], "texture": "#top", "cullface": "up"}, + "down": {"uv": [11, 16, 0, 11], "texture": "#bottom", "cullface": "down"} } } ] diff --git a/src/main/resources/assets/anvilcraft/models/block/magnet_block.json b/src/main/resources/assets/anvilcraft/models/block/magnet_block.json index 6136b9747..30127822e 100644 --- a/src/main/resources/assets/anvilcraft/models/block/magnet_block.json +++ b/src/main/resources/assets/anvilcraft/models/block/magnet_block.json @@ -1,22 +1,23 @@ { + "credit": "Made by XeKr with Blockbench", "parent": "minecraft:block/block", "textures": { + "particle": "anvilcraft:block/magnet_block_side", "side": "anvilcraft:block/magnet_block_side", "top": "anvilcraft:block/magnet_block_top", - "bottom": "anvilcraft:block/magnet_block_bottom", - "particle": "anvilcraft:block/magnet_block_side" + "bottom": "anvilcraft:block/magnet_block_bottom" }, "elements": [ { "from": [0, 0, 0], "to": [16, 16, 16], "faces": { - "north": {"uv": [0, 0, 16, 16], "texture": "#side"}, - "east": {"uv": [0, 0, 16, 16], "texture": "#side"}, - "south": {"uv": [0, 0, 16, 16], "texture": "#side"}, - "west": {"uv": [0, 0, 16, 16], "texture": "#side"}, - "up": {"uv": [0, 0, 16, 16], "texture": "#top"}, - "down": {"uv": [0, 0, 16, 16], "texture": "#bottom"} + "north": {"uv": [0, 0, 16, 16], "texture": "#side", "cullface": "north"}, + "east": {"uv": [0, 0, 16, 16], "texture": "#side", "cullface": "east"}, + "south": {"uv": [0, 0, 16, 16], "texture": "#side", "cullface": "south"}, + "west": {"uv": [0, 0, 16, 16], "texture": "#side", "cullface": "west"}, + "up": {"uv": [0, 0, 16, 16], "texture": "#top", "cullface": "up"}, + "down": {"uv": [0, 0, 16, 16], "texture": "#bottom", "cullface": "down"} } } ] diff --git a/src/main/resources/assets/anvilcraft/textures/block/magnet_block_bottom.png b/src/main/resources/assets/anvilcraft/textures/block/magnet_block_bottom.png index ad5272ab818aeb18080f7bee65438184ed2097f6..32fbfce610707368af4accb4b143cc0904dac249 100644 GIT binary patch delta 392 zcmV;30eAki0>=Z8Nq>+~OjJckSZFaG9!^S2Ffuh&W^_C;G9D;8IW{;XFhWUAQz$Af za8plFL_;(=KQb>dLrqsOI74S?Xi!>XE;2Y(T3=mgZewU_Dlt4FDK#c4F*PbIX=Gz; zU0N+8C0kclUQka#K0rK7T`D(8Vn;+bKubJ9M_F53F+Wj6IDa`eIXpQeBtR-DRXaI9 zK}1YWP)IN@RI(z00002ZNklh33_wwkqPkV$nr`-9?ti;b&Jq~R!v`@x zf3w#28!;lrSYR%;PbrU^8Da>Lb=U`tvU34#(XT>s&lD zhH=ozxvBWzJu(C5b>Zq$Am?lC|N5Q_;J&9TF>_*B#Xd(EzDKeh$I;d$Uv)qZLN mf|tjK$5N^F2cbU!1^{#X9;WUxw|M{n002ovPDHLkU;%=>HlDEn delta 243 zcmV@WoT>CPpEbP005dvL_t(|+9Zz24FDkw1H(;D_uuUrtsh8C3>i82 z6L1_H7uZ2DTko06hP;zRYhTVP<=8AM7u^XMQane#+>U8&;f5!L(7y#7N3f1?dmNx(Z002ovPDHLkV1gK-WlR77 diff --git a/src/main/resources/assets/anvilcraft/textures/block/magnet_block_side.png b/src/main/resources/assets/anvilcraft/textures/block/magnet_block_side.png index cbe970125730a4662bb114b79a5e463e62b024e3..c79935e4d29a18ed7d47178aa80007ce82c6c970 100644 GIT binary patch delta 363 zcmV-x0hIo&0;>a%Nq>P*OjJcVHaIaJ9z-}fK|Vk*GBr6QBtuPCFgQarIX_8GQ&nbk zGA}V%TU;(OI8I7S9w<6dL_=w0V`ph-Y+YJgS63)1E>&7zEh8mfP)|@=V3iaUjP6A zz)3_wRCwALzynW+WP=ADlC<0S+kB6;y|ctzp8chrOg42%XxSot`jqj&beO!1^~#>9TAk#@uL6$002ov JPDHLkV1gwokDdSk delta 236 zcmVie^tcc9~J}f9Nq>+~OjJcYK}Q}aIxsRdFgQa=PE&AGPc%6{F&-W{BqUBsOHo8a zC@L;IF)~$VbVE&7IW{;hGB{pPPckntTUS?SX=rI=V{BboH7YDBF+5#pZYn1$Eh8mk zXlhVeV~^KA>}+O+h1B^T9Cm&&RHnlV*tEE@b8^-&F!o2 zb;_v$N(o`|^nY|tX$Hy|8)P`Vx0GB1&uLPx!!O}3HgSW;D8y&1bM)6msRfR^Io7#& zW-a5OlXG+N!Fyx}&g;U}r<7dpwg3BLEr7cYc4F05`|+iwpS{#BqV{7`5FDPTT#4Eb nCLlOHKD@R{?Y{{93ormwE*_=Nq;aDWoTBV58PGV}T>gy9HwWPfCiu-GNU@0ybiSeE#yUt=J%(`})Q6M?`9=+L?D5IVem zfU8-kOfo zyNjQfx22iI|G2o&sQ5#oqM>Oe1{Th7yu6-%!5Uh6avGvmhH`Q~egXE5E({C|Ek#?W z04d#x{bKe1aRP>=@45d1mGyYKIEGZ*iaCE$s98b4^&*>Kq1>WlJ!xXQe*S;&t?Jly zDt6D&o3HxNk3-A?)=H4qBQ68$;L2O#mmACk&3t6jP4#OBPl&6jqhD1`U3qGXyI+`d*iSD_d<{eFg@G8FNC*fs}AbkYDhB48X9d_6`S7y4KUhF{I*F&H0mj zhYdJf1LrK6XYk>~|N5K)w(`)mt2XUUXTI>y^b30fKf|#ZF8bP0l+XkKcVBf^