The state minimum standard energy code is hereby adopted, as supplemented and amended by the state department of community affairs, and enforcement of said code is directed in accordance with state law.