Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 49 lines 1.2 kB view raw
1package net.minecraft.server; 2 3import java.io.DataInputStream; 4import java.io.DataOutputStream; 5import java.io.IOException; 6 7public class Packet61 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 Packet61() { 16 } 17 18 public Packet61(int i, int j, int k, int l, int i1) { 19 this.a = i; 20 this.c = j; 21 this.d = k; 22 this.e = l; 23 this.b = i1; 24 } 25 26 public void a(DataInputStream datainputstream) throws IOException { 27 this.a = datainputstream.readInt(); 28 this.c = datainputstream.readInt(); 29 this.d = datainputstream.readByte(); 30 this.e = datainputstream.readInt(); 31 this.b = datainputstream.readInt(); 32 } 33 34 public void a(DataOutputStream dataoutputstream) throws IOException { 35 dataoutputstream.writeInt(this.a); 36 dataoutputstream.writeInt(this.c); 37 dataoutputstream.writeByte(this.d); 38 dataoutputstream.writeInt(this.e); 39 dataoutputstream.writeInt(this.b); 40 } 41 42 public void a(NetHandler nethandler) { 43 nethandler.a(this); 44 } 45 46 public int a() { 47 return 20; 48 } 49}