From 900b52a02cb6ba48e1ac128132a99ae7e73ed12b Mon Sep 17 00:00:00 2001 From: Carrie <122191047+careeoki@users.noreply.github.com> Date: Sun, 4 May 2025 04:34:17 -0600 Subject: [PATCH] Resin assets (#1383) * Resin assets * resin_block = .wood * Make resin block more frictiony --- assets/cubyz/blocks/resin.zig.zon | 22 ++++++++++++++++++ assets/cubyz/blocks/resin_block.zig.zon | 13 +++++++++++ assets/cubyz/blocks/textures/resin.png | Bin 0 -> 278 bytes assets/cubyz/blocks/textures/resin_block.png | Bin 0 -> 403 bytes .../textures/resin_block_reflectivity.png | Bin 0 -> 233 bytes assets/cubyz/items/textures/resin.png | Bin 0 -> 335 bytes assets/cubyz/recipes/special_recipes.zig.zon | 8 +++++++ 7 files changed, 43 insertions(+) create mode 100644 assets/cubyz/blocks/resin.zig.zon create mode 100644 assets/cubyz/blocks/resin_block.zig.zon create mode 100644 assets/cubyz/blocks/textures/resin.png create mode 100644 assets/cubyz/blocks/textures/resin_block.png create mode 100644 assets/cubyz/blocks/textures/resin_block_reflectivity.png create mode 100644 assets/cubyz/items/textures/resin.png diff --git a/assets/cubyz/blocks/resin.zig.zon b/assets/cubyz/blocks/resin.zig.zon new file mode 100644 index 000000000..82f50cefc --- /dev/null +++ b/assets/cubyz/blocks/resin.zig.zon @@ -0,0 +1,22 @@ +.{ + .tags = .{.wood}, + .blockHealth = 1, + .drops = .{ + .{.items = .{.auto}}, + }, + .rotation = .ore, + .model = "cubyz:cube", + .texture = "cubyz:resin", + .item = .{ + .texture = "resin.png", + .material = .{ + .density = 1.5, + .elasticity = 1, + .hardness = 1.5, + .textureRoughness = 0.1, + .colors = .{ + 0xff7e331f, 0xffa03d25, 0xffc34b27, 0xffdf682d, 0xfffc813a, + }, + }, + }, +} diff --git a/assets/cubyz/blocks/resin_block.zig.zon b/assets/cubyz/blocks/resin_block.zig.zon new file mode 100644 index 000000000..ac2d8626e --- /dev/null +++ b/assets/cubyz/blocks/resin_block.zig.zon @@ -0,0 +1,13 @@ +.{ + .tags = .{.wood}, + .blockHealth = 2, + .drops = .{ + .{.items = .{.auto}}, + }, + .transparent = true, + .hasBackFace = true, + .model = "cubyz:cube", + .absorbedLight = 0x30a8cc, + .texture = "cubyz:resin_block", + .friction = 30, +} diff --git a/assets/cubyz/blocks/textures/resin.png b/assets/cubyz/blocks/textures/resin.png new file mode 100644 index 0000000000000000000000000000000000000000..4a14ba20b14b50d746b5076bb5b5968336f2acbb GIT binary patch literal 278 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`cRgJkLo9le6B?Sdl9&F!al>H4 zfiO|$o<<?Y{op}f^U4n z>R<6Q`#I0Ko6XQDuy_9cKQX^lL|=D9=->X+vvp3$%y7HC);uuBwM@|Jzy!;Ruk3A$ z-s;ySOEl>}*r?_7Eo$mUp*!9??zXX>II-#A%^gXsd>d3{W^hk<8W7X)CMAclU2ca2 z+W{e7yKn=81P)<=_Ff43chq>U9BT#}j zF@beIh1U5Xn^GIYWHWedR~Eb1B$nbe1KHRoW^AMw5WFeZ5yfNEDogbIn-6Bq;L!{o ziZpre_unH6w=4T(DVrSIF|e_r7*zg0@lKcVCK*WU6@6dQN#XNggyO8Y3>vRLlQpS6Hl?mZtQO#-$ni;uT7mhVOu x%FW}q1T#m?id1POr*M^JlPXIzHK86-gCD{*Kp1wjRt5k7002ovPDHLkV1mWEs@MPk literal 0 HcmV?d00001 diff --git a/assets/cubyz/blocks/textures/resin_block_reflectivity.png b/assets/cubyz/blocks/textures/resin_block_reflectivity.png new file mode 100644 index 0000000000000000000000000000000000000000..96235dfe71da37d4d80bd8515f0cdd84346a30f6 GIT binary patch literal 233 zcmVEs{ZmBNV-IPE8tP%?!?iT+l%av`Y}@6(pE zE4gQ=w!WJW1m>2mZi)8Ut>^8u44)3TUT%~L!$&G%8L}@8%QB;l{}e_?4COMUyz~D8 zp6##!%z7C{ztyNXHV4W=NXH9UVg3@2-u{NYl^MdP&e(Q8ry&E?J*00000NkvXXu0mjf_C;uD literal 0 HcmV?d00001 diff --git a/assets/cubyz/items/textures/resin.png b/assets/cubyz/items/textures/resin.png new file mode 100644 index 0000000000000000000000000000000000000000..71ee16396e459a1299b9272def9ff2ab698af223 GIT binary patch literal 335 zcmV-V0kHmwP)Icc<$H?FZ(Z%oJ;&M}=Ai4w>Q<0k+^+rV*6So{+~CM84L z0O0-M8JUzCl;%5}rUC#1ehQN70)TAw#WLG!z@O+c+Y%1WhzAr^q{!l+x4Nr~f{nk3f+w~L&~xQ{D(6?YW}+J!Halttw(@`aksH>COQsDsvz hRG-7_^`|`X*#jQ8XN6HOZLa_T002ovPDHLkV1j3dnL_{o literal 0 HcmV?d00001 diff --git a/assets/cubyz/recipes/special_recipes.zig.zon b/assets/cubyz/recipes/special_recipes.zig.zon index d95eb0176..c75d04599 100644 --- a/assets/cubyz/recipes/special_recipes.zig.zon +++ b/assets/cubyz/recipes/special_recipes.zig.zon @@ -51,6 +51,10 @@ .inputs = .{"1 cubyz:torch", "2 cubyz:iron_ingot"}, .output = "cubyz:lamp", }, + .{ + .inputs = .{"4 cubyz:resin"}, + .output = "cubyz:resin_block", + }, .{ .inputs = .{"4 cubyz:coal"}, .output = "cubyz:coal_block", @@ -99,6 +103,10 @@ .inputs = .{"cubyz:ruby_block"}, .output = "cubyz:cut_ruby_block", }, + .{ + .inputs = .{"cubyz:resin_block"}, + .output = "4 cubyz:resin", + }, .{ .inputs = .{"cubyz:coal_block"}, .output = "4 cubyz:coal",