add((byte) player.getYaw()); // Rotation
add((byte) player.getPitch()); // Pitch
short selecteditem = 0;
try {
MCItemSlot currentitem = player.getHeldItemAtSlot(player.getSelectedSlot());
selecteditem = currentitem.getItem().getItemId();
} catch (UnrecoverableException e) {
e.printStackTrace();
} catch (NullPointerException e) {}
addShort(selecteditem); // Current item