net.minecraft.commands.arguments

public class ResourceLocationArgument

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

dv
net.minecraft.commands.arguments.ResourceLocationArgument
net.minecraft.class_2232
net.minecraft.command.arguments.IdentifierArgumentType
net.minecraft.command.arguments.ResourceLocationArgument
net.minecraft.server.v1_16_R1.ArgumentMinecraftKeyRegistered

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_9946
EXAMPLES
field_201322_e
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_ADVANCEMENT
field_9945
UNKNOWN_ADVANCEMENT_EXCEPTION
field_197200_b
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_UNKNOWN_RECIPE
field_9947
UNKNOWN_RECIPE_EXCEPTION
field_197202_d
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_UNKNOWN_PREDICATE
field_21506
field_21506
field_228258_d_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_UNKNOWN_ATTRIBUTE
field_24267
field_24267
field_239090_e_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static ResourceLocationArgument
a()
id()
method_9441()
identifier()
func_197197_a()
public static Advancement
a(com.mojang.brigadier.context.CommandContext<cz> 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> arg0, String arg1)
func_197198_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static Recipe<?>
b(com.mojang.brigadier.context.CommandContext<cz> 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> arg0, String arg1)
func_197194_b(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static LootItemCondition
c(com.mojang.brigadier.context.CommandContext<cz> 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)
method_23727(com.mojang.brigadier.context.CommandContext<ServerCommandSource> arg0, String arg1)
func_228259_c_(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static Attribute
d(com.mojang.brigadier.context.CommandContext<cz> arg0, String arg1)
getAttribute(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_27575(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
method_27575(com.mojang.brigadier.context.CommandContext<ServerCommandSource> arg0, String arg1)
func_239094_d_(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
public static ResourceLocation
e(com.mojang.brigadier.context.CommandContext<cz> 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)
func_197195_e(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
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()
getExamples()
getExamples()