client side modification about chunk

Discussion in 'Plugin Development' started by Dandunse, Oct 20, 2017.

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

    Dandunse

    how to make that server make client that loading chunk, in direct time!!!!!!!!!!!!!!!!!!!!!!!!!!!
    I think that packet will be needed!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    anyone?
     
  2. Offline

    Zombie_Striker

    @Dandunse
    You can't force chunks to load for a player if the player has not requested those chunks to be loaded; only if the player requested the chuncks to load can you force the update. Also, this can't be done instantaneously. It takes time to take all the data for a chunk, send it to the player, have the player receive it, and build the chunk.

    The only way to make it "instantaneous" would be to fake it: in the chunk the player is currently in, change the blocks around them so it looks like the other location. Then, for all movement and location packets being sent to the player, modify them with the offset. This will be a massive project, but it is the only way to "remove" the loading time.
     
  3. Offline

    Dandunse

    I want to use like isClientChunkLoaded()
     
  4. @Dandunse ... test if player was in this chunk.. if yes , probobly he has loaded chunk.
     
  5. Offline

    Dandunse

    I dont want block trick... its no matter direct time. 3 second is ok.

    please give me a client side-chunk load code example.(I couldn;t find)
    "(CraftWorld)p.getWorld" is client side?
     
Thread Status:
Not open for further replies.

Share This Page