Cubyz/assets/cubyz/blocks/duckweed.zig.zon
Krzysztof Wiśniewski 07f5d823dd
Add pile rotation mode (#1216)
* Add pile rotation mode

* Fix formatting issues

* Rename to .zig.zon

* Update textures to those provided by ikabood-kee

* Add gradual block breaking

* Adapt to new model and texture changes

* New duckweed textures

* Add configurable state count

* Rename to texturePile

* Add moreData storage

* Apply review suggestions

---------

Co-authored-by: Carrie <carriecapp9@gmail.com>
2025-03-23 19:35:38 +01:00

25 lines
476 B
Zig

.{
.tags = .{.leaf},
.blockHealth = 0.2,
.drops = .{
.{.items = .{.auto}},
},
.degradable = true,
.collide = false,
.alwaysViewThrough = true,
.absorbedLight = 0x000000,
.model = .{
.model = "cubyz:plane",
.states = 4,
},
.rotation = .texturePile,
.texture0 = "cubyz:duckweed/0",
.texture1 = "cubyz:duckweed/1",
.texture2 = "cubyz:duckweed/2",
.texture3 = "cubyz:duckweed/3",
.item = .{
.texture = "duckweed.png",
},
.lodReplacement = "cubyz:air",
}