}
@SideOnly(Side.CLIENT)
public IIcon getOverlayTextureForBlock(int side, int metadata) {
EnumFarmBlock type = EnumFarmBlock.BRICK_STONE;
if (metadata == 0 && side == 2)
return type.getIcon(TileFarm.TYPE_REVERSE);
else if (metadata == 0 && (side == 0 || side == 1))
return type.getIcon(TileFarm.TYPE_TOP);
switch (metadata) {
case 1:
return type.getIcon(TileFarm.TYPE_BAND);
case 2:
return type.getIcon(TileFarm.TYPE_GEARS);
case 3:
return type.getIcon(TileFarm.TYPE_HATCH);
case 4:
return type.getIcon(TileFarm.TYPE_VALVE);
case 5:
return type.getIcon(TileFarm.TYPE_CONTROL);
default:
return type.getIcon(TileFarm.TYPE_PLAIN);
}
}