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

[Solved] Biome Color Setting in API3

Discussion in 'Development' started by jasonwynn10, Dec 30, 2016.

  1. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    applqpak and eDroid like this.
  2. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    There isn't any way to do this anymore, support for this was removed from the MCPE client in 1.0. Best you can do is set biome IDs instead. Blame Mojang.
     
  3. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Okay, so what could I do as a replacement for setting the biome blocks within an area and will it change the color automatically?
     
    applqpak likes this.
  4. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    You can use setBiomeId(). A list of possible biome ids can be seen here. I can't say how many of these work in Pocket Edition though.
     
    jasonwynn10 and applqpak like this.
  5. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Okay, but does mcpe check for the biome change on it's own or do I have to add something to my plugin to make it see the change in biome and update it's color?
     
  6. Dinokiller

    Dinokiller Spider Jockey

    Messages:
    33
    No.... I will always blame @shoghicp.
     
  7. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    IIRC you would have to resend the chunk in order to make the client see changes.
     
    jasonwynn10 likes this.
  8. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Thank you!
     
  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.