The title mostly explains what i need, but here is a more indepth description: I'm making a faction plugin that utilizes the chunk claiming system similar to the original factions'. For the /f map i'd like to highlight the edges of the chunk with bedrock, but i don't know how to exactly calculate it. Tapatalkkal küldve az én LG-K120 eszközömről
Go to massive craft's github page and look at the seechunk command it's pretty easy to replicate. Sent from my iPhone using Tapatalk
Doesn't that make pillars on the four corners of the chunk? Tapatalkkal küldve az én LG-K120 eszközömről
Yes but their code finds the edges first and only displays it if it's a corner. Sent from my iPhone using Tapatalk
Oooh thanks, also, you were pretty fast with the answer, will test out the code and tell if it succeeded or not. Tapatalkkal küldve az én LG-K120 eszközömről
The edges of the chunk are the columns along 0 and 15.. What more is there to calculate? If you want to convert block coordinates to chunk coordinates, just do x>>4 and z>>4.