net.minecraft.commands.arguments

public class ItemEnchantmentArgument

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

dy
net.minecraft.commands.arguments.ItemEnchantmentArgument
net.minecraft.class_2194
net.minecraft.unmapped.C_cntewvie
net.minecraft.command.argument.EnchantmentArgumentType
net.minecraft.src.C_3518_
net.minecraft.commands.arguments.ArgumentEnchantment

Field summary

Modifier and TypeField
private static final Collection<String>
b
EXAMPLES
field_9871
f_qpjyehxe
EXAMPLES
f_95257_
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
a
ERROR_UNKNOWN_ENCHANTMENT
field_9872
f_lyibcydv
UNKNOWN_ENCHANTMENT_EXCEPTION
f_95256_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ItemEnchantmentArgument
a()
enchantment()
method_9336()
m_nvunppkc()
enchantment()
m_95260_()
public static Enchantment
a(com.mojang.brigadier.context.CommandContext<dl> 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)
m_oshiumlw(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getEnchantment(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_95263_(com.mojang.brigadier.context.CommandContext<C_2969_> p_95264_, String p_95265_)
public Enchantment
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9335(com.mojang.brigadier.StringReader arg0)
m_xpgrnuri(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> p_95273_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()