blocks are hard ;)
This commit is contained in:
parent
ee16097339
commit
4861364cd6
3 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue