Where can I check for the Packet content for each type? ProtocolLib

Discussion in 'Plugin Development' started by Debels, Jul 5, 2014.

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


    Where can I find the content for each package type on ProtocolLib?, I searched on the thread and on Bukkit Dev, but came out empty on the search. I'm specifically looking for MAP_CHUNK.

    The only elements I know that packet contains are:
    1. StructureModifier<int[]> intArrays = packet.getSpecificModifier(int[].class);
    2. int[] x = intArrays.read(0);
    3. int[] z = intArrays.read(1);

    But I'm not quite sure why those are arrays, I assume its because the server sends multiple chunks at a time right?

    Thanks for your time and reading,
    Looking forward to your reply,
Thread Status:
Not open for further replies.

Share This Page