Package net.minecraft.server.command
Class RecipeCommand
java.lang.Object
net.minecraft.server.command.RecipeCommand
- Mappings:
- Namespace - Name - official - afo- intermediary - net/minecraft/class_3095- named - net/minecraft/server/command/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 intexecuteGive(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes) private static intexecuteTake(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) 
- 
Field Details- 
GIVE_FAILED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType GIVE_FAILED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafo;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13681- Lnet/minecraft/class_3095;field_13681:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - GIVE_FAILED_EXCEPTION- Lnet/minecraft/server/command/RecipeCommand;GIVE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
TAKE_FAILED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType TAKE_FAILED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - b- Lafo;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13682- Lnet/minecraft/class_3095;field_13682:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - TAKE_FAILED_EXCEPTION- Lnet/minecraft/server/command/RecipeCommand;TAKE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
RecipeCommandpublic RecipeCommand()
 
- 
- 
Method Details- 
register- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafo;a(Lcom/mojang/brigadier/CommandDispatcher;)V- intermediary - method_13517- Lnet/minecraft/class_3095;method_13517(Lcom/mojang/brigadier/CommandDispatcher;)V- named - register- Lnet/minecraft/server/command/RecipeCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
 
- 
executeGiveprivate static int executeGive(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafo;a(Lds;Ljava/util/Collection;Ljava/util/Collection;)I- intermediary - method_13520- Lnet/minecraft/class_3095;method_13520(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/util/Collection;)I- named - executeGive- Lnet/minecraft/server/command/RecipeCommand;executeGive(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/util/Collection;)I
 
- 
executeTakeprivate static int executeTake(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lafo;b(Lds;Ljava/util/Collection;Ljava/util/Collection;)I- intermediary - method_13518- Lnet/minecraft/class_3095;method_13518(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/util/Collection;)I- named - executeTake- Lnet/minecraft/server/command/RecipeCommand;executeTake(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/util/Collection;)I
 
 
-