net.minecraft.command.argument

public class IdentifierArgument

implements ArgumentType<Identifier>

cy
net.minecraft.class_2232
net.minecraft.command.argument.IdentifierArgument
net.minecraft.command.arguments.ResourceLocationArgument
net.minecraft.command.arguments.ResourceLocationArgument

Field summary

Modifier and TypeField
private static final Collection<String>
d
field_9946
EXAMPLES
field_201322_e
field_201322_e
public static final DynamicCommandExceptionType
a
field_9944
UNKNOWN_ID_EXCEPTION
field_197199_a
field_197199_a
public static final DynamicCommandExceptionType
b
field_9945
UNKNOWN_ADVANCEMENT_EXCEPTION
field_197200_b
field_197200_b
public static final DynamicCommandExceptionType
c
field_9947
UNKNOWN_RECIPE_EXCEPTION
field_197202_d
field_197202_d

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static IdentifierArgument
a()
method_9441()
identifier()
func_197197_a()
resourceLocation()
public static Advancement
a(CommandContext<cd> arg0, String arg1)
method_9439(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getAdvancement(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, String arg)
func_197198_a(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getAdvancement(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static Recipe<?>
b(CommandContext<cd> arg0, String arg1)
method_9442(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getRecipe(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String arg)
func_197194_b(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getRecipe(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public static Identifier
c(CommandContext<cd> arg0, String arg1)
method_9443(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getId(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String arg)
func_197195_e(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, String arg1)
getResourceLocation(com.mojang.brigadier.context.CommandContext<CommandSource> context, String name)
public Identifier
a(StringReader arg0)
method_9446(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public Collection<String>
getExamples()
getExamples()