Search in sources :

Example 1 with CraftBlastingRecipe

use of org.bukkit.craftbukkit.v.inventory.CraftBlastingRecipe in project Arclight by IzzelAliz.

the class BlastingRecipeMixin method bridge$toBukkitRecipe.

@Override
public Recipe bridge$toBukkitRecipe() {
    CraftItemStack result = CraftItemStack.asCraftMirror(this.result);
    CraftBlastingRecipe recipe = new CraftBlastingRecipe(CraftNamespacedKey.fromMinecraft(this.getId()), result, CraftRecipe.toBukkit(this.ingredient), this.experience, this.cookTime);
    recipe.setGroup(this.group);
    return recipe;
}
Also used : CraftItemStack(org.bukkit.craftbukkit.v.inventory.CraftItemStack) CraftBlastingRecipe(org.bukkit.craftbukkit.v.inventory.CraftBlastingRecipe)

Aggregations

CraftBlastingRecipe (org.bukkit.craftbukkit.v.inventory.CraftBlastingRecipe)1 CraftItemStack (org.bukkit.craftbukkit.v.inventory.CraftItemStack)1