Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 33 lines 682 B view raw
1package net.minecraft.server; 2 3import java.io.DataInputStream; 4import java.io.DataOutputStream; 5import java.io.IOException; 6 7public class Packet29DestroyEntity extends Packet { 8 9 public int a; 10 11 public Packet29DestroyEntity() { 12 } 13 14 public Packet29DestroyEntity(int i) { 15 this.a = i; 16 } 17 18 public void a(DataInputStream datainputstream) throws IOException { 19 this.a = datainputstream.readInt(); 20 } 21 22 public void a(DataOutputStream dataoutputstream) throws IOException { 23 dataoutputstream.writeInt(this.a); 24 } 25 26 public void a(NetHandler nethandler) { 27 nethandler.a(this); 28 } 29 30 public int a() { 31 return 4; 32 } 33}