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"}, tiles = {"invisible.png"},
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
use_texture_alpha = "clip",
}) })
register_node("maptools:ignore_like_no_clip", { register_node("maptools:ignore_like_no_clip", {
@ -94,6 +95,7 @@ register_node("maptools:ignore_like_no_clip", {
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
use_texture_alpha = "clip",
}) })
@ -104,6 +106,7 @@ register_node("maptools:ignore_like_no_point", {
paramtype = "light", paramtype = "light",
pointable = false, pointable = false,
sunlight_propagates = true, sunlight_propagates = true,
use_texture_alpha = "clip",
}) })
register_node("maptools:ignore_like_no_clip_no_point", { register_node("maptools:ignore_like_no_clip_no_point", {
@ -124,6 +127,7 @@ register_node("maptools:fullclip_face", {
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
sunlight_propagates = true, sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5}, fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},
@ -141,6 +145,7 @@ register_node("maptools:playerclip_bottom", {
pointable = false, pointable = false,
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5}, fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},
@ -158,6 +163,7 @@ register_node("maptools:playerclip_top", {
pointable = false, pointable = false,
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, 0.4999, -0.5, 0.5, 0.5, 0.5}, 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", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
sunlight_propagates = true, sunlight_propagates = true,
use_texture_alpha = "clip",
node_box = { node_box = {
type = "fixed", type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5}, fixed = {-0.5, -0.5, -0.5, 0.5, -0.4999, 0.5},