CraftBukkit help

Discussion in 'Plugin Development' started by Hoolean, Dec 2, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Hoolean

    Does anyone know where in the CraftBukkit code it sends chunks to players and then where in that it says what biome it should be?

    Thank you!
     
  2. Offline

    stirante

    Server sends Packet51MapChunk to client; one of parameters is Chunk which contains byte arrays with block ids and biome data.
     
  3. Offline

    Hoolean

    So how could I change that to make it a different biome? :/
     
  4. Offline

    stirante

    If you want to change only to chosen clients you would have to create custom NetClientHandler which changes bytes in byte array of biomes.
     
  5. why not doing it simple, just set the biome whit the chunk class, so it will be always that biome there
     
  6. Offline

    Hoolean

    That's exactly the point; I want the chunk to stay the same on the server but for the client to see it as a different one :/

    How would one do that?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 30, 2016
Thread Status:
Not open for further replies.

Share This Page