net.minecraft.server.commands

public class RecipeCommand

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

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ew> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13517(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
a(ew arg0, Collection<asi> arg1, Collection<dcj<?>> arg2)
giveRecipes(CommandSourceStack arg0, Collection<ServerPlayer> arg1, Collection<RecipeHolder<?>> arg2)
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
b(ew arg0, Collection<asi> arg1, Collection<dcj<?>> arg2)
takeRecipes(CommandSourceStack arg0, Collection<ServerPlayer> arg1, Collection<RecipeHolder<?>> arg2)
method_13518(class_2168 arg0, Collection<class_3222> arg1, Collection<class_8786<?>> arg2)
executeTake(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<RecipeEntry<?>> recipes)