class EnchantmentType implements WordType<Enchantment> {

    @Override
    public <S> CompletableFuture<Suggestions> listSuggestions(CommandContext<S> context, SuggestionsBuilder builder) {
        for (var enchantment : ENCHANTMENTS.prefixedKeys(builder.getRemaining())) {
            builder.suggest(enchantment);
        }
        
        return builder.buildFuture();
    }

}