Dev imports w/ Dispatch packets immediately

This commit is contained in:
Sotr
2019-03-20 15:34:29 +08:00
parent a71fbd6d7d
commit d3a48c560b
13 changed files with 560 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
package net.minecraft.server;
import java.io.IOException;
public class PacketPlayOutCollect implements Packet<PacketListenerPlayOut> {
private int a;
private int b;
private int c;
public PacketPlayOutCollect() {}
public PacketPlayOutCollect(int i, int j, int k) {
this.a = i;
this.b = j;
this.c = k;
}
public void a(PacketDataSerializer packetdataserializer) throws IOException {
this.a = packetdataserializer.g();
this.b = packetdataserializer.g();
this.c = packetdataserializer.g();
}
public void b(PacketDataSerializer packetdataserializer) throws IOException {
packetdataserializer.d(this.a);
packetdataserializer.d(this.b);
packetdataserializer.d(this.c);
}
public void a(PacketListenerPlayOut packetlistenerplayout) {
packetlistenerplayout.a(this);
}
}