Dev imports w/ Dispatch packets immediately
This commit is contained in:
34
src/main/java/net/minecraft/server/PacketPlayOutCollect.java
Normal file
34
src/main/java/net/minecraft/server/PacketPlayOutCollect.java
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user