2012-08-29 22:02:30 +02:00
|
|
|
package ee3.client.render;
|
|
|
|
|
|
|
|
import org.lwjgl.opengl.GL11;
|
|
|
|
|
2012-10-04 03:19:17 +02:00
|
|
|
import ee3.common.tile.TileCalcinator;
|
2012-08-30 21:57:17 +02:00
|
|
|
|
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 {
|
|
|
|
|
2012-10-04 03:19:17 +02:00
|
|
|
static final float scale = (float) (1.0 / 16.0);
|
2012-09-16 06:26:57 +02:00
|
|
|
|
2012-10-04 03:19:17 +02:00
|
|
|
private ModelCalcinator modelCalcinator = new ModelCalcinator(scale);
|
2012-08-29 22:02:30 +02:00
|
|
|
|
|
|
|
@Override
|
2012-10-04 03:19:17 +02:00
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
}
|