From 4861364cd6b0c7061e6393e10b93d8da2dcab009 Mon Sep 17 00:00:00 2001 From: gigabit101 Date: Sat, 26 Mar 2016 16:17:56 +0000 Subject: [PATCH] blocks are hard ;) --- src/main/java/techreborn/blocks/generator/BlockSolarPanel.java | 1 + src/main/java/techreborn/blocks/generator/BlockWaterMill.java | 1 + src/main/java/techreborn/blocks/generator/BlockWindMill.java | 1 + 3 files changed, 3 insertions(+) diff --git a/src/main/java/techreborn/blocks/generator/BlockSolarPanel.java b/src/main/java/techreborn/blocks/generator/BlockSolarPanel.java index b267d30ad..0323c6806 100644 --- a/src/main/java/techreborn/blocks/generator/BlockSolarPanel.java +++ b/src/main/java/techreborn/blocks/generator/BlockSolarPanel.java @@ -27,6 +27,7 @@ public class BlockSolarPanel extends BaseTileBlock implements ITexturedBlock setUnlocalizedName("techreborn.solarpanel"); setCreativeTab(TechRebornCreativeTab.instance); this.setDefaultState(this.getDefaultState().withProperty(ACTIVE, false)); + setHardness(2.0F); } protected BlockStateContainer createBlockState() diff --git a/src/main/java/techreborn/blocks/generator/BlockWaterMill.java b/src/main/java/techreborn/blocks/generator/BlockWaterMill.java index a3df4292e..62259472e 100644 --- a/src/main/java/techreborn/blocks/generator/BlockWaterMill.java +++ b/src/main/java/techreborn/blocks/generator/BlockWaterMill.java @@ -24,6 +24,7 @@ public class BlockWaterMill extends BaseTileBlock implements ITexturedBlock super(Material.iron); setUnlocalizedName("techreborn.watermill"); setCreativeTab(TechRebornCreativeTab.instance); + setHardness(2.0F); RebornCore.jsonDestroyer.registerObject(this); } diff --git a/src/main/java/techreborn/blocks/generator/BlockWindMill.java b/src/main/java/techreborn/blocks/generator/BlockWindMill.java index b52c11fc2..a10ce1688 100644 --- a/src/main/java/techreborn/blocks/generator/BlockWindMill.java +++ b/src/main/java/techreborn/blocks/generator/BlockWindMill.java @@ -24,6 +24,7 @@ public class BlockWindMill extends BaseTileBlock implements ITexturedBlock super(Material.iron); setUnlocalizedName("techreborn.windmill"); setCreativeTab(TechRebornCreativeTab.instance); + setHardness(2.0F); RebornCore.jsonDestroyer.registerObject(this); }