Cubyz/assets/cubyz/blocks/willow_branch.zig.zon
OneAvargeCoder193 4898012311
Use comptime modding for rotation loading (#1509)
Related to: #1507
closes #1533 

I'm pretty sure that the rest of the moving into a comptime mod
interface can be done in a future pr

---------

Co-authored-by: Krzysztof Wiśniewski <argmaster.world@gmail.com>
2025-06-17 18:13:48 +02:00

37 lines
761 B
Zig

.{
.tags = .{.wood},
.blockHealth = 4,
.drops = .{
.{.items = .{.auto}},
},
.absorbedLight = 0x202830,
.rotation = "cubyz:branch",
.model = .{
.radius = 4,
},
.texture0 = "cubyz:branch/willow/dot",
.texture1 = "cubyz:branch/willow/half_line",
.texture2 = "cubyz:branch/willow/line",
.texture3 = "cubyz:branch/willow/bend",
.texture4 = "cubyz:branch/willow/intersection",
.texture5 = "cubyz:branch/willow/cross",
.item = .{
.material = .{
.density = 0.5,
.elasticity = 3,
.hardness = 2.9,
.textureRoughness = 0.7,
.colors = .{
0xff2a2521, 0xff332d28, 0xff413930, 0xff4f453a, 0xff413930,
},
.modifiers = .{
.{
.id = "fragile",
.strength = 0.10,
},
},
},
.texture = "branch/willow.png",
},
}