EnchantLevelArgumentType

object EnchantLevelArgumentType : ArgumentType<EnchantLevel>

Positive enchantment level or the keyword max (the enchantment's highest level), mirroring the legacy string-based level parameter of the .enchant command.

Properties

Link copied to clipboard
open override val examples: Collection<String>

Functions

Link copied to clipboard
open override fun getExamples(): Collection<String>
Link copied to clipboard
open override fun <S> listSuggestions(context: CommandContext<S>, builder: SuggestionsBuilder): CompletableFuture<Suggestions>
Link copied to clipboard
open fun <S : Any?> parse(reader: StringReader?, source: S?): EnchantLevel?
open override fun parse(reader: StringReader): EnchantLevel