Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
1package net.minecraft.server;
2
3import java.io.DataInputStream;
4import java.io.DataOutputStream;
5import java.io.IOException;
6
7public class Packet32EntityLook extends Packet30Entity {
8
9 public Packet32EntityLook() {
10 this.g = true;
11 }
12
13 public Packet32EntityLook(int i, byte b0, byte b1) {
14 super(i);
15 this.e = b0;
16 this.f = b1;
17 this.g = true;
18 }
19
20 public void a(DataInputStream datainputstream) throws IOException {
21 super.a(datainputstream);
22 this.e = datainputstream.readByte();
23 this.f = datainputstream.readByte();
24 }
25
26 public void a(DataOutputStream dataoutputstream) throws IOException {
27 super.a(dataoutputstream);
28 dataoutputstream.writeByte(this.e);
29 dataoutputstream.writeByte(this.f);
30 }
31
32 public int a() {
33 return 6;
34 }
35}