From e98d206c6a5278073d3e03b555280f051ef92865 Mon Sep 17 00:00:00 2001 From: XeKr <987820727@qq.com> Date: Wed, 19 Jun 2024 14:44:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E6=97=A5=E9=95=9C=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=88=86=E7=A6=BB=EF=BC=8C=E4=BF=AE=E6=94=B9=E9=97=A8=E6=A0=BC?= =?UTF-8?q?=E6=B5=B7=E7=BB=B5=E8=B4=B4=E5=9B=BE=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../models/block/heliostats_base.json | 36 ++++++++++++ .../models/block/heliostats_mirror.json | 36 ++++++++++++ .../models/block/menger_sponge.json | 55 +++++++++--------- .../textures/block/menger_sponge.png | Bin 235 -> 258 bytes .../textures/block/menger_sponge_inner.png | Bin 235 -> 258 bytes 5 files changed, 101 insertions(+), 26 deletions(-) create mode 100644 common/src/main/resources/assets/anvilcraft/models/block/heliostats_base.json create mode 100644 common/src/main/resources/assets/anvilcraft/models/block/heliostats_mirror.json diff --git a/common/src/main/resources/assets/anvilcraft/models/block/heliostats_base.json b/common/src/main/resources/assets/anvilcraft/models/block/heliostats_base.json new file mode 100644 index 000000000..b8e021ff5 --- /dev/null +++ b/common/src/main/resources/assets/anvilcraft/models/block/heliostats_base.json @@ -0,0 +1,36 @@ +{ + "credit": "Made by XeKr with Blockbench", + "parent": "minecraft:block/block", + "textures": { + "particle": "anvilcraft:block/heliostats_front", + "base": "anvilcraft:block/heliostats_base" + }, + "elements": [ + { + "from": [4, 0, 4], + "to": [12, 2, 12], + "rotation": {"angle": 0, "axis": "y", "origin": [4, 0, 4]}, + "faces": { + "north": {"uv": [0, 14, 8, 16], "texture": "#base"}, + "east": {"uv": [0, 14, 8, 16], "texture": "#base"}, + "south": {"uv": [0, 14, 8, 16], "texture": "#base"}, + "west": {"uv": [0, 14, 8, 16], "texture": "#base"}, + "up": {"uv": [0, 0, 8, 8], "texture": "#base"}, + "down": {"uv": [0, 0, 8, 8], "texture": "#base"} + } + }, + { + "from": [7, 2, 7], + "to": [9, 9.6, 9], + "rotation": {"angle": 0, "axis": "y", "origin": [7, 2, 7]}, + "faces": { + "north": {"uv": [14, 8, 16, 16], "texture": "#base"}, + "east": {"uv": [14, 8, 16, 16], "texture": "#base"}, + "south": {"uv": [14, 8, 16, 16], "texture": "#base"}, + "west": {"uv": [14, 8, 16, 16], "texture": "#base"}, + "up": {"uv": [14, 8, 16, 10], "texture": "#base"}, + "down": {"uv": [14, 14, 16, 16], "texture": "#base"} + } + } + ] +} \ No newline at end of file diff --git a/common/src/main/resources/assets/anvilcraft/models/block/heliostats_mirror.json b/common/src/main/resources/assets/anvilcraft/models/block/heliostats_mirror.json new file mode 100644 index 000000000..7ea452710 --- /dev/null +++ b/common/src/main/resources/assets/anvilcraft/models/block/heliostats_mirror.json @@ -0,0 +1,36 @@ +{ + "credit": "Made by XeKr with Blockbench", + "parent": "minecraft:block/block", + "textures": { + "particle": "anvilcraft:block/heliostats_front", + "front": "anvilcraft:block/heliostats_front", + "back": "anvilcraft:block/heliostats_back" + }, + "elements": [ + { + "from": [1, 10, 1], + "to": [15, 11, 15], + "rotation": {"angle": -22.5, "axis": "x", "origin": [8, 10, 8]}, + "faces": { + "north": {"uv": [1, 1, 15, 2], "texture": "#back"}, + "east": {"uv": [1, 1, 15, 2], "texture": "#back"}, + "south": {"uv": [1, 1, 15, 2], "texture": "#back"}, + "west": {"uv": [1, 1, 15, 2], "texture": "#back"}, + "up": {"uv": [1, 1, 15, 15], "texture": "#front"}, + "down": {"uv": [1, 1, 15, 15], "texture": "#back"} + } + }, + { + "from": [1, 9, 7], + "to": [15, 10, 9], + "rotation": {"angle": -22.5, "axis": "x", "origin": [8, 10, 8]}, + "faces": { + "north": {"uv": [1, 8, 15, 9], "texture": "#back"}, + "east": {"uv": [11, 1, 13, 2], "texture": "#back"}, + "south": {"uv": [1, 7, 15, 8], "texture": "#back"}, + "west": {"uv": [3, 1, 5, 2], "texture": "#back"}, + "down": {"uv": [1, 7, 15, 9], "texture": "#back"} + } + } + ] +} \ No newline at end of file diff --git a/common/src/main/resources/assets/anvilcraft/models/block/menger_sponge.json b/common/src/main/resources/assets/anvilcraft/models/block/menger_sponge.json index b72d34301..8b1161cbb 100644 --- a/common/src/main/resources/assets/anvilcraft/models/block/menger_sponge.json +++ b/common/src/main/resources/assets/anvilcraft/models/block/menger_sponge.json @@ -11,48 +11,51 @@ { "from": [0, 0, 0], "to": [16, 16, 16], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, "faces": { - "north": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "north"}, - "east": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "east"}, - "south": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "south"}, - "west": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "west"}, - "up": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "up"}, - "down": {"uv": [0, 0, 16, 16], "texture": "#0", "cullface": "down"} + "north": {"uv": [0, 0, 13.5, 13.5], "texture": "#0", "cullface": "north"}, + "east": {"uv": [0, 0, 13.5, 13.5], "texture": "#0", "cullface": "east"}, + "south": {"uv": [0, 0, 13.5, 13.5], "texture": "#0", "cullface": "south"}, + "west": {"uv": [0, 0, 13.5, 13.5], "texture": "#0", "cullface": "west"}, + "up": {"uv": [0, 0, 13.5, 13.5], "texture": "#0", "cullface": "up"}, + "down": {"uv": [0, 0, 13.5, 13.5], "texture": "#0", "cullface": "down"} } }, { "name": "cube inverted", - "from": [16, 10, 10], - "to": [0, 6, 6], + "from": [10.675, 16, 10.675], + "to": [5.325, 0, 5.325], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, "faces": { - "north": {"uv": [16, 10, 0, 6], "texture": "#1", "cullface": "south"}, - "south": {"uv": [16, 10, 0, 6], "texture": "#1", "cullface": "north"}, - "up": {"uv": [16, 10, 0, 6], "texture": "#1", "cullface": "down"}, - "down": {"uv": [16, 10, 0, 6], "texture": "#1", "cullface": "up"} + "north": {"uv": [9, 13.5, 4.5, 0], "texture": "#1", "cullface": "south"}, + "east": {"uv": [9, 13.5, 4.5, 0], "texture": "#1", "cullface": "west"}, + "south": {"uv": [9, 13.5, 4.5, 0], "texture": "#1", "cullface": "north"}, + "west": {"uv": [9, 13.5, 4.5, 0], "texture": "#1", "cullface": "east"} } }, { "name": "cube inverted", - "from": [10, 10, 16], - "to": [6, 6, 0], + "from": [16, 10.675, 10.675], + "to": [0, 5.325, 5.325], + "rotation": {"angle": 0, "axis": "z", "origin": [8, 8, 8]}, "faces": { - "east": {"uv": [16, 10, 0, 6], "texture": "#1", "cullface": "west"}, - "west": {"uv": [16, 10, 0, 6], "texture": "#1", "cullface": "east"}, - "up": {"uv": [10, 16, 6, 0], "texture": "#1", "cullface": "down"}, - "down": {"uv": [10, 16, 6, 0], "texture": "#1", "cullface": "up"} + "north": {"uv": [4.5, 13.5, 9, 0], "rotation": 270, "texture": "#1", "cullface": "south"}, + "south": {"uv": [9, 0, 4.5, 13.5], "rotation": 90, "texture": "#1", "cullface": "north"}, + "up": {"uv": [9, 0, 4.5, 13.5], "rotation": 90, "texture": "#1", "cullface": "east"}, + "down": {"uv": [9, 0, 4.5, 13.5], "rotation": 90, "texture": "#1", "cullface": "west"} } }, { "name": "cube inverted", - "from": [10, 16, 10], - "to": [6, 0, 6], + "from": [10.675, 10.675, 16], + "to": [5.325, 5.325, 0], + "rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]}, "faces": { - "north": {"uv": [10, 16, 6, 0], "texture": "#1", "cullface": "south"}, - "east": {"uv": [10, 16, 6, 0], "texture": "#1", "cullface": "west"}, - "south": {"uv": [10, 16, 6, 0], "texture": "#1", "cullface": "north"}, - "west": {"uv": [10, 16, 6, 0], "texture": "#1", "cullface": "east"} + "east": {"uv": [9, 0, 4.5, 13.5], "rotation": 90, "texture": "#1", "cullface": "north"}, + "west": {"uv": [4.5, 13.5, 9, 0], "rotation": 270, "texture": "#1", "cullface": "south"}, + "up": {"uv": [9, 13.5, 4.5, 0], "texture": "#1", "cullface": "east"}, + "down": {"uv": [4.5, 0, 9, 13.5], "rotation": 180, "texture": "#1", "cullface": "west"} } } - ], - "display": {} + ] } \ No newline at end of file diff --git a/common/src/main/resources/assets/anvilcraft/textures/block/menger_sponge.png b/common/src/main/resources/assets/anvilcraft/textures/block/menger_sponge.png index 0a0a24e1110717485e82121f81a0fe8bd04ed733..53fb8256268547313c5d6eeebdbf43dd1e803123 100644 GIT binary patch delta 228 zcmaFO*uERLtq!mDzgBeJ=Ea^HnQBk8_D8MJg)yqZd)tmI~ zYy8cP1TSCm2TGfs)fWU(Y$ZW{!T&*kVe|ea`+*`Qo-U3d6}PSgJ8~T`;JBRi|Nqm{ z6_cZuCL7#nV%Jo>n9!L0MfkvxP|d{E20L6n3C%j)t7(xxLu!kZSTb*rpcuz~ICCo!gyC*rLwVgL88c>aG;{s-1WiU$}b Yz2bi(bA9JGpaU2@UHx3vIVCg!02gFh%K!iX delta 205 zcmZo-dd;ZV8Q|y6%O%Cdz`(%k>ERLtqy<2jgBeI_=<)|oRMe=K4)6(ao!f6&SLVEG zu1jx|-Q`RE+t>KNdXs)=pD$3|g`7$CK#H>@$S?Rm6fgw)R|o+G13g_FLn>~~>2nl1 zpuoW#%=+kmyiUZiFLz|h3iz!LWr-xb^W)N-Cn*x-^Q4wB+2w-Xfmq`NDsoGJrZafD`njxgN@xNA42Dhw diff --git a/common/src/main/resources/assets/anvilcraft/textures/block/menger_sponge_inner.png b/common/src/main/resources/assets/anvilcraft/textures/block/menger_sponge_inner.png index 70b558e62be808914bfb105403651b1d7c5c5b7d..d6826393ebcb1b8be3e03e2645b633fd167ae8ee 100644 GIT binary patch delta 228 zcmaFO*uERLtq!mDzgBeJ=Ea^HnQBk8_D8MJg)zL<*uFN?x zO55B>FhAW4DBWjh<+2BSKyQbpBgvRVI!Uv9oY9_8W*x~X?Xx8Z_hhC@0TnpS5?zC<`cV|}UKG)(k z(Hsk<1&X=VMXbb@HXSh%-n2liTV=(94QyXOi7}Nt5pQh?`@eU^^Z$$TKd>HBJisvN X75^KV>pQ;z9l+q}>gTe~DWM4f+a6gB delta 205 zcmZo-dd;ZV8Q|y6%O%Cdz`(%k>ERLtqy<2jgBeI_=<)|oRMe=K4)6(a^>UFiHxdl- zQ*^Wut1EL(jMDCHvdd351FCz-(SHs|ah3%61^