init.lua 424 B

123456789101112131415
  1. minetest.register_node("testmesh:alpha", {
  2. description = "testmesh:alpha",
  3. drawtype = "mesh",
  4. mesh = "cubeslope.obj",
  5. use_texture_alpha = true,
  6. tiles = {"testmesh_alpha.png",},
  7. walkable = false,
  8. climbable = true,
  9. sunlight_propagates = true,
  10. paramtype = "light",
  11. groups = {cracky=3},
  12. })
  13. minetest.log("action", "[mod] [testmesh] successfully loaded!")