2013-02-18 03:30:11 +01:00
|
|
|
package com.pahimar.ee3.client.renderer.tileentity;
|
|
|
|
|
|
|
|
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
|
|
|
import net.minecraft.tileentity.TileEntity;
|
|
|
|
|
|
|
|
import com.pahimar.ee3.client.model.ModelAludel;
|
|
|
|
import com.pahimar.ee3.tileentity.TileAludel;
|
|
|
|
|
2013-02-19 02:13:24 +01:00
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
|
|
|
|
|
|
@SideOnly(Side.CLIENT)
|
2013-02-18 03:30:11 +01:00
|
|
|
public class TileEntityAludelRenderer extends TileEntitySpecialRenderer {
|
|
|
|
|
|
|
|
static final float scale = (float) (1.0 / 16.0);
|
|
|
|
|
|
|
|
private ModelAludel modelAludel = new ModelAludel(scale);
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void renderTileEntityAt(TileEntity tileEntity, double x, double y, double z, float tick) {
|
|
|
|
|
|
|
|
modelAludel.render((TileAludel) tileEntity, x, y, z);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|