equivalent-exchange-3/ee3_client/ee3/client/render/RenderCalcinator.java
2012-10-27 17:41:02 -04:00

32 lines
890 B
Java

package ee3.client.render;
import org.lwjgl.opengl.GL11;
import ee3.common.tile.TileCalcinator;
import net.minecraft.src.ModelBase;
import net.minecraft.src.ModelRenderer;
import net.minecraft.src.TileEntity;
import net.minecraft.src.TileEntitySpecialRenderer;
/**
* RenderCalcinator
*
* Renders the Calcinator in game as a TESR (Tile Entity Special Render)
*
* @author pahimar
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
public class RenderCalcinator extends TileEntitySpecialRenderer {
static final float scale = (float) (1.0 / 16.0);
private ModelCalcinator modelCalcinator = new ModelCalcinator(scale);
@Override
public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float tick) {
modelCalcinator.render((TileCalcinator)tileEntity, x, y, z);
}
}