shortended water block texture code

This commit is contained in:
Looki2000 2023-02-01 15:32:49 +01:00
parent 71cf78c304
commit feee9cba44

View File

@ -196,47 +196,47 @@ minetest.register_node("amogus_blocks:water", {
tiles = { tiles = {
{ {
name = "water.png", name = "water.png",
animation = { --animation = {
type = "vertical_frames", -- type = "vertical_frames",
aspect_w = 16, -- aspect_w = 16,
aspect_h = 16, -- aspect_h = 16,
length = 2.0, -- length = 2.0,
}, --},
},
{
name = "water.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
},
},
special_tiles = {
-- New-style water source material (mostly unused)
{
name = "water.png",
backface_culling = false,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 2.0,
},
},
-- New-style flowing water material (mostly unused)
{
name = "water.png",
backface_culling = true,
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length = 0.8,
},
}, },
--{
-- name = "water.png",
-- animation = {
-- type = "vertical_frames",
-- aspect_w = 16,
-- aspect_h = 16,
-- length = 2.0,
-- },
--},
}, },
--special_tiles = {
-- -- New-style water source material (mostly unused)
-- {
-- name = "water.png",
-- backface_culling = false,
-- animation = {
-- type = "vertical_frames",
-- aspect_w = 16,
-- aspect_h = 16,
-- length = 2.0,
-- },
-- },
-- -- New-style flowing water material (mostly unused)
-- {
-- name = "water.png",
-- backface_culling = true,
-- animation = {
-- type = "vertical_frames",
-- aspect_w = 16,
-- aspect_h = 16,
-- length = 0.8,
-- },
-- },
--},
alpha = 160, alpha = 160,
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,