Fixed #174 - Solar panel breaking texture
This commit is contained in:
parent
a298d8eedb
commit
74bfb96976
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,7 @@ package resonantinduction.electrical.generator.solar;
|
||||||
|
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
|
import resonantinduction.core.Reference;
|
||||||
import resonantinduction.core.prefab.block.BlockRI;
|
import resonantinduction.core.prefab.block.BlockRI;
|
||||||
import resonantinduction.core.render.RIBlockRenderingHandler;
|
import resonantinduction.core.render.RIBlockRenderingHandler;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
|
@ -12,7 +13,8 @@ public class BlockSolarPanel extends BlockRI
|
||||||
public BlockSolarPanel()
|
public BlockSolarPanel()
|
||||||
{
|
{
|
||||||
super("solarPanel");
|
super("solarPanel");
|
||||||
this.setBlockBounds(0, 0, 0, 1, 0.5f, 1);
|
setTextureName(Reference.PREFIX + "material_metal_side");
|
||||||
|
setBlockBounds(0, 0, 0, 1, 0.5f, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue