public class FunctionArgument extends java.lang.Object implements com.mojang.brigadier.arguments.ArgumentType<FunctionArgument.IResult>
Modifier and Type | Class and Description |
---|---|
static interface |
FunctionArgument.IResult |
Modifier and Type | Field and Description |
---|---|
private static java.util.Collection<java.lang.String> |
EXAMPLES |
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType |
FUNCTION_UNKNOWN |
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType |
FUNCTION_UNKNOWN_TAG |
Constructor and Description |
---|
FunctionArgument() |
Modifier and Type | Method and Description |
---|---|
private static FunctionObject |
func_218108_c(com.mojang.brigadier.context.CommandContext<CommandSource> p_218108_0_,
ResourceLocation p_218108_1_) |
static com.mojang.datafixers.util.Either<FunctionObject,Tag<FunctionObject>> |
func_218110_b(com.mojang.brigadier.context.CommandContext<CommandSource> p_218110_0_,
java.lang.String p_218110_1_) |
private static Tag<FunctionObject> |
func_218111_d(com.mojang.brigadier.context.CommandContext<CommandSource> p_218111_0_,
ResourceLocation p_218111_1_) |
static FunctionArgument |
function() |
java.util.Collection<java.lang.String> |
getExamples() |
static java.util.Collection<FunctionObject> |
getFunctions(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
FunctionArgument.IResult |
parse(com.mojang.brigadier.StringReader p_parse_1_) |
private static final java.util.Collection<java.lang.String> EXAMPLES
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType FUNCTION_UNKNOWN_TAG
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType FUNCTION_UNKNOWN
public static FunctionArgument function()
public FunctionArgument.IResult parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<FunctionArgument.IResult>
com.mojang.brigadier.exceptions.CommandSyntaxException
private static FunctionObject func_218108_c(com.mojang.brigadier.context.CommandContext<CommandSource> p_218108_0_, ResourceLocation p_218108_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static Tag<FunctionObject> func_218111_d(com.mojang.brigadier.context.CommandContext<CommandSource> p_218111_0_, ResourceLocation p_218111_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
public static java.util.Collection<FunctionObject> getFunctions(com.mojang.brigadier.context.CommandContext<CommandSource> context, java.lang.String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
public static com.mojang.datafixers.util.Either<FunctionObject,Tag<FunctionObject>> func_218110_b(com.mojang.brigadier.context.CommandContext<CommandSource> p_218110_0_, java.lang.String p_218110_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
public java.util.Collection<java.lang.String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<FunctionArgument.IResult>