Package net.minecraft.server.command
Class RecipeCommand
java.lang.Object
net.minecraft.server.command.RecipeCommand
- Mappings:
Namespace Name official agb
intermediary net/minecraft/class_3095
named net/minecraft/server/command/RecipeCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
executeGive
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes) private static int
executeTake
(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes) static void
register
(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
GIVE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType GIVE_FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector official a
Lagb;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_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType TAKE_FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Lagb;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
-
RecipeCommand
public RecipeCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Lagb;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
-
executeGive
private 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
Lagb;a(Ldr;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
-
executeTake
private 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
Lagb;b(Ldr;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
-