net.minecraft.commands.arguments

public class ResourceLocationArgument

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

fq
net.minecraft.commands.arguments.ResourceLocationArgument
net.minecraft.class_2232
net.minecraft.command.argument.IdentifierArgumentType
net.minecraft.src.C_4008_
net.minecraft.commands.arguments.ArgumentMinecraftKeyRegistered

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_9946
EXAMPLES
f_106977_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_ADVANCEMENT
field_9945
UNKNOWN_ADVANCEMENT_EXCEPTION
f_106978_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_UNKNOWN_RECIPE
field_9947
UNKNOWN_RECIPE_EXCEPTION
f_106979_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ResourceLocationArgument
a()
id()
method_9441()
identifier()
m_106984_()
public static AdvancementHolder
a(com.mojang.brigadier.context.CommandContext<ep> arg0, String arg1)
getAdvancement(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9439(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getAdvancementArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName)
m_106987_(com.mojang.brigadier.context.CommandContext<C_2969_> p_106988_, String p_106989_)
public static RecipeHolder<?>
b(com.mojang.brigadier.context.CommandContext<ep> arg0, String arg1)
getRecipe(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9442(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getRecipeArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName)
m_106994_(com.mojang.brigadier.context.CommandContext<C_2969_> p_106995_, String p_106996_)
public static ResourceLocation
c(com.mojang.brigadier.context.CommandContext<ep> arg0, String arg1)
getId(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9443(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getIdentifier(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
m_107011_(com.mojang.brigadier.context.CommandContext<C_2969_> p_107012_, String p_107013_)
public ResourceLocation
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9446(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public Collection<String>
getExamples()
getExamples()
getExamples()