groups = {group = rating}, -- Uses the known node groups, see [Known damage and digging time defining groups]
sounds = SoundSpec, -- See [#Default sounds]
recipe = {{"","","","","","","","",""}}, -- Recipe field only
+ use_texture_alpha = true, -- Optional boolean (default: `false`) for colored glass panes
}
Raillike definitions
groups = flatgroups,
drop = "xpanes:" .. name .. "_flat",
sounds = def.sounds,
+ use_texture_alpha = def.use_texture_alpha or false,
node_box = {
type = "fixed",
fixed = {{-1/2, -1/2, -1/32, 1/2, 1/2, 1/32}},
groups = groups,
drop = "xpanes:" .. name .. "_flat",
sounds = def.sounds,
+ use_texture_alpha = def.use_texture_alpha or false,
node_box = {
type = "connected",
fixed = {{-1/32, -1/2, -1/32, 1/32, 1/2, 1/32}},