equivalent-exchange-3/ee3_client/ee3/client/render/RenderCalcinator.java

24 lines
668 B
Java
Raw Normal View History

2012-08-29 22:02:30 +02:00
package ee3.client.render;
import org.lwjgl.opengl.GL11;
import ee3.common.tile.TileCalcinator;
2012-08-29 22:02:30 +02:00
import net.minecraft.src.ModelBase;
import net.minecraft.src.ModelRenderer;
import net.minecraft.src.TileEntity;
import net.minecraft.src.TileEntitySpecialRenderer;
public class RenderCalcinator extends TileEntitySpecialRenderer {
static final float scale = (float) (1.0 / 16.0);
private ModelCalcinator modelCalcinator = new ModelCalcinator(scale);
2012-08-29 22:02:30 +02:00
@Override
public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float tick) {
modelCalcinator.render((TileCalcinator)tileEntity, x, y, z);
2012-08-29 22:02:30 +02:00
}
}