Interface DataCommands.DataProvider
- Enclosing class:
DataCommands
public static interface DataCommands.DataProvider
-
Method Summary
Modifier and TypeMethodDescriptionaccess
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139504_) com.mojang.brigadier.builder.ArgumentBuilder
<CommandSourceStack, ?> wrap
(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_139502_, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> p_139503_)
-
Method Details
-
access
DataAccessor access(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_139504_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
wrap
com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,?> wrap(com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> p_139502_, Function<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>> p_139503_)
-