net.minecraft.server.v1_14_R1

public class ArgumentEnchantment

implements com.mojang.brigadier.arguments.ArgumentType<Enchantment>

co
net.minecraft.class_2194
net.minecraft.command.arguments.ItemEnchantmentArgumentType
net.minecraft.command.arguments.EnchantmentArgument
net.minecraft.server.v1_14_R1.ArgumentEnchantment

Field summary

Modifier and TypeField
private static final Collection<String>
b
field_9871
EXAMPLES
field_201947_b
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
field_9872
UNKNOWN_ENCHANTMENT_EXCEPTION
field_201946_a

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ArgumentEnchantment
a()
method_9336()
itemEnchantment()
func_201945_a()
public static Enchantment
a(com.mojang.brigadier.context.CommandContext<cd> arg0, String arg1)
method_9334(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getEnchantment(com.mojang.brigadier.context.CommandContext<ServerCommandSource> arg0, String arg1)
func_201944_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public Enchantment
a(com.mojang.brigadier.StringReader arg0)
method_9335(com.mojang.brigadier.StringReader arg0)
method_9335(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()