This commit is contained in:
gigabit101 2016-02-25 18:26:07 +00:00
commit 9ce8d58062
6 changed files with 106 additions and 1 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();
}
}