how could i tp the player to an unloaded dimension right after the clearInventory
@Override
public InteractionResultHolder<ItemStack> use(Level level, Player player, InteractionHand usedHand) {
player.playSound(Sounds.CORRUPT_CRYSTAL_USE.get(), 1f, 1f);
player.getCooldowns().addCooldown(this, 100);
player.addEffect(new MobEffectInstance(MobEffects.BLINDNESS, 150, 355));
player.getInventory().clearContent();
return super.use(level, player, usedHand);
}