SHARE
TWEET

Untitled

a guest Mar 27th, 2016 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. minetest.register_on_joinplayer(function(player)
  2.        
  3.         local minp={x=500, y=-100, z=500}
  4.         local maxp={x=500, y=100, z=500}
  5.        
  6.         minetest.emerge_area(minp, maxp)
  7.        
  8.         for cy=minp.y, maxp.y do
  9.             pos={x=500, y=cy, z=500}
  10.             if minetest.forceload_block(pos) then
  11.                 node = minetest.get_node(pos)
  12.                 minetest.chat_send_all("Y=" .. cy .. "> " .. node.name)
  13.             else
  14.                 minetest.chat_send_all("Y=" .. cy .. "> could not force load")
  15.             end
  16.         end
  17. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top