if (!world.isRemote) { // проверяем что это сервер
ItemStack stack = new ItemStack(Items.DIAMOND);
ItemEntity itementity = new ItemEntity(world, x, y, z, stack); // x, y, z - координаты
itementity.setDefaultPickupDelay(); // чтобы брался не сразу, а с задержкой
world.addEntity(itementity); // спавним в мир
}