blocks are hard ;)

This commit is contained in:
gigabit101 2016-03-26 16:17:56 +00:00
parent ee16097339
commit 4861364cd6
3 changed files with 3 additions and 0 deletions

View file

@ -27,6 +27,7 @@ public class BlockSolarPanel extends BaseTileBlock implements ITexturedBlock
setUnlocalizedName("techreborn.solarpanel"); setUnlocalizedName("techreborn.solarpanel");
setCreativeTab(TechRebornCreativeTab.instance); setCreativeTab(TechRebornCreativeTab.instance);
this.setDefaultState(this.getDefaultState().withProperty(ACTIVE, false)); this.setDefaultState(this.getDefaultState().withProperty(ACTIVE, false));
setHardness(2.0F);
} }
protected BlockStateContainer createBlockState() protected BlockStateContainer createBlockState()

View file

@ -24,6 +24,7 @@ public class BlockWaterMill extends BaseTileBlock implements ITexturedBlock
super(Material.iron); super(Material.iron);
setUnlocalizedName("techreborn.watermill"); setUnlocalizedName("techreborn.watermill");
setCreativeTab(TechRebornCreativeTab.instance); setCreativeTab(TechRebornCreativeTab.instance);
setHardness(2.0F);
RebornCore.jsonDestroyer.registerObject(this); RebornCore.jsonDestroyer.registerObject(this);
} }

View file

@ -24,6 +24,7 @@ public class BlockWindMill extends BaseTileBlock implements ITexturedBlock
super(Material.iron); super(Material.iron);
setUnlocalizedName("techreborn.windmill"); setUnlocalizedName("techreborn.windmill");
setCreativeTab(TechRebornCreativeTab.instance); setCreativeTab(TechRebornCreativeTab.instance);
setHardness(2.0F);
RebornCore.jsonDestroyer.registerObject(this); RebornCore.jsonDestroyer.registerObject(this);
} }