@@ -0,0 +1,781 @@
+package com.daexsys.sbc.net.server;%0A%0Aimport com.daexsys.ijen3D.net.Packet;%0Aimport com.daexsys.sbc.net.EncodeChunk;%0Aimport com.daexsys.sbc.world.chunk.Chunk;%0A%0Aimport java.io.DataOutputStream;%0Aimport java.io.IOException;%0A%0Apublic class SendChunkPacket implements Packet %7B%0A    public static byte PACKET_NUMBER = 20;%0A%0A    private Chunk chunk;%0A%0A    public SendChunkPacket(Chunk chunk) %7B%0A        this.chunk = chunk;%0A    %7D%0A%0A    public Chunk getChunk() %7B%0A        return chunk;%0A    %7D%0A%0A    @Override%0A    public void write(DataOutputStream dataOutputStream) throws IOException %7B%0A        // Send the packet ID.%0A        dataOutputStream.writeByte(PACKET_NUMBER);%0A%0A        // Send the contents of the packet, a compressed chunk.%0A        new EncodeChunk(chunk, dataOutputStream).encode();%0A    %7D%0A%7D%0A

Add SendChunkPacket