moreblocks/stairsplus_legacy/wool.lua

10 lines
374 B
Lua
Raw Normal View History

local dyes = {"white", "grey", "black", "red", "yellow", "green", "cyan",
"blue", "magenta", "orange", "violet", "brown", "pink",
"dark_grey", "dark_green"}
2022-06-21 00:17:28 +02:00
for _, name in ipairs(dyes) do
local node = ("wool:%s"):format(name)
stairsplus_legacy.register_legacy(node)
stairsplus.api.register_alias_all(("moreblocks:%s"):format(name), node)
end