Package net.minecraft.server.commands
Class RecipeCommand
java.lang.Object
net.minecraft.server.commands.RecipeCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intgiveRecipes(CommandSourceStack p_138207_, Collection<ServerPlayer> p_138208_, Collection<RecipeHolder<?>> p_138209_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138201_) private static inttakeRecipes(CommandSourceStack p_138213_, Collection<ServerPlayer> p_138214_, Collection<RecipeHolder<?>> p_138215_) 
- 
Field Details- 
ERROR_GIVE_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_GIVE_FAILED
- 
ERROR_TAKE_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TAKE_FAILED
 
- 
- 
Constructor Details- 
RecipeCommandpublic RecipeCommand()
 
- 
- 
Method Details- 
register
- 
giveRecipesprivate static int giveRecipes(CommandSourceStack p_138207_, Collection<ServerPlayer> p_138208_, Collection<RecipeHolder<?>> p_138209_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
takeRecipesprivate static int takeRecipes(CommandSourceStack p_138213_, Collection<ServerPlayer> p_138214_, Collection<RecipeHolder<?>> p_138215_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
 
-