aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkekzdealer <kekzdealer@gmail.com>2020-05-12 19:51:55 +0200
committerkekzdealer <kekzdealer@gmail.com>2020-05-12 19:51:55 +0200
commit3f6b71d26345ae018f14870d543070d88f7e6d8e (patch)
tree10370fc11dfd76747c9dc8dd21b68ce3f7ed7598
parentd8f485f3492a6e6df62f40a6b3218156bc244a28 (diff)
downloadGT5-Unofficial-3f6b71d26345ae018f14870d543070d88f7e6d8e.tar.gz
GT5-Unofficial-3f6b71d26345ae018f14870d543070d88f7e6d8e.tar.bz2
GT5-Unofficial-3f6b71d26345ae018f14870d543070d88f7e6d8e.zip
changed harvest tool for all my GT structure blocks to "wrench"
-rw-r--r--src/main/java/common/blocks/BaseGTUpdateableBlock.java1
-rw-r--r--src/main/java/common/blocks/Block_ItemProxyEndpoint.java1
-rw-r--r--src/main/java/common/blocks/Block_ItemProxySource.java1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/common/blocks/BaseGTUpdateableBlock.java b/src/main/java/common/blocks/BaseGTUpdateableBlock.java
index 81c56ae9e6..6f554101ca 100644
--- a/src/main/java/common/blocks/BaseGTUpdateableBlock.java
+++ b/src/main/java/common/blocks/BaseGTUpdateableBlock.java
@@ -19,6 +19,7 @@ public abstract class BaseGTUpdateableBlock extends Block {
protected BaseGTUpdateableBlock(Material material) {
super(material);
GregTech_API.registerMachineBlock(this, -1);
+ super.setHarvestLevel("wrench", 2);
}
@Override
diff --git a/src/main/java/common/blocks/Block_ItemProxyEndpoint.java b/src/main/java/common/blocks/Block_ItemProxyEndpoint.java
index 6bbf9fbfee..5b4888a1f5 100644
--- a/src/main/java/common/blocks/Block_ItemProxyEndpoint.java
+++ b/src/main/java/common/blocks/Block_ItemProxyEndpoint.java
@@ -31,6 +31,7 @@ public class Block_ItemProxyEndpoint extends Block {
instance.setBlockTextureName(KekzCore.MODID + ":" + "ItemProxyEndpoint");
instance.setHardness(3.0f);
instance.setResistance(2.0f);
+ instance.setHarvestLevel("wrench", 2);
GameRegistry.registerBlock(instance, IB_ItemProxyEndpoint.class, blockName);
return instance;
diff --git a/src/main/java/common/blocks/Block_ItemProxySource.java b/src/main/java/common/blocks/Block_ItemProxySource.java
index 4c3f65e67a..25d9de482b 100644
--- a/src/main/java/common/blocks/Block_ItemProxySource.java
+++ b/src/main/java/common/blocks/Block_ItemProxySource.java
@@ -30,6 +30,7 @@ public class Block_ItemProxySource extends Block {
instance.setBlockTextureName(KekzCore.MODID + ":" + "ItemProxySource");
instance.setHardness(3.0f);
instance.setResistance(2.0f);
+ instance.setHarvestLevel("wrench", 2);
GameRegistry.registerBlock(instance, IB_ItemProxySource.class, blockName);
return instance;