net.minecraft.commands.arguments

public class ItemEnchantmentArgument

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

co
net.minecraft.commands.arguments.ItemEnchantmentArgument
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
EXAMPLES
field_9871
EXAMPLES
field_201947_b
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_UNKNOWN_ENCHANTMENT
field_9872
UNKNOWN_ENCHANTMENT_EXCEPTION
field_201946_a

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ItemEnchantmentArgument
a()
enchantment()
method_9336()
itemEnchantment()
func_201945_a()
public static Enchantment
a(com.mojang.brigadier.context.CommandContext<cd> arg0, String arg1)
getEnchantment(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9334(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getEnchantment(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
func_201944_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public Enchantment
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9335(com.mojang.brigadier.StringReader arg0)
parse(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> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()
getExamples()