From e3a2efdedd4ab75f1c13543245561a253a68ae7f Mon Sep 17 00:00:00 2001 From: sys4 Date: Mon, 1 Mar 2021 22:14:30 +0100 Subject: [PATCH] Add use_texture_alpha --- fireworks_arrows.lua | 1 + shell_arrow.lua | 1 + standard_arrows.lua | 1 + torch_arrow.lua | 1 + 4 files changed, 4 insertions(+) diff --git a/fireworks_arrows.lua b/fireworks_arrows.lua index 4dd38fe..aec2284 100644 --- a/fireworks_arrows.lua +++ b/fireworks_arrows.lua @@ -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={ diff --git a/shell_arrow.lua b/shell_arrow.lua index 5267cf9..1359512 100644 --- a/shell_arrow.lua +++ b/shell_arrow.lua @@ -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={ diff --git a/standard_arrows.lua b/standard_arrows.lua index 60674e0..32feff7 100644 --- a/standard_arrows.lua +++ b/standard_arrows.lua @@ -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={ diff --git a/torch_arrow.lua b/torch_arrow.lua index 0de170a..1be7ce5 100644 --- a/torch_arrow.lua +++ b/torch_arrow.lua @@ -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={