net.minecraft.server.command

public class RecipeCommand

net.minecraft.server.commands.RecipeCommand
net.minecraft.class_3095
net.minecraft.server.command.RecipeCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_GIVE_FAILED
field_13681
GIVE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_TAKE_FAILED
field_13682
TAKE_FAILED_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_13517(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
giveRecipes(CommandSourceStack source, Collection<ServerPlayer> players, Collection<RecipeHolder<?>> recipes)
method_13520(class_2168 arg0, Collection<class_3222> arg1, Collection<class_8786<?>> arg2)
executeGive(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<RecipeEntry<?>> recipes)
private static int
takeRecipes(CommandSourceStack source, Collection<ServerPlayer> players, Collection<RecipeHolder<?>> recipes)
method_13518(class_2168 arg0, Collection<class_3222> arg1, Collection<class_8786<?>> arg2)
executeTake(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<RecipeEntry<?>> recipes)
private static Text
lambda$takeRecipes$7(Collection arg0, Collection arg1)
method_52032(Collection arg0, Collection arg1)
method_52032(Collection arg0, Collection arg1)
private static Text
lambda$takeRecipes$6(Collection arg0, Collection arg1)
method_52033(Collection arg0, Collection arg1)
method_52033(Collection arg0, Collection arg1)
private static Text
lambda$giveRecipes$5(Collection arg0, Collection arg1)
method_52034(Collection arg0, Collection arg1)
method_52034(Collection arg0, Collection arg1)
private static Text
lambda$giveRecipes$4(Collection arg0, Collection arg1)
method_52035(Collection arg0, Collection arg1)
method_52035(Collection arg0, Collection arg1)
private static int
lambda$register$3(com.mojang.brigadier.context.CommandContext arg0)
method_13521(com.mojang.brigadier.context.CommandContext arg0)
method_13521(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$2(com.mojang.brigadier.context.CommandContext arg0)
method_13515(com.mojang.brigadier.context.CommandContext arg0)
method_13515(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$1(com.mojang.brigadier.context.CommandContext arg0)
method_13519(com.mojang.brigadier.context.CommandContext arg0)
method_13519(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0)
method_13516(com.mojang.brigadier.context.CommandContext arg0)
method_13516(com.mojang.brigadier.context.CommandContext context)