Fix alpha texture warnings (#34)

This commit is contained in:
David Leal 2022-12-29 13:32:42 -06:00 committed by GitHub
parent 2100ca04b1
commit 1949d88b06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,7 @@ register_node("maptools:ignore_like", {
tiles = {"invisible.png"},
paramtype = "light",
sunlight_propagates = true,
use_texture_alpha = "clip",
})
register_node("maptools:ignore_like_no_clip", {
@ -94,6 +95,7 @@ register_node("maptools:ignore_like_no_clip", {
paramtype = "light",
walkable = false,
sunlight_propagates = true,
use_texture_alpha = "clip",
})
@ -104,6 +106,7 @@ register_node("maptools:ignore_like_no_point", {
paramtype = "light",
pointable = false,
sunlight_propagates = true,
use_texture_alpha = "clip",
})
register_node("maptools:ignore_like_no_clip_no_point", {
@ -124,6 +127,7 @@ register_node("maptools:fullclip_face", {
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},
@ -141,6 +145,7 @@ register_node("maptools:playerclip_bottom", {
pointable = false,
paramtype = "light",
sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},
@ -158,6 +163,7 @@ register_node("maptools:playerclip_top", {
pointable = false,
paramtype = "light",
sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = {
type = "fixed",
fixed = {-0.5, 0.4999, -0.5, 0.5, 0.5, 0.5},
@ -176,6 +182,7 @@ for pusher_num=1,10,1 do
paramtype = "light",
paramtype2 = "facedir",
sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},