daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Apr 23rd, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. minetest.register_node(":nether:air", {
  2.     description = "Air (Nether lighting)",
  3.     groups = { not_in_creative_inventory = 1 },
  4.     drawtype = "airlike",
  5.     inventory_image = "air.png",
  6.     paramtype = "light",
  7.     is_ground_content = false,
  8.     sunlight_propagates = true,
  9.     walkable = false,
  10.     pointable = false,
  11.     diggable = false,
  12.     buildable_to = true,
  13.     floodable = true,
  14.     light_source = minetest.LIGHT_MAX / 3,
  15.     drop = { max_items = 0 },
  16. })
  17.  
  18. minetest.register_on_dignode(function(pos, oldnode, digger)
  19.     if mcl_worlds.pos_to_dimension(pos) == "nether" then
  20.         minetest.set_node(pos, minetest.registered_nodes["nether:air"])
  21.     end
  22. end)
RAW Paste Data
Top