Class ArgumentEnchantment
java.lang.Object
net.minestom.server.command.builder.arguments.Argument<Enchantment>
net.minestom.server.command.builder.arguments.minecraft.registry.ArgumentRegistry<Enchantment>
net.minestom.server.command.builder.arguments.minecraft.registry.ArgumentEnchantment
Represents an argument giving an
Enchantment
.-
Field Summary
Fields inherited from class net.minestom.server.command.builder.arguments.minecraft.registry.ArgumentRegistry
INVALID_NAME
Fields inherited from class net.minestom.server.command.builder.arguments.Argument
allowSpace, CONTAINER, suggestionType, useRemaining
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minestom.server.command.builder.arguments.minecraft.registry.ArgumentRegistry
parse
Methods inherited from class net.minestom.server.command.builder.arguments.Argument
allowSpace, equals, filter, getCallback, getDefaultValue, getId, getSuggestionCallback, hasErrorCallback, hashCode, hasSuggestion, isOptional, map, map, nodeProperties, parse, setCallback, setDefaultValue, setDefaultValue, setDefaultValue, setSuggestionCallback, suggestionType, useRemaining
-
Constructor Details
-
ArgumentEnchantment
-
-
Method Details
-
parser
- Specified by:
parser
in classArgument<Enchantment>
-
getRegistry
- Specified by:
getRegistry
in classArgumentRegistry<Enchantment>
-
toString
-