diff options
author | â€huajijam <strhuaji@gmail.com> | 2019-03-31 15:05:29 +0800 |
---|---|---|
committer | â€huajijam <strhuaji@gmail.com> | 2019-03-31 15:05:29 +0800 |
commit | 98649eab067e2ffd4c6983fe44f75b65ffb0954b (patch) | |
tree | 175a784ebbb965e397f091a3e20749f58c76a11f /src/Java/gtPlusPlus/core/item | |
parent | b14ab1f1555d7e185b01a2787be00215d378803e (diff) | |
parent | cbdea67a3b25bb5be210cb4f4f394ba71caee493 (diff) | |
download | GT5-Unofficial-98649eab067e2ffd4c6983fe44f75b65ffb0954b.tar.gz GT5-Unofficial-98649eab067e2ffd4c6983fe44f75b65ffb0954b.tar.bz2 GT5-Unofficial-98649eab067e2ffd4c6983fe44f75b65ffb0954b.zip |
Automatic synchronization
Diffstat (limited to 'src/Java/gtPlusPlus/core/item')
-rw-r--r-- | src/Java/gtPlusPlus/core/item/base/rods/BaseItemRod.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Java/gtPlusPlus/core/item/base/rods/BaseItemRod.java b/src/Java/gtPlusPlus/core/item/base/rods/BaseItemRod.java index eaa0905c93..ef3266fe75 100644 --- a/src/Java/gtPlusPlus/core/item/base/rods/BaseItemRod.java +++ b/src/Java/gtPlusPlus/core/item/base/rods/BaseItemRod.java @@ -13,12 +13,12 @@ public class BaseItemRod extends BaseItemComponent{ public BaseItemRod(final Material material) { super(material, BaseItemComponent.ComponentTypes.ROD); - this.addExtruderRecipe(); - this.addLatheRecipe(); + this.addCutterRecipe(material); + this.addLatheRecipe(material); } - private void addExtruderRecipe(){ + private void addCutterRecipe(Material material){ Logger.WARNING("Adding cutter recipe for "+this.materialName+" Rods"); final ItemStack stackStick = this.componentMaterial.getRod(1); final ItemStack stackBolt = this.componentMaterial.getBolt(4); @@ -29,20 +29,20 @@ public class BaseItemRod extends BaseItemComponent{ stackBolt, null, (int) Math.max(this.componentMaterial.getMass() * 2L, 1L), - 4); + material.vVoltageMultiplier); } - private void addLatheRecipe(){ + private void addLatheRecipe(Material material){ Logger.WARNING("Adding recipe for "+this.materialName+" Rod"); ItemStack boltStack = this.componentMaterial.getIngot(1); if (ItemUtils.checkForInvalidItems(boltStack)){ GT_Values.RA.addLatheRecipe( boltStack, ItemUtils.getSimpleStack(this), - null, + material.getSmallDust(2), (int) Math.max(this.componentMaterial.getMass() / 8L, 1L), - 4); + material.vVoltageMultiplier); } } |