Amber ore & blocks (#1585)

part of #1326

![image](https://github.com/user-attachments/assets/702eb90d-3445-40c9-a6cf-8f6161d7b830)
Amber starts generating at -1250. I would still want it to appear in
sandstone caves, beaches, etc. but we don't support that right now.


![image](https://github.com/user-attachments/assets/e3a5acac-75b7-4d70-8e49-85d84c5fd004)
Amber has the `light` modifier at 50%


![image](https://github.com/user-attachments/assets/93dd9ce9-25cb-46a4-a633-1e6af72e5032)
Something unique compared to other gem blocks is that amber is
translucent.
This commit is contained in:
Carrie 2025-06-03 10:38:18 -06:00 committed by GitHub
parent ac76d1ffd6
commit 44e9232dff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,12 @@
.{
.tags = .{.wood},
.blockHealth = 15,
.drops = .{
.{.items = .{.auto}},
},
.transparent = true,
.hasBackFace = true,
.model = "cubyz:cube",
.absorbedLight = 0x117edc,
.texture = "cubyz:amber_block",
}

View File

@ -0,0 +1,36 @@
.{
.tags = .{.stone},
.blockHealth = 15,
.blockResistance = 3,
.item = .{
.texture = "amber.png",
.material = .{
.density = 1.0,
.elasticity = 0.25,
.hardness = 2.5,
.textureRoughness = 0.1,
.colors = .{
0xff9b3481b, 0xffd35a1c, 0xffee7023, 0xffff9134, 0xffffc14a,
},
.modifiers = .{
.{
.id = "light",
.strength = 0.5,
},
},
},
},
.ore = .{
.veins = 3,
.size = 3,
.height = -1250,
.minHeight = -8000,
.density = 0.15,
},
.drops = .{
.{.items = .{.auto}},
},
.rotation = .ore,
.model = "cubyz:cube",
.texture = "cubyz:amber_ore",
}

View File

@ -0,0 +1,12 @@
.{
.tags = .{.wood},
.blockHealth = 15,
.drops = .{
.{.items = .{.auto}},
},
.transparent = true,
.hasBackFace = true,
.model = "cubyz:cube",
.absorbedLight = 0x117edc,
.texture = "cubyz:cut_amber_block",
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 438 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

View File

@ -95,6 +95,14 @@
.inputs = .{"cubyz:diamond_block"},
.output = "cubyz:cut_diamond_block",
},
.{
.inputs = .{"4 cubyz:amber_ore"},
.output = "cubyz:amber_block",
},
.{
.inputs = .{"cubyz:amber_block"},
.output = "cubyz:cut_amber_block",
},
.{
.inputs = .{"4 cubyz:ruby_ore"},
.output = "cubyz:ruby_block",
@ -143,6 +151,14 @@
.inputs = .{"cubyz:cut_diamond_block"},
.output = "4 cubyz:diamond",
},
.{
.inputs = .{"cubyz:amber_block"},
.output = "4 cubyz:amber_ore",
},
.{
.inputs = .{"cubyz:cut_amber_block"},
.output = "4 cubyz:amber_ore",
},
.{
.inputs = .{"cubyz:ruby_block"},
.output = "4 cubyz:ruby_ore",