Added solar panel

This commit is contained in:
modmuss50 2016-02-25 18:21:59 +00:00
parent ba19a60fcc
commit ed3d3c78b5
5 changed files with 105 additions and 0 deletions

View file

@ -0,0 +1,25 @@
package techreborn.blocks.generator;
import net.minecraft.block.material.Material;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import reborncore.common.BaseTileBlock;
import techreborn.client.TechRebornCreativeTab;
import techreborn.tiles.generator.TileSolarPanel;
/**
* Created by mark on 25/02/2016.
*/
public class BlockSolarPanel extends BaseTileBlock {
public BlockSolarPanel() {
super(Material.iron);
setUnlocalizedName("techreborn.solarpanel");
setCreativeTab(TechRebornCreativeTab.instance);
}
@Override
public TileEntity createNewTileEntity(World worldIn, int meta) {
return new TileSolarPanel();
}
}