equivalent-exchange-3/common/com/pahimar/ee3/client/model/ModelCalcinator.java
2013-08-23 10:59:50 -04:00

39 lines
821 B
Java

package com.pahimar.ee3.client.model;
import net.minecraftforge.client.model.AdvancedModelLoader;
import net.minecraftforge.client.model.IModelCustom;
import com.pahimar.ee3.lib.Models;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
/**
* ModelCalcinator
*
* Model for the Calcinator
*
* @author pahimar
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
@SideOnly(Side.CLIENT)
public class ModelCalcinator {
private IModelCustom modelCalcinator;
public ModelCalcinator() {
modelCalcinator = AdvancedModelLoader.loadModel(Models.CALCINATOR);
}
public void render() {
modelCalcinator.renderAll();
}
public void renderPart(String partName) {
modelCalcinator.renderPart(partName);
}
}