Why is my chunk size only 16x16x16 but not 16x16x256?

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

thangnitvap

New Member
Jan 31, 2017
5
0
0
21
I wrote this script to test how many blocks in one chunk and it resulted me on console with numerous "4096". And probably 4096 equals to 16x16x16 but 16x16x256 equals to 65536.
code_language.skript:
on chunk generate:
    loop all blocks in event-chunk:
        add 1 to {_block}
    broadcast "%{_block}%"
 
Last edited:
I figured it out... okay, this I believe needs SkQuery... note the "loop blocks within" part
code_language.skript:
on chunk generate:
    loop blocks within event-chunk:
        add 1 to {_block}
    broadcast "%{_block}%"
 
  • Like
Reactions: thangnitvap
Status
Not open for further replies.