Amber ore & blocks (#1585)
part of #1326  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.  Amber has the `light` modifier at 50%  Something unique compared to other gem blocks is that amber is translucent.
12
assets/cubyz/blocks/amber_block.zig.zon
Normal 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",
|
||||
}
|
36
assets/cubyz/blocks/amber_ore.zig.zon
Normal 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",
|
||||
}
|
12
assets/cubyz/blocks/cut_amber_block.zig.zon
Normal 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",
|
||||
}
|
BIN
assets/cubyz/blocks/textures/amber_block.png
Normal file
After Width: | Height: | Size: 438 B |
BIN
assets/cubyz/blocks/textures/amber_block_reflectivity.png
Normal file
After Width: | Height: | Size: 238 B |
BIN
assets/cubyz/blocks/textures/amber_ore.png
Normal file
After Width: | Height: | Size: 294 B |
BIN
assets/cubyz/blocks/textures/amber_ore_reflectivity.png
Normal file
After Width: | Height: | Size: 205 B |
BIN
assets/cubyz/blocks/textures/cut_amber_block.png
Normal file
After Width: | Height: | Size: 337 B |
BIN
assets/cubyz/blocks/textures/cut_amber_block_reflectivity.png
Normal file
After Width: | Height: | Size: 197 B |
BIN
assets/cubyz/items/textures/amber.png
Normal file
After Width: | Height: | Size: 336 B |
@ -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",
|
||||
|