net.minecraft.command.argument

public class IdentifierArgument

implements ArgumentType<Identifier>

co
net.minecraft.class_4181
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_20523
EXAMPLES
field_201322_e
EXAMPLES
public static final DynamicCommandExceptionType
a
field_20520
UNKNOWN_ID_EXCEPTION
field_197199_a
UNKNOWN_ID
public static final DynamicCommandExceptionType
b
field_20521
UNKNOWN_ADVANCEMENT_EXCEPTION
field_197200_b
ADVANCEMENT_NOT_FOUND
public static final DynamicCommandExceptionType
c
field_20522
UNKNOWN_RECIPE_EXCEPTION
field_197202_d
RECIPE_NOT_FOUND

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static IdentifierArgument
a()
method_18904()
identifier()
func_197197_a()
resourceLocation()
public static Advancement
a(CommandContext<bu> arg0, String arg1)
method_18906(com.mojang.brigadier.context.CommandContext<class_3915> 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<bu> arg0, String arg1)
method_18908(com.mojang.brigadier.context.CommandContext<class_3915> 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<bu> arg0, String arg1)
method_18910(com.mojang.brigadier.context.CommandContext<class_3915> 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_18905(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()
getExamples()
getExamples()