Class HandArgument
java.lang.Object
net.darkhax.bookshelf.api.commands.args.EnumArgument<CommandHand.OutputType>
net.darkhax.bookshelf.impl.commands.args.HandArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<CommandHand.OutputType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HandArgumentstatic final SingletonArgumentInfo<HandArgument> -
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.brigadier.builder.RequiredArgumentBuilder<net.minecraft.commands.CommandSourceStack,CommandHand.OutputType> arg()static CommandHand.OutputTypeget(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context) Methods inherited from class net.darkhax.bookshelf.api.commands.args.EnumArgument
getExamples, listSuggestions, parse
-
Field Details
-
ARGUMENT
-
SERIALIZER
-
-
Method Details
-
get
public static CommandHand.OutputType get(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context) -
arg
public static com.mojang.brigadier.builder.RequiredArgumentBuilder<net.minecraft.commands.CommandSourceStack,CommandHand.OutputType> arg()
-