Creating an infinite, repeating world

Discussion in 'Plugin Development' started by schmidtbochum, Mar 15, 2013.

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

    schmidtbochum

    I want to make a plugin that changes the way the server sends chunks to the client.

    The real world is a globe, that means that you will never reach a "world border". You will just get back to the place where you started.

    I'm looking for a way to manipulate the chunk sending, so that you can see the land from the "other end" of the world when you are near the border.

    Any ideas?

    [​IMG]
     
    Cybermaxke and blablubbabc like this.
  2. This would be incredibly cool, perhaps you could just make the sides of the world mirror the opposite edges, like your image shows (using listeners for all block changes and then change corresponding blocks in the mirror images). When a player steps across into this mirror area, however, they are teleported to the other side of the world. This is just a method I can think of that avoids packets (simply because I have yet to learn how to use them so can't help you in that way) and it could work for scalable world sizes.
     
  3. Offline

    schmidtbochum

    Of course, i would prefer a system where it just sends a "fake chunk" to the player, and npcs for players and mobs.

    When the player crosses the border, he gets teleported.
     
  4. Offline

    minoneer

Thread Status:
Not open for further replies.

Share This Page