DimDoors/StevenDimDoors/mod_pocketDimClient/ModelMobObelisk.java
SenseiKiwi 3a6b22c7cc Renamed Classes
Renamed MobObelisk to MobMonolith. Renamed LimboSkyProvider and
PocketProvider to have Xs at the ends of their names. This is temporary
so that I can change the name's capitalization. Windows considers the
names the same because it's file naming is case insensitive.
2013-07-26 05:30:59 -04:00

72 lines
1.7 KiB
Java

// Date: 2/4/2013 6:55:29 PM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX
package StevenDimDoors.mod_pocketDimClient;
import java.util.Random;
import org.lwjgl.opengl.GL11;
import StevenDimDoors.mod_pocketDim.ticking.MobMonolith;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class ModelMobObelisk extends ModelBase
{
//fields
ModelRenderer wholemonolith;
Random rand = new Random();
public ModelMobObelisk()
{
textureWidth = 256;
textureHeight = 256;
wholemonolith = new ModelRenderer(this, 0, 0);
wholemonolith.addBox(-48/2F,-108F/1.3F, -12/2F, 48, 108, 12);
wholemonolith.setTextureSize(256, 256);
wholemonolith.mirror = true;
this.wholemonolith.rotationPointY=0;
this.wholemonolith.rotationPointX=0;
this.wholemonolith.rotationPointZ=0;
}
@Override
public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7)
{
super.render(par1Entity, 0, 0, 0, 0, 0, 0);
this.setRotationAngles(0, 0, 0, 0, 0,0, par1Entity);
GL11.glScalef(((MobMonolith) par1Entity).getRenderSizeModifier(), ((MobMonolith) par1Entity).getRenderSizeModifier(), ((MobMonolith) par1Entity).getRenderSizeModifier());
wholemonolith.render(par7);
}
@Override
public void setRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity)
{
super.setRotationAngles( 0, 0, 0, 0, 0, 0, par7Entity);
}
}