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

23 lines
668 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;
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);
}
}