From 2de2049a2fafd6eae1dad2b2f10e2fcbc19a2acd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Tue, 24 Mar 2015 18:19:11 +0100 Subject: [PATCH] Recipe for printer. --- .../resources/assets/opencomputers/recipes/default.recipes | 5 +++++ src/main/scala/li/cil/oc/common/init/Blocks.scala | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/resources/assets/opencomputers/recipes/default.recipes b/src/main/resources/assets/opencomputers/recipes/default.recipes index 415e999c9..f2a70e358 100644 --- a/src/main/resources/assets/opencomputers/recipes/default.recipes +++ b/src/main/resources/assets/opencomputers/recipes/default.recipes @@ -514,6 +514,11 @@ motionSensor { [daylightDetector, "oc:cpu2", daylightDetector] [ingotGold, "oc:materialCircuitBoardPrinted", ingotGold]] } +printer { + input: [[ingotIron, hopper, ingotIron] + [craftingPiston, "oc:circuitChip3", craftingPiston] + [ingotIron, "oc:materialCircuitBoardPrinted", ingotIron]] +} powerConverter { input: [[ingotIron, "oc:cable", ingotIron] [ingotGold, "oc:circuitChip1", ingotGold] diff --git a/src/main/scala/li/cil/oc/common/init/Blocks.scala b/src/main/scala/li/cil/oc/common/init/Blocks.scala index 396fc42b9..5f85da124 100644 --- a/src/main/scala/li/cil/oc/common/init/Blocks.scala +++ b/src/main/scala/li/cil/oc/common/init/Blocks.scala @@ -86,6 +86,6 @@ object Blocks { // v1.5.4 Items.registerBlock(new Print(), "print") - Items.registerBlock(new Printer(), "printer") + Recipes.addBlock(new Printer(), "printer", "oc:printer") } }