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

GetMiniChunk

Comments in 'Plugin Development' started by Falk, Nov 14, 2013.

  1. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,707
    Plugins:
    22
    Minecraft User:
    Falkirknh
    I wondered if anyone could show me briefly how getminichunk works? I understand how you would get the chunk but I don't get how to work with it, like could I loop through and look for stuff?
  2. wies
    Offline

    wies Notable Member

    Joined:
    Aug 23, 2013
    Posts:
    390
    getminichunk is for reading the data from the chunk of that level. A minichunk is 16x32x16 blocks big, so the function getminichunk will return a string with 8192 numbers in hexadecimal
    PEMapModder likes this.
  3. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,707
    Plugins:
    22
    Minecraft User:
    Falkirknh
    That sounds tricky :(
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    You mean a 16384-long string? Wow.....................................................
  5. wies
    Offline

    wies Notable Member

    Joined:
    Aug 23, 2013
    Posts:
    390
    No it's 32768 characters long.

Share This Page

Advertisement