blob: 552d82a9be5c0ebc0c17e0b5c4990e8fd79006f5 [file] [log] [blame] [raw]
Florian Nücke2cea7302014-05-02 00:47:13 +02001package li.cil.oc.common.recipe
2
Florian Nücke2cea7302014-05-02 00:47:13 +02003import net.minecraft.inventory.InventoryCrafting
Florian Nückecf521f42014-06-19 16:23:26 +02004import net.minecraft.item.ItemStack
5import net.minecraftforge.oredict.ShapedOreRecipe
Florian Nücke2cea7302014-05-02 00:47:13 +02006
7class ExtendedShapedOreRecipe(result: ItemStack, ingredients: AnyRef*) extends ShapedOreRecipe(result, ingredients: _*) {
8 override def getCraftingResult(inventory: InventoryCrafting) =
Florian Nückee24e2df2015-04-05 14:23:13 +02009 ExtendedRecipe.addNBTToResult(this, super.getCraftingResult(inventory), inventory)
Florian Nücke2cea7302014-05-02 00:47:13 +020010}