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

Solved Snowing

Discussion in 'Development' started by Bluzzi, Nov 27, 2017.

  1. Bluzzi

    Bluzzi Spider Jockey

    Messages:
    46
    Hello !

    I want to know if it is possible to drop snow, and also how to choose which place will it fall ?

    Sorry for my bad english im french :c
     
  2. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    It‘s biome-dependent so you‘d need to change the biome.
     
    Bluzzi likes this.
  3. Bluzzi

    Bluzzi Spider Jockey

    Messages:
    46
    If I'm not mistaken, it's no longer possible to change the biome now (directly from PMMP)?
     
  4. Sandertv

    Sandertv Zombie Pigman Poggit Reviewer

    Messages:
    786
    GitHub:
    Sandertv
    You can surely change the biome directly with PMMP. The only thing that the MCPE developers removed is setting custom grass/leaves colours.
     
    jasonwynn10 and Bluzzi like this.
  5. Kyd

    Kyd Zombie Pigman

    Messages:
    678
    GitHub:
    boi1216
    You can do it in ChunkLoadEvent
     
  6. armagadon159753

    armagadon159753 Zombie

    Messages:
    217
    GitHub:
    armagadon159753
    Try that
    PHP:
    public function onChunkLoadEvent(ChunkLoadEvent $event) {
            for(
    $x 0$x 20; ++ $x)
                for(
    $z 0$z 20; ++ $z)
                    
    $event->getChunk ()->setBiomeId $x$zBiome::ICE_PLAINS);
        }
    public function 
    onPlayerJoinEvent(PlayerJoinEvent $event) {
            
    $player $event->getPlayer ();
            
    $pk = new LevelEventPacket ();
            
    $pk->evid 3001;
            
    $pk->data 10000;
            
    $player->dataPacket $pk );
        }
     
    Kyd and Bluzzi like this.
  7. Emis02

    Emis02 Spider Jockey

    Messages:
    34
    GitHub:
    RubyTemple
    in the server when it is low of coordinates it does not snow with this code...
     
  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.