1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!


    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Do a "loop blocks" on a chunk

Discussion in 'Skript' started by Barrow, Jun 5, 2020.

Thread Status:
Not open for further replies.
  1. Barrow

    Barrow Member

    Mar 12, 2017
    Likes Received:
    Hi, I would like to make a "loop blocks" to a chunk instead of a radius.

    I didn't manage to do it so I searched but didn't find how to do it. If you know if it's possible I'd be happy to know how.
    If not, I'm actually trying to do it by another way, I'm trying to get two blocks which make a selection of the chunk, and put it in argument in the "loop blocks". I think I know how to do it, but I need the chunk coordinates in separate variables c:

    Soo, my questions to whoever is reading this are:

    - Is it possible to do a "loop blocks" to a chunk, like "loop all blocks in player's chunk" (but I actually want the event-block chunk :emoji_slight_smile:))?

    - How to get the coordinates of a chunk? I only manage to get something like this ([​IMG] ), which I don't know how to extract the coordinates from

    Thank you for your help! c:
    #1 Barrow, Jun 5, 2020
    Last edited: Jun 5, 2020
  2. Killerz1243

    Killerz1243 Active Member

    Oct 31, 2019
    Likes Received:
    - try chunk at event-block

    - multiply the chunk location by 16 to get the coordinates
Thread Status:
Not open for further replies.

Share This Page