if((bitmask & 0x0002) != 0) {
x = Utils.shortValue(data, offset);
y = Utils.shortValue(data, offset + 2);
z = Utils.shortValue(data, offset + 4);
offset = offset + 6;
player.setOrigin(new Origin((int)(0.125 * x), (int)(0.125 * y), (int)(0.125 * z)));
}
if((bitmask & 0x0004) != 0) {
x = Utils.shortValue(data, offset);
y = Utils.shortValue(data, offset + 2);
z = Utils.shortValue(data, offset + 4);