Cubeb comes from a plant in the pepper family and grows almost exclusively in Java and other parts of Indonesia. It has a piney taste when raw, but when cooked it is more warm and pleasant – reminiscent of allspice.