类 RecipeCommand
java.lang.Object
net.minecraft.server.commands.RecipeCommand
-
字段概要
字段修饰符和类型字段说明private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static int
giveRecipes
(CommandSourceStack p_138207_, Collection<ServerPlayer> p_138208_, Collection<RecipeHolder<?>> p_138209_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138201_) private static int
takeRecipes
(CommandSourceStack p_138213_, Collection<ServerPlayer> p_138214_, Collection<RecipeHolder<?>> p_138215_)
-
字段详细资料
-
ERROR_GIVE_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_GIVE_FAILED -
ERROR_TAKE_FAILED
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TAKE_FAILED
-
-
构造器详细资料
-
RecipeCommand
public RecipeCommand()
-
-
方法详细资料
-
register
-
giveRecipes
private static int giveRecipes(CommandSourceStack p_138207_, Collection<ServerPlayer> p_138208_, Collection<RecipeHolder<?>> p_138209_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
takeRecipes
private static int takeRecipes(CommandSourceStack p_138213_, Collection<ServerPlayer> p_138214_, Collection<RecipeHolder<?>> p_138215_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-