前提Mod: Minecraft1.7.10 IC2Exp
リビジョン | e2f0afcf294c1d8767048478fd3f1dbf675531dd (tree) |
---|---|
日時 | 2015-08-06 18:24:24 |
作者 | MirrgieRiana |
コミッター | MirrgieRiana |
remove: metaItem(circuitBasic), 鉱石辞書でIC2のアイテムを直接出すことにきりかえ
@@ -8,6 +8,7 @@ | ||
8 | 8 | import mirrg.minecraft.item.multi.copper.ItemMulti; |
9 | 9 | import mirrg.minecraft.item.multi.copper.Metaitem; |
10 | 10 | import mirrg.minecraft.itemstack.mir60.HItemStack; |
11 | +import mirrg.minecraft.itemstack.mir60.HOreDictionary; | |
11 | 12 | import net.minecraft.init.Blocks; |
12 | 13 | import net.minecraft.init.Items; |
13 | 14 | import net.minecraft.item.ItemStack; |
@@ -77,17 +78,21 @@ | ||
77 | 78 | |
78 | 79 | addMetaitem(multiCrops, i++, "cropReedCircuit", true); |
79 | 80 | mod.onPostInit.add(() -> { |
80 | - GameRegistry.addRecipe(new ShapelessOreRecipe( | |
81 | - AliItemStack.circuitBasic, | |
82 | - AliItemStack.cropReedCircuit)); | |
81 | + HOreDictionary.findFirst("circuitBasic", ore -> { | |
82 | + GameRegistry.addRecipe(new ShapelessOreRecipe( | |
83 | + ore, | |
84 | + AliItemStack.cropReedCircuit)); | |
85 | + }); | |
83 | 86 | }); |
84 | 87 | |
85 | 88 | addMetaitem(multiCrops, i++, "cropReedWire", true); |
86 | - //onInit.add(() -> { | |
87 | - // OreDictionary.registerOre("wireCoveredCopper", AliItemStack.cropReedWire); | |
88 | - //}); // TODO | |
89 | - | |
90 | - addMetaitem(multiCrops, i++, "circuitBasic", true); | |
89 | + mod.onPostInit.add(() -> { | |
90 | + HOreDictionary.findFirst("craftingWireCopper", ore -> { | |
91 | + GameRegistry.addRecipe(new ShapelessOreRecipe( | |
92 | + ore, | |
93 | + AliItemStack.cropReedWire)); | |
94 | + }); | |
95 | + }); | |
91 | 96 | |
92 | 97 | } |
93 | 98 | { |
@@ -31,7 +31,6 @@ | ||
31 | 31 | // 300 |
32 | 32 | cropReedCircuit, |
33 | 33 | cropReedWire, |
34 | - circuitBasic, | |
35 | 34 | cropWartGlass, |
36 | 35 | dustGlass, |
37 | 36 |
@@ -66,7 +66,6 @@ | ||
66 | 66 | |
67 | 67 | item.cropReedCircuit.name=Reed Circuit |
68 | 68 | item.cropReedWire.name=Reed Wire |
69 | -item.circuitBasic.name=Basic Circuit | |
70 | 69 | |
71 | 70 | item.cropWartGlass.name=Glass Wart |
72 | 71 | item.dustGlass.name=Glass Dust |
@@ -65,8 +65,9 @@ | ||
65 | 65 | item.gemCertusQuartz.name=ケルタスクォーツ |
66 | 66 | |
67 | 67 | item.cropReedCircuit.name=配線で囲われた脳 |
68 | +item.cropReedCircuit.information=機械部品として使えそうだ。 | |
68 | 69 | item.cropReedWire.name=ゴムで覆われた神経 |
69 | -item.circuitBasic.name=基礎回路 | |
70 | +item.cropReedWire.information=機械部品として使えそうだ。 | |
70 | 71 | |
71 | 72 | item.cropWartGlass.name=グラスワート |
72 | 73 | item.dustGlass.name=ガラスの粉 |