1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

About map

Discussion in 'Plugin Help' started by Harviy, Dec 2, 2016.

  1. Harviy

    Harviy Spider

    Messages:
    13
    Hi, is there a way to count all the blocks in the map or amount of blocks in a certain area ?
     
  2. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
  3. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Considering that a map has infinite size, it is invalid to say "all blocks in a map". However, it should be possible to to count blocks in all loaded or generated chunks, although I don't understand why you would want to do so, since they would be invalidated once new chunks are generated.
     
  4. Primus

    Primus Zombie Pigman

    Messages:
    749
    If air is considered block then there is 32786 blocks in one chunk :)
     
    HimbeersaftLP likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.