net.minecraft.commands.arguments

public class ResourceLocationArgument

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

eq
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_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_UNKNOWN_PREDICATE
field_21506
UNKNOWN_PREDICATE_EXCEPTION
f_106980_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_UNKNOWN_ITEM_MODIFIER
field_28002
UNKNOWN_ITEM_MODIFIER_EXCEPTION
f_171024_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ResourceLocationArgument
a()
id()
method_9441()
identifier()
m_106984_()
public static Advancement
a(com.mojang.brigadier.context.CommandContext<dr> 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 Recipe<?>
b(com.mojang.brigadier.context.CommandContext<dr> 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 LootItemCondition
c(com.mojang.brigadier.context.CommandContext<dr> arg0, String arg1)
getPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_23727(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getPredicateArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName)
m_107001_(com.mojang.brigadier.context.CommandContext<C_2969_> p_107002_, String p_107003_)
public static LootItemFunction
d(com.mojang.brigadier.context.CommandContext<dr> arg0, String arg1)
getItemModifier(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_32688(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getItemModifierArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName)
m_171031_(com.mojang.brigadier.context.CommandContext<C_2969_> p_171032_, String p_171033_)
public static ResourceLocation
e(com.mojang.brigadier.context.CommandContext<dr> 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()