1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-12 21:10:21 +02:00

fix https://github.com/mt-mods/plantlife_modpack/issues/38 - add use_texture_alpa param to nodes that have textures with alpa

This commit is contained in:
unknown
2023-01-21 15:48:24 -05:00
parent a2cbc18351
commit 577404c850
10 changed files with 18 additions and 0 deletions

View File

@ -24,6 +24,7 @@ for i in pairs(NoDe) do
"trunks_twig_"..NR..".png^[transformFY", -- mirror
"trunks_twig_6.png" -- empty
},
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
@ -88,6 +89,7 @@ for r = 0, 3 do
description = S("Moss"),
drawtype = "nodebox",
tiles = {"trunks_moss.png"..xform},
use_texture_alpha = "clip",
inventory_image = "trunks_moss.png",
wield_image = "trunks_moss.png",
paramtype = "light",
@ -110,6 +112,7 @@ for r = 0, 3 do
tiles = {"trunks_moss_fungus.png"..xform},
inventory_image = "trunks_moss_fungus.png",
wield_image = "trunks_moss_fungus.png",
use_texture_alpha = "clip",
paramtype = "light",
paramtype2 = "wallmounted",
sunlight_propagates = true,
@ -376,6 +379,7 @@ for i in pairs(TRuNKS) do
--[[back]] MoD.."_"..TRuNK..".png",
--[[front]] MoD.."_"..TRuNK..".png"
},
use_texture_alpha = "clip",
drawtype = "nodebox",
selection_box = {type = "fixed", fixed = roots_cube},
node_box = {type = "fixed", fixed = roots_sheet},