Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package net.minecraft.server;
2
3import java.io.DataInputStream;
4import java.io.DataOutputStream;
5import java.io.IOException;
6
7public class Packet17 extends Packet {
8
9 public int a;
10 public int b;
11 public int c;
12 public int d;
13 public int e;
14
15 public Packet17() {
16 }
17
18 public Packet17(Entity entity, int i, int j, int k, int l) {
19 this.e = i;
20 this.b = j;
21 this.c = k;
22 this.d = l;
23 this.a = entity.id;
24 }
25
26 public void a(DataInputStream datainputstream) throws IOException {
27 this.a = datainputstream.readInt();
28 this.e = datainputstream.readByte();
29 this.b = datainputstream.readInt();
30 this.c = datainputstream.readByte();
31 this.d = datainputstream.readInt();
32 }
33
34 public void a(DataOutputStream dataoutputstream) throws IOException {
35 dataoutputstream.writeInt(this.a);
36 dataoutputstream.writeByte(this.e);
37 dataoutputstream.writeInt(this.b);
38 dataoutputstream.writeByte(this.c);
39 dataoutputstream.writeInt(this.d);
40 }
41
42 public void a(NetHandler nethandler) {
43 nethandler.a(this);
44 }
45
46 public int a() {
47 return 14;
48 }
49}