Add use_texture_alpha

This commit is contained in:
bri cassa 2021-03-01 22:14:30 +01:00
parent c5d137d7ed
commit e3a2efdedd
4 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,7 @@ local function throwing_register_fireworks(color, desc)
},
tiles = {"throwing_arrow_fireworks_" .. color .. ".png", "throwing_arrow_fireworks_" .. color .. ".png", "throwing_arrow_fireworks_" .. color .. "_back.png", "throwing_arrow_fireworks_" .. color .. "_front.png", "throwing_arrow_fireworks_" .. color .. "_2.png", "throwing_arrow_fireworks_" .. color .. ".png"},
groups = {not_in_creative_inventory=1},
use_texture_alpha = "opaque",
})
local THROWING_ARROW_ENTITY={

View File

@ -27,6 +27,7 @@ minetest.register_node("throwing:arrow_shell_box", {
},
tiles = {"throwing_arrow_shell.png", "throwing_arrow_shell.png", "throwing_arrow_shell_back.png", "throwing_arrow_shell_front.png", "throwing_arrow_shell_2.png", "throwing_arrow_shell.png"},
groups = {not_in_creative_inventory=1},
use_texture_alpha = "opaque",
})
local THROWING_ARROW_ENTITY={

View File

@ -28,6 +28,7 @@ function throwing_register_arrow_standard (kind, desc, eq, toughness, craft)
},
tiles = {"throwing_arrow_" .. kind .. ".png", "throwing_arrow_" .. kind .. ".png", "throwing_arrow_" .. kind .. "_back.png", "throwing_arrow_" .. kind .. "_front.png", "throwing_arrow_" .. kind .. "_2.png", "throwing_arrow_" .. kind .. ".png"},
groups = {not_in_creative_inventory=1},
use_texture_alpha = "opaque",
})
local THROWING_ARROW_ENTITY={

View File

@ -27,6 +27,7 @@ minetest.register_node("throwing:arrow_torch_box", {
},
tiles = {"throwing_arrow_torch.png", "throwing_arrow_torch.png", "throwing_arrow_torch_back.png", "throwing_arrow_torch_front.png", "throwing_arrow_torch_2.png", "throwing_arrow_torch.png"},
groups = {not_in_creative_inventory=1},
use_texture_alpha = "opaque",
})
local THROWING_ARROW_ENTITY={