Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 34 lines 741 B view raw
1package net.minecraft.server; 2 3import java.io.DataInputStream; 4import java.io.DataOutputStream; 5import java.io.IOException; 6 7public class Packet70Bed extends Packet { 8 9 public static final String[] a = new String[] { "tile.bed.notValid", null, null }; 10 public int b; 11 12 public Packet70Bed() { 13 } 14 15 public Packet70Bed(int i) { 16 this.b = i; 17 } 18 19 public void a(DataInputStream datainputstream) throws IOException { 20 this.b = datainputstream.readByte(); 21 } 22 23 public void a(DataOutputStream dataoutputstream) throws IOException { 24 dataoutputstream.writeByte(this.b); 25 } 26 27 public void a(NetHandler nethandler) { 28 nethandler.a(this); 29 } 30 31 public int a() { 32 return 1; 33 } 34}