Dividing world into a grid

Discussion in 'Spigot Plugin Development' started by iAmGuus, May 16, 2016.

  1. Hi there,

    I am currently looking for a way to divide a world into a grid with cubes of like 50*50. It is needed for a SkyBlock. Could anyone please point me in the right direction. I thought I could do something with all the chunks inbetween 2 locations for example.

    If you don't understand it, please let me know.

    Thanks for your time,
    Guus
     
  2. get 0 50 0, set an area 1 in the config to be from 0 0 0, to 50 100 50. Do for 2nd area after 2nd is created(50 50 50 to 100 100 100, etc). Player is assigned to one of the areas, if he places block and block is not in area, e.setCancelled(true)