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