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