All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.inventory.CartographyRecipe Maven / Gradle / Ivy

package cn.nukkit.inventory;

import cn.nukkit.api.PowerNukkitOnly;
import cn.nukkit.inventory.recipe.ItemDescriptor;
import cn.nukkit.item.Item;

import java.util.Collection;
import java.util.List;

@PowerNukkitOnly
public class CartographyRecipe extends ShapelessRecipe {

    public CartographyRecipe(Item result, Collection ingredients) {
        super(result, ingredients);
    }

    public CartographyRecipe(String recipeId, int priority, Item result, Collection ingredients) {
        super(recipeId, priority, result, ingredients);
    }

    public CartographyRecipe(String recipeId, int priority, Item result, List ingredients) {
        super(recipeId, priority, result, ingredients);
    }

    @Override
    public void registerToCraftingManager(CraftingManager manager) {
        manager.registerCartographyRecipe(this);
    }

    @Override
    public RecipeType getType() {
        return RecipeType.CARTOGRAPHY;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy