NBTCompound tag = new NBTCompound(POSITION);
tag.put(new NBTDouble(X, x));
tag.put(new NBTDouble(Y, y));
tag.put(new NBTDouble(Z, z));
tag.put(new NBTInt(DIMENSION, dimension.index()));
tag.put(new NBTFloat(YAW, yaw));
tag.put(new NBTFloat(PITCH, pitch));
return tag;
}