类 RecipeCommand
- java.lang.Object
-
- net.minecraft.server.command.RecipeCommand
-
public class RecipeCommand extends Object
- Mappings:
Namespace Name official yzintermediary net/minecraft/class_3095named net/minecraft/server/command/RecipeCommand
-
-
字段概要
字段 修饰符和类型 字段 说明 private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeGIVE_FAILED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeTAKE_FAILED_EXCEPTION
-
构造器概要
构造器 构造器 说明 RecipeCommand()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 private 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)
-
-
-
字段详细资料
-
GIVE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType GIVE_FAILED_EXCEPTION
- Mappings:
Namespace Name Mixin selector official aLyz;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13681Lnet/minecraft/class_3095;field_13681:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named GIVE_FAILED_EXCEPTIONLnet/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 bLyz;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13682Lnet/minecraft/class_3095;field_13682:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named TAKE_FAILED_EXCEPTIONLnet/minecraft/server/command/RecipeCommand;TAKE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
方法详细资料
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
- Mappings:
Namespace Name Mixin selector official aLyz;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13517Lnet/minecraft/class_3095;method_13517(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLyz;a(Ldg;Ljava/util/Collection;Ljava/util/Collection;)Iintermediary method_13520Lnet/minecraft/class_3095;method_13520(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/util/Collection;)Inamed executeGiveLnet/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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official bLyz;b(Ldg;Ljava/util/Collection;Ljava/util/Collection;)Iintermediary method_13518Lnet/minecraft/class_3095;method_13518(Lnet/minecraft/class_2168;Ljava/util/Collection;Ljava/util/Collection;)Inamed executeTakeLnet/minecraft/server/command/RecipeCommand;executeTake(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Ljava/util/Collection;)I
-
-