public class RecipeCommand extends Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
GIVE_FAILED_EXCEPTION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
TAKE_FAILED_EXCEPTION |
Constructor and Description |
---|
RecipeCommand() |
Modifier and Type | Method and Description |
---|---|
private 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) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType GIVE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType TAKE_FAILED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int executeGive(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes)
private static int executeTake(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Collection<Recipe<?>> recipes)