Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minetest.register_node(":nether:air", {
- description = "Air (Nether lighting)",
- groups = { not_in_creative_inventory = 1 },
- drawtype = "airlike",
- inventory_image = "air.png",
- paramtype = "light",
- is_ground_content = false,
- sunlight_propagates = true,
- walkable = false,
- pointable = false,
- diggable = false,
- buildable_to = true,
- floodable = true,
- light_source = minetest.LIGHT_MAX / 3,
- drop = { max_items = 0 },
- })
- minetest.register_on_dignode(function(pos, oldnode, digger)
- if mcl_worlds.pos_to_dimension(pos) == "nether" then
- minetest.set_node(pos, minetest.registered_nodes["nether:air"])
- end
- end)
Add Comment
Please, Sign In to add comment