From 8ac2966a42f0ff0dac590b658e981534fa1749c1 Mon Sep 17 00:00:00 2001 From: ikabod-kee Date: Thu, 16 Jan 2025 15:54:34 -0500 Subject: [PATCH] Made different stone types usable in crafting --- assets/cubyz/blocks/basalt.zig.zon | 11 +++++++++++ assets/cubyz/blocks/cobblestone.zig.zon | 8 +++----- assets/cubyz/blocks/ferrock.zig.zon | 11 +++++++++++ assets/cubyz/blocks/glacite.zig.zon | 11 +++++++++++ assets/cubyz/blocks/limestone.zig.zon | 11 +++++++++++ assets/cubyz/blocks/obsidian.zig.zon | 11 +++++++++++ assets/cubyz/blocks/sandstone.zig.zon | 11 +++++++++++ assets/cubyz/blocks/stone.zig.zon | 11 +++++++++++ assets/cubyz/blocks/void_stone.zig.zon | 11 +++++++++++ 9 files changed, 91 insertions(+), 5 deletions(-) diff --git a/assets/cubyz/blocks/basalt.zig.zon b/assets/cubyz/blocks/basalt.zig.zon index a24b3a75..9ff7419b 100644 --- a/assets/cubyz/blocks/basalt.zig.zon +++ b/assets/cubyz/blocks/basalt.zig.zon @@ -4,6 +4,17 @@ .drops = .{ .{.items = .{.auto}}, }, + .item = .{ + .material = .{ + .density = 0.7, + .resistance = 0.7, + .power = 0.3, + .roughness = 2.5, + .colors = .{ + 0xff3d3d3d, 0xff535353, 0xff6b6b6b, 0xff81807e, 0xff9c9996, + }, + }, + }, .breakingPower = 1, .rotation = .stairs, .model = "cubyz:cube", diff --git a/assets/cubyz/blocks/cobblestone.zig.zon b/assets/cubyz/blocks/cobblestone.zig.zon index fe8149cb..aaf6f5c2 100644 --- a/assets/cubyz/blocks/cobblestone.zig.zon +++ b/assets/cubyz/blocks/cobblestone.zig.zon @@ -1,6 +1,9 @@ .{ .class = .stone, .hardness = 25, + .drops = .{ + .{.items = .{.auto}}, + }, .item = .{ .material = .{ .density = 1.0, @@ -12,12 +15,7 @@ }, }, }, - - .drops = .{ - .{.items = .{.auto}}, - }, .model = "cubyz:cube", .texture = "cubyz:cobblestone", - .rotation = .stairs, } diff --git a/assets/cubyz/blocks/ferrock.zig.zon b/assets/cubyz/blocks/ferrock.zig.zon index 485980b8..49709a03 100644 --- a/assets/cubyz/blocks/ferrock.zig.zon +++ b/assets/cubyz/blocks/ferrock.zig.zon @@ -5,6 +5,17 @@ .drops = .{ .{.items = .{.auto}}, }, + .item = .{ + .material = .{ + .density = 0.9, + .resistance = 1.0, + .power = 0.35, + .roughness = 0.5, + .colors = .{ + 0xff3d3d3d, 0xff535353, 0xff6b6b6b, 0xff81807e, 0xff9c9996, + }, + }, + }, .model = "cubyz:cube", .rotation = .stairs, .texture = "cubyz:ferrock", diff --git a/assets/cubyz/blocks/glacite.zig.zon b/assets/cubyz/blocks/glacite.zig.zon index 4d9f59ce..a02b9c94 100644 --- a/assets/cubyz/blocks/glacite.zig.zon +++ b/assets/cubyz/blocks/glacite.zig.zon @@ -5,6 +5,17 @@ .drops = .{ .{.items = .{.auto}}, }, + .item = .{ + .material = .{ + .density = 0.8, + .resistance = 0.9, + .power = 0.4, + .roughness = 1.5, + .colors = .{ + 0xff3d3d3d, 0xff535353, 0xff6b6b6b, 0xff81807e, 0xff9c9996, + }, + }, + }, .rotation = .stairs, .model = "cubyz:cube", .texture = "cubyz:glacite", diff --git a/assets/cubyz/blocks/limestone.zig.zon b/assets/cubyz/blocks/limestone.zig.zon index b0f68af1..8c4320e6 100644 --- a/assets/cubyz/blocks/limestone.zig.zon +++ b/assets/cubyz/blocks/limestone.zig.zon @@ -5,6 +5,17 @@ .drops = .{ .{.items = .{.auto}}, }, + .item = .{ + .material = .{ + .density = 1.25, + .resistance = 0.9, + .power = 0.35, + .roughness = 0.9, + .colors = .{ + 0xff3d3d3d, 0xff535353, 0xff6b6b6b, 0xff81807e, 0xff9c9996, + }, + }, + }, .rotation = .stairs, .model = "cubyz:cube", .texture = "cubyz:limestone", diff --git a/assets/cubyz/blocks/obsidian.zig.zon b/assets/cubyz/blocks/obsidian.zig.zon index 3575893f..24e4d7a6 100644 --- a/assets/cubyz/blocks/obsidian.zig.zon +++ b/assets/cubyz/blocks/obsidian.zig.zon @@ -5,6 +5,17 @@ .drops = .{ .{.items = .{.auto}}, }, + .item = .{ + .material = .{ + .density = 0.5, + .resistance = 0.1, + .power = 0.5, + .roughness = 0.1, + .colors = .{ + 0xff3d3d3d, 0xff535353, 0xff6b6b6b, 0xff81807e, 0xff9c9996, + }, + }, + }, .rotation = .stairs, .model = "cubyz:cube", .texture = "cubyz:obsidian", diff --git a/assets/cubyz/blocks/sandstone.zig.zon b/assets/cubyz/blocks/sandstone.zig.zon index e5fcece3..a7f7c01d 100644 --- a/assets/cubyz/blocks/sandstone.zig.zon +++ b/assets/cubyz/blocks/sandstone.zig.zon @@ -4,6 +4,17 @@ .drops = .{ .{.items = .{.auto}}, }, + .item = .{ + .material = .{ + .density = 0.5, + .resistance = 0.5, + .power = 0.2, + .roughness = 3.0, + .colors = .{ + 0xff3d3d3d, 0xff535353, 0xff6b6b6b, 0xff81807e, 0xff9c9996, + }, + }, + }, .rotation = .stairs, .model = "cubyz:cube", .texture = "cubyz:sandstone", diff --git a/assets/cubyz/blocks/stone.zig.zon b/assets/cubyz/blocks/stone.zig.zon index 49bfb8f5..eb3299f7 100644 --- a/assets/cubyz/blocks/stone.zig.zon +++ b/assets/cubyz/blocks/stone.zig.zon @@ -5,6 +5,17 @@ .drops = .{ .{.items = .{"cubyz:cobblestone"}}, }, + .item = .{ + .material = .{ + .density = 1.0, + .resistance = 1.0, + .power = 0.4, + .roughness = 1.0, + .colors = .{ + 0xff3d3d3d, 0xff535353, 0xff6b6b6b, 0xff81807e, 0xff9c9996, + }, + }, + }, .rotation = .stairs, .model = "cubyz:cube", .texture = "cubyz:stone", diff --git a/assets/cubyz/blocks/void_stone.zig.zon b/assets/cubyz/blocks/void_stone.zig.zon index 43ac5a26..37f961af 100644 --- a/assets/cubyz/blocks/void_stone.zig.zon +++ b/assets/cubyz/blocks/void_stone.zig.zon @@ -5,6 +5,17 @@ .drops = .{ .{.items = .{.auto}}, }, + .item = .{ + .material = .{ + .density = 2.0, + .resistance = 2.0, + .power = 0.8, + .roughness = 2.0, + .colors = .{ + 0xff3d3d3d, 0xff535353, 0xff6b6b6b, 0xff81807e, 0xff9c9996, + }, + }, + }, .rotation = .stairs, .model = "cubyz:cube", .texture = "cubyz:void_stone",