public static interface DataCommand.IDataProvider
Modifier and Type | Method and Description |
---|---|
IDataAccessor |
createAccessor(com.mojang.brigadier.context.CommandContext<CommandSource> context) |
com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> |
createArgument(com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> builder,
java.util.function.Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>> action) |
IDataAccessor createAccessor(com.mojang.brigadier.context.CommandContext<CommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> createArgument(com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> builder, java.util.function.Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>,com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>> action)