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 000000000..4a14ba20b Binary files /dev/null and b/assets/cubyz/blocks/textures/resin.png differ diff --git a/assets/cubyz/blocks/textures/resin_block.png b/assets/cubyz/blocks/textures/resin_block.png new file mode 100644 index 000000000..99c2cb031 Binary files /dev/null and b/assets/cubyz/blocks/textures/resin_block.png differ 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 000000000..96235dfe7 Binary files /dev/null and b/assets/cubyz/blocks/textures/resin_block_reflectivity.png differ diff --git a/assets/cubyz/items/textures/resin.png b/assets/cubyz/items/textures/resin.png new file mode 100644 index 000000000..71ee16396 Binary files /dev/null and b/assets/cubyz/items/textures/resin.png differ 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",