• 0

    posted a message on Mob model not showing up (ModLoader, Eclipse, MCP)
    Well, I got it fixed... but whenever I spawn the mob, it displays a biped model instead of my dragon model.



    I know I have to modify some parts where it says "addRenderer" but I don't know how to fix it or where to put the extra bit of code. Also, yes, the model file is built-in with the code I got in the spoiler.


    package net.minecraft.src;

    import cpw.*;
    import cpw.mods.*;
    import cpw.mods.fml.*;
    import cpw.mods.fml.client.*;
    import cpw.mods.fml.client.modloader.*;
    import cpw.mods.fml.client.registry.*;
    import cpw.mods.fml.common.*;
    import cpw.mods.fml.common.asm.*;
    import cpw.mods.fml.common.asm.transformers.*;
    import cpw.mods.fml.common.discovery.*;
    import cpw.mods.fml.common.discovery.asm.*;
    import cpw.mods.fml.common.event.*;
    import cpw.mods.fml.common.functions.*;
    import cpw.mods.fml.common.modloader.*;
    import cpw.mods.fml.common.network.*;
    import cpw.mods.fml.common.registry.*;
    import cpw.mods.fml.common.toposort.*;
    import cpw.mods.fml.common.versioning.*;
    import cpw.mods.fml.relauncher.*;
    import cpw.mods.fml.server.*;
    import ibxm.*;
    import net.*;
    import net.minecraft.*;
    import net.minecraft.block.*;
    import net.minecraft.block.material.*;
    import net.minecraft.client.*;
    import net.minecraft.client.audio.*;
    import net.minecraft.client.entity.*;
    import net.minecraft.client.gui.*;
    import net.minecraft.client.gui.achievement.*;
    import net.minecraft.client.gui.inventory.*;
    import net.minecraft.client.model.*;
    import net.minecraft.client.multiplayer.*;
    import net.minecraft.client.particle.*;
    import net.minecraft.client.renderer.*;
    import net.minecraft.client.renderer.culling.*;
    import net.minecraft.client.renderer.entity.*;
    import net.minecraft.client.renderer.texturefx.*;
    import net.minecraft.client.renderer.tileentity.*;
    import net.minecraft.client.settings.*;
    import net.minecraft.client.texturepacks.*;
    import net.minecraft.command.*;
    import net.minecraft.crash.*;
    import net.minecraft.creativetab.*;
    import net.minecraft.dispenser.*;
    import net.minecraft.enchantment.*;
    import net.minecraft.entity.*;
    import net.minecraft.entity.ai.*;
    import net.minecraft.entity.boss.*;
    import net.minecraft.entity.effect.*;
    import net.minecraft.entity.item.*;
    import net.minecraft.entity.monster.*;
    import net.minecraft.entity.passive.*;
    import net.minecraft.entity.player.*;
    import net.minecraft.entity.projectile.*;
    import net.minecraft.inventory.*;
    import net.minecraft.item.*;
    import net.minecraft.item.crafting.*;
    import net.minecraft.nbt.*;
    import net.minecraft.network.*;
    import net.minecraft.network.packet.*;
    import net.minecraft.network.rcon.*;
    import net.minecraft.pathfinding.*;
    import net.minecraft.potion.*;
    import net.minecraft.profiler.*;
    import net.minecraft.server.*;
    import net.minecraft.server.dedicated.*;
    import net.minecraft.server.gui.*;
    import net.minecraft.server.integrated.*;
    import net.minecraft.server.management.*;
    import net.minecraft.src.*;
    import net.minecraft.stats.*;
    import net.minecraft.tileentity.*;
    import net.minecraft.util.*;
    import net.minecraft.village.*;
    import net.minecraft.world.*;
    import net.minecraft.world.biome.*;
    import net.minecraft.world.chunk.*;
    import net.minecraft.world.chunk.storage.*;
    import net.minecraft.world.demo.*;
    import net.minecraft.world.gen.*;
    import net.minecraft.world.gen.feature.*;
    import net.minecraft.world.gen.layer.*;
    import net.minecraft.world.gen.structure.*;
    import net.minecraft.world.storage.*;
    import net.minecraftforge.*;
    import net.minecraftforge.classloading.*;
    import net.minecraftforge.client.*;
    import net.minecraftforge.client.event.*;
    import net.minecraftforge.client.event.sound.*;
    import net.minecraftforge.common.*;
    import net.minecraftforge.event.*;
    import net.minecraftforge.event.entity.*;
    import net.minecraftforge.event.entity.item.*;
    import net.minecraftforge.event.entity.living.*;
    import net.minecraftforge.event.entity.minecart.*;
    import net.minecraftforge.event.entity.player.*;
    import net.minecraftforge.event.terraingen.*;
    import net.minecraftforge.event.world.*;
    import net.minecraftforge.liquids.*;
    import net.minecraftforge.oredict.*;
    import net.minecraftforge.transformers.*;
    import java.util.Map;
    import java.util.Random;

    public class mod_silvvy extends BaseMod
    {
    public void load()
    {
    ModLoader.registerEntityID(mod_silvvy.Entitysilvvy.class, "silvvy", 127,
    (255 << 16) + (255 << 8) + 255,
    (195 << 16) + (215 << 8) + 236);
    ModLoader.addSpawn(mod_silvvy.Entitysilvvy.class, 0, 0, 0, EnumCreatureType.monster );
    ModLoader.addEntityTracker(this, mod_silvvy.Entitysilvvy.class, 127, 20, 5, true);
    cpw.mods.fml.common.registry.LanguageRegistry.instance().addStringLocalization("entity.silvvy.name", "en_US", "Silvvy");
    }

    public void addRenderer(Map var1)
    {
    var1.put(mod_silvvy.Entitysilvvy.class, new RenderLiving(new mod_silvvy.ModelSilverDragon(), 0));
    }

    public Entity spawnEntity(int var1, World var2, double var3, double var5, double var7)
    {
    switch (var1)
    {
    case 127:
    return new mod_silvvy.Entitysilvvy(var2);

    default:
    return null;
    }
    }

    public String getVersion()
    {
    return "1.0";
    }


    public static class Entitysilvvy extends EntityMob
    {
    World world = null;
    public Entitysilvvy(World var1)
    {
    super(var1);
    world = var1;
    this.texture = "/Silvvy.png";
    this.moveSpeed = 3.0F;
    this.isImmuneToFire = false;

    this.tasks.addTask(0, new EntityAILookIdle(this));
    this.tasks.addTask(1, new EntityAIWander(this, this.moveSpeed));
    this.tasks.addTask(2, new EntityAITempt(this, 0.25F, Item.cookie.shiftedIndex, false));
    this.tasks.addTask(3, new EntityAIPanic(this, this.moveSpeed*1.6F));
    }

    public int getAttackStrength(Entity par1Entity)
    {
    return 0;
    }

    public boolean isAIEnabled()
    {
    return true;
    }

    public int getMaxHealth()
    {
    return 810;
    }

    /**
    * Drop 0-2 items of this living's type
    */
    protected void dropFewItems(boolean var1, int var2)
    {
    this.entityDropItem(new ItemStack(Item.sugar), 0.0F);
    }

    /**
    * Returns the sound this mob makes while it's alive.
    */
    public String getLivingSound()
    {
    return "mob.aerbunnyLift";
    }

    /**
    * Returns the sound this mob makes when it is hurt.
    */
    public String getHurtSound()
    {
    return "mob.aerbunnyHurt1";
    }

    /**
    * Returns the sound this mob makes on death.
    */
    public String getDeathSound()
    {
    return "mob.aerbunnyDeath";
    }

    public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
    int i = (int)this.posX;
    int j = (int)this.posY;
    int k = (int)this.posZ;

    }

    protected void fall(float l){
    int i = (int)this.posX;
    int j = (int)this.posY;
    int k = (int)this.posZ;
    super.fall(l);

    }

    public void onCriticalHit(Entity entity) {
    int i = (int)this.posX;
    int j = (int)this.posY;
    int k = (int)this.posZ;

    }

    public void onKillEntity(EntityLiving entityLiving){
    int i = (int)this.posX;
    int j = (int)this.posY;
    int k = (int)this.posZ;

    }
    }


    public static class ModelSilverDragon extends ModelBase
    {
    ModelRenderer Snout;
    ModelRenderer LargeHornRight;
    ModelRenderer TuftEdgeRight;
    ModelRenderer BackLegRight;
    ModelRenderer BackLegLeft;
    ModelRenderer SmallHornRight;
    ModelRenderer LargeHornLeft;
    ModelRenderer SmallHornLeft;
    ModelRenderer Head;
    ModelRenderer TuftRight;
    ModelRenderer TuftLeft;
    ModelRenderer TuftEdgeLeft;
    ModelRenderer TailBack;
    ModelRenderer FrontLegRight;
    ModelRenderer PawBackLeft;
    ModelRenderer TailFurEdge;
    ModelRenderer Neck;
    ModelRenderer TailMiddle;
    ModelRenderer FrontLegLeft;
    ModelRenderer PawFrontLeft;
    ModelRenderer PawFrontRight;
    ModelRenderer PawBackRight;
    ModelRenderer Body;
    ModelRenderer BackFur;
    ModelRenderer TailMiddleFur;
    ModelRenderer TailBackFur;

    public ModelSilverDragon()
    {
    textureWidth = 64;
    textureHeight = 64;

    Snout = new ModelRenderer(this, 0, 0);
    Snout.addBox(0F, 0F, 0F, 3, 2, 3);
    Snout.setRotationPoint(-2F, 17F, -12F);

    LargeHornRight = new ModelRenderer(this, 49, 0);
    LargeHornRight.addBox(0F, 0F, 0F, 1, 5, 1);
    LargeHornRight.setRotationPoint(2F, 10F, -6F);
    setRotation(LargeHornRight, 0F, 0F, 0.2230717F);
    Head.addChild(LargeHornRight);

    TuftEdgeRight = new ModelRenderer(this, 9, 8);
    TuftEdgeRight.addBox(0F, 0F, 0F, 1, 2, 1);
    TuftEdgeRight.setRotationPoint(4F, 15F, -6F);

    BackLegRight = new ModelRenderer(this, 9, 31);
    BackLegRight.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegRight.setRotationPoint(0F, 19F, 5F);

    BackLegLeft = new ModelRenderer(this, 9, 31);
    BackLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegLeft.setRotationPoint(0F, 19F, 5F);

    SmallHornRight = new ModelRenderer(this, 49, 7);
    SmallHornRight.addBox(0F, 0F, 0F, 1, 3, 1);
    SmallHornRight.setRotationPoint(1F, 12F, -7F);
    setRotation(SmallHornRight, 0F, 0F, 0.2230705F);
    Head.addChild(SmallHornRight);

    LargeHornLeft = new ModelRenderer(this, 44, 0);
    LargeHornLeft.addBox(0F, 0F, 0F, 1, 5, 1);
    LargeHornLeft.setRotationPoint(-4F, 10F, -6F);
    setRotation(LargeHornLeft, 0F, 0F, -0.2230705F);
    Head.addChild(LargeHornLeft);

    SmallHornLeft = new ModelRenderer(this, 44, 7);
    SmallHornLeft.addBox(0F, 0F, 0F, 1, 3, 1);
    SmallHornLeft.setRotationPoint(-3F, 12F, -7F);
    setRotation(SmallHornLeft, 0F, 0F, -0.2230705F);
    Head.addChild(SmallHornLeft);

    Head = new ModelRenderer(this, 36, 28);
    Head.addBox(0F, 0F, 0F, 5, 5, 5);
    Head.setRotationPoint(-3F, 14F, -10F);

    TuftRight = new ModelRenderer(this, 31, 0);
    TuftRight.addBox(0F, 0F, 0F, 2, 4, 2);
    TuftRight.setRotationPoint(2F, 14F, -7F);

    TuftLeft = new ModelRenderer(this, 22, 0);
    TuftLeft.addBox(0F, 0F, 0F, 2, 4, 2);
    TuftLeft.setRotationPoint(-5F, 14F, -7F);

    TuftEdgeLeft = new ModelRenderer(this, 0, 8);
    TuftEdgeLeft.addBox(0F, 0F, 0F, 1, 2, 1);
    TuftEdgeLeft.setRotationPoint(-6F, 15F, -6F);

    TailBack = new ModelRenderer(this, 35, 9);
    TailBack.addBox(0F, 0F, 0F, 1, 1, 4);
    TailBack.setRotationPoint(-1F, 18.5F, 10.6F);
    setRotation(TailBack, -0.6145831F, 0F, 0F);

    BackLegLeft = new ModelRenderer(this, 0, 31);
    BackLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegLeft.setRotationPoint(-3F, 19F, 5F);

    FrontLegRight = new ModelRenderer(this, 27, 31);
    FrontLegRight.addBox(0F, 0F, 0F, 2, 5, 2);
    FrontLegRight.setRotationPoint(0F, 19F, -4F);

    PawBackLeft = new ModelRenderer(this, 21, 39);
    PawBackLeft.addBox(0F, 0F, 0F, 2, 1, 1);
    PawBackLeft.setRotationPoint(-3F, 23F, 4F);

    TailFurEdge = new ModelRenderer(this, 9, 6);
    TailFurEdge.addBox(0F, 0F, 0F, 1, 3, 4);
    TailFurEdge.setRotationPoint(-1F, 18.63333F, 13F);
    setRotation(TailFurEdge, -0.6472177F, 0F, 0F);

    Neck = new ModelRenderer(this, 13, 0);
    Neck.addBox(0F, 0F, 0F, 3, 3, 1);
    Neck.setRotationPoint(-2F, 16F, -5F);

    TailMiddle = new ModelRenderer(this, 35, 14);
    TailMiddle.addBox(0F, 0F, 0F, 2, 2, 5);
    TailMiddle.setRotationPoint(-1.5F, 16.5F, 6F);
    setRotation(TailMiddle, -0.2974289F, 0F, 0F);

    FrontLegLeft = new ModelRenderer(this, 18, 31);
    FrontLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    FrontLegLeft.setRotationPoint(-3F, 19F, -4F);

    PawFrontLeft = new ModelRenderer(this, 0, 39);
    PawFrontLeft.addBox(0F, 0F, 0F, 2, 1, 1);
    PawFrontLeft.setRotationPoint(-3F, 23F, -5F);

    PawFrontRight = new ModelRenderer(this, 7, 39);
    PawFrontRight.addBox(0F, 0F, 0F, 2, 1, 1);
    PawFrontRight.setRotationPoint(0F, 23F, -5F);;

    PawBackRight = new ModelRenderer(this, 14, 39);
    PawBackRight.addBox(0F, 0F, 0F, 2, 1, 1);
    PawBackRight.setRotationPoint(0F, 23F, 4F);

    Body = new ModelRenderer(this, 0, 14);
    Body.addBox(0F, 0F, 0F, 5, 4, 11);
    Body.setRotationPoint(-3F, 15.5F, -4F);
    setRotation(Body, -0.0523599F, 0F, 0F);

    BackFur = new ModelRenderer(this, 0, 42);
    BackFur.addBox(0F, 0F, 0F, 1, 2, 11);
    BackFur.setRotationPoint(-1F, 14.5F, -4F);
    setRotation(BackFur, -0.0523599F, 0F, 0F);

    TailMiddleFur = new ModelRenderer(this, 25, 42);
    TailMiddleFur.addBox(0F, 0F, 0F, 1, 2, 4);
    TailMiddleFur.setRotationPoint(-1F, 15.5F, 7F);
    setRotation(TailMiddleFur, -0.3126102F, 0F, 0F);

    TailBackFur = new ModelRenderer(this, 25, 49);
    TailBackFur.addBox(0F, 0F, 0F, 1, 1, 3);
    TailBackFur.setRotationPoint(-1F, 17.45555F, 11F);
    setRotation(TailBackFur, -0.6485534F, 0F, 0F);
    }

    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5, entity);

    Snout.render(f5);
    LargeHornRight.render(f5);
    TuftEdgeRight.render(f5);
    BackLegLeft.render(f5);
    SmallHornRight.render(f5);
    LargeHornLeft.render(f5);
    SmallHornLeft.render(f5);
    Head.render(f5);
    TuftRight.render(f5);
    TuftLeft.render(f5);
    TuftEdgeLeft.render(f5);
    TailBack.render(f5);
    BackLegLeft.render(f5);
    FrontLegRight.render(f5);
    PawBackLeft.render(f5);
    TailFurEdge.render(f5);
    Neck.render(f5);
    TailMiddle.render(f5);
    FrontLegLeft.render(f5);
    PawFrontLeft.render(f5);
    PawFrontRight.render(f5);
    PawBackRight.render(f5);
    Body.render(f5);
    BackFur.render(f5);
    TailBackFur.render(f5);
    TailMiddleFur.render(f5);
    }


    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
    }

    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity e)

    {
    super.setRotationAngles(f, f1, f2, f3, f4, f5, e);
    Head.rotateAngleX = f4 / (180F / (float)Math.PI);
    Head.rotateAngleY = f3 / (180F / (float)Math.PI);
    Snout.rotateAngleX = Head.rotateAngleX;
    Snout.rotateAngleY = Head.rotateAngleY;
    Snout.rotateAngleX = Head.rotateAngleX;
    Snout.rotateAngleY = Head.rotateAngleY;

    // Credit to J-C for creating Silvvy & Ebby!

    TuftLeft.rotateAngleX = Head.rotateAngleX;
    TuftLeft.rotateAngleY = Head.rotateAngleY;
    TuftRight.rotateAngleX = Head.rotateAngleX;
    TuftRight.rotateAngleY = Head.rotateAngleY;
    TuftEdgeLeft.rotateAngleX = Head.rotateAngleX;
    TuftEdgeLeft.rotateAngleY = Head.rotateAngleY;
    TuftEdgeRight.rotateAngleX = Head.rotateAngleX;
    TuftEdgeRight.rotateAngleY = Head.rotateAngleY;

    FrontLegLeft.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    PawFrontLeft.rotateAngleX = FrontLegLeft.rotateAngleX;
    FrontLegRight.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    PawFrontRight.rotateAngleX = FrontLegRight.rotateAngleX;
    BackLegLeft.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    PawBackLeft.rotateAngleX = BackLegLeft.rotateAngleX;
    BackLegRight.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    PawBackRight.rotateAngleX = BackLegRight.rotateAngleX;
    }
    }

    }

    Posted in: Modification Development
  • 0

    posted a message on Mob model not showing up (ModLoader, Eclipse, MCP)
    Last time I might bump this.
    Also, here is all of the coding I get whenever I create the mod.


    package net.minecraft.src;

    import cpw.*;
    import cpw.mods.*;
    import cpw.mods.fml.*;
    import cpw.mods.fml.client.*;
    import cpw.mods.fml.client.modloader.*;
    import cpw.mods.fml.client.registry.*;
    import cpw.mods.fml.common.*;
    import cpw.mods.fml.common.asm.*;
    import cpw.mods.fml.common.asm.transformers.*;
    import cpw.mods.fml.common.discovery.*;
    import cpw.mods.fml.common.discovery.asm.*;
    import cpw.mods.fml.common.event.*;
    import cpw.mods.fml.common.functions.*;
    import cpw.mods.fml.common.modloader.*;
    import cpw.mods.fml.common.network.*;
    import cpw.mods.fml.common.registry.*;
    import cpw.mods.fml.common.toposort.*;
    import cpw.mods.fml.common.versioning.*;
    import cpw.mods.fml.relauncher.*;
    import cpw.mods.fml.server.*;
    import ibxm.*;
    import net.*;
    import net.minecraft.*;
    import net.minecraft.block.*;
    import net.minecraft.block.material.*;
    import net.minecraft.client.*;
    import net.minecraft.client.audio.*;
    import net.minecraft.client.entity.*;
    import net.minecraft.client.gui.*;
    import net.minecraft.client.gui.achievement.*;
    import net.minecraft.client.gui.inventory.*;
    import net.minecraft.client.model.*;
    import net.minecraft.client.multiplayer.*;
    import net.minecraft.client.particle.*;
    import net.minecraft.client.renderer.*;
    import net.minecraft.client.renderer.culling.*;
    import net.minecraft.client.renderer.entity.*;
    import net.minecraft.client.renderer.texturefx.*;
    import net.minecraft.client.renderer.tileentity.*;
    import net.minecraft.client.settings.*;
    import net.minecraft.client.texturepacks.*;
    import net.minecraft.command.*;
    import net.minecraft.crash.*;
    import net.minecraft.creativetab.*;
    import net.minecraft.dispenser.*;
    import net.minecraft.enchantment.*;
    import net.minecraft.entity.*;
    import net.minecraft.entity.ai.*;
    import net.minecraft.entity.boss.*;
    import net.minecraft.entity.effect.*;
    import net.minecraft.entity.item.*;
    import net.minecraft.entity.monster.*;
    import net.minecraft.entity.passive.*;
    import net.minecraft.entity.player.*;
    import net.minecraft.entity.projectile.*;
    import net.minecraft.inventory.*;
    import net.minecraft.item.*;
    import net.minecraft.item.crafting.*;
    import net.minecraft.nbt.*;
    import net.minecraft.network.*;
    import net.minecraft.network.packet.*;
    import net.minecraft.network.rcon.*;
    import net.minecraft.pathfinding.*;
    import net.minecraft.potion.*;
    import net.minecraft.profiler.*;
    import net.minecraft.server.*;
    import net.minecraft.server.dedicated.*;
    import net.minecraft.server.gui.*;
    import net.minecraft.server.integrated.*;
    import net.minecraft.server.management.*;
    import net.minecraft.src.*;
    import net.minecraft.stats.*;
    import net.minecraft.tileentity.*;
    import net.minecraft.util.*;
    import net.minecraft.village.*;
    import net.minecraft.world.*;
    import net.minecraft.world.biome.*;
    import net.minecraft.world.chunk.*;
    import net.minecraft.world.chunk.storage.*;
    import net.minecraft.world.demo.*;
    import net.minecraft.world.gen.*;
    import net.minecraft.world.gen.feature.*;
    import net.minecraft.world.gen.layer.*;
    import net.minecraft.world.gen.structure.*;
    import net.minecraft.world.storage.*;
    import net.minecraftforge.*;
    import net.minecraftforge.classloading.*;
    import net.minecraftforge.client.*;
    import net.minecraftforge.client.event.*;
    import net.minecraftforge.client.event.sound.*;
    import net.minecraftforge.common.*;
    import net.minecraftforge.event.*;
    import net.minecraftforge.event.entity.*;
    import net.minecraftforge.event.entity.item.*;
    import net.minecraftforge.event.entity.living.*;
    import net.minecraftforge.event.entity.minecart.*;
    import net.minecraftforge.event.entity.player.*;
    import net.minecraftforge.event.terraingen.*;
    import net.minecraftforge.event.world.*;
    import net.minecraftforge.liquids.*;
    import net.minecraftforge.oredict.*;
    import net.minecraftforge.transformers.*;
    import java.util.Map;
    import java.util.Random;

    public class mod_silvvy extends BaseMod
    {
    public void load()
    {
    ModLoader.registerEntityID(mod_silvvy.Entitysilvvy.class, "silvvy", 125,
    (255 << 16) + (255 << 8) + 255,
    (174 << 16) + (204 << 8) + 235);
    ModLoader.addSpawn(mod_silvvy.Entitysilvvy.class, 0, 0, 0, EnumCreatureType.creature );
    ModLoader.addEntityTracker(this, mod_silvvy.Entitysilvvy.class, 125, 20, 5, true);
    cpw.mods.fml.common.registry.LanguageRegistry.instance().addStringLocalization("entity.silvvy.name", "en_US", "Silvvy");
    }

    public void addRenderer(Map var1)
    {
    var1.put(mod_silvvy.Entitysilvvy.class, new RenderLiving(new mod_silvvy.ModelSilverDragon(), 0));
    }

    public Entity spawnEntity(int var1, World var2, double var3, double var5, double var7)
    {
    switch (var1)
    {
    case 125:
    return new mod_silvvy.Entitysilvvy(var2);

    default:
    return null;
    }
    }

    public String getVersion()
    {
    return "1.0";
    }


    public static class Entitysilvvy extends EntityMob
    {
    World world = null;
    public Entitysilvvy(World var1)
    {
    super(var1);
    world = var1;
    this.texture = "/Silvvy.png";
    this.moveSpeed = 4.0F;
    this.isImmuneToFire = false;

    this.tasks.addTask(0, new EntityAILookIdle(this));
    this.tasks.addTask(1, new EntityAIWander(this, this.moveSpeed));
    this.tasks.addTask(2, new EntityAITempt(this, 0.25F, Item.cookie.shiftedIndex, false));
    this.tasks.addTask(3, new EntityAIPanic(this, this.moveSpeed*1.6F));
    }

    public int getAttackStrength(Entity par1Entity)
    {
    return 3;
    }

    public boolean isAIEnabled()
    {
    return true;
    }

    public int getMaxHealth()
    {
    return 10;
    }

    /**
    * Drop 0-2 items of this living's type
    */
    protected void dropFewItems(boolean var1, int var2)
    {
    this.entityDropItem(new ItemStack(Item.sugar), 0.0F);
    }

    /**
    * Returns the sound this mob makes while it's alive.
    */
    public String getLivingSound()
    {
    return "mob.aerbunnyLift";
    }

    /**
    * Returns the sound this mob makes when it is hurt.
    */
    public String getHurtSound()
    {
    return "mob.aerbunnyHurt1";
    }

    /**
    * Returns the sound this mob makes on death.
    */
    public String getDeathSound()
    {
    return "mob.aerbunnyDeath";
    }

    public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
    int i = (int)this.posX;
    int j = (int)this.posY;
    int k = (int)this.posZ;

    }

    protected void fall(float l){
    int i = (int)this.posX;
    int j = (int)this.posY;
    int k = (int)this.posZ;
    super.fall(l);

    }

    public void onCriticalHit(Entity entity) {
    int i = (int)this.posX;
    int j = (int)this.posY;
    int k = (int)this.posZ;

    }

    public void onKillEntity(EntityLiving entityLiving){
    int i = (int)this.posX;
    int j = (int)this.posY;
    int k = (int)this.posZ;

    }
    }




    public static class ModelSilverDragon extends ModelBase
    {
    ModelRenderer Snout;
    ModelRenderer LargeHornRight;
    ModelRenderer TuftEdgeRight;
    ModelRenderer BackLegLeft;
    ModelRenderer SmallHornRight;
    ModelRenderer LargeHornLeft;
    ModelRenderer SmallHornLeft;
    ModelRenderer Head;
    ModelRenderer TuftRight;
    ModelRenderer TuftLeft;
    ModelRenderer TuftEdgeLeft;
    ModelRenderer TailBack;
    ModelRenderer BackLegLeft;
    ModelRenderer FrontLegRight;
    ModelRenderer PawBackLeft;
    ModelRenderer TailFurEdge;
    ModelRenderer Neck;
    ModelRenderer TailMiddle;
    ModelRenderer FrontLegLeft;
    ModelRenderer PawFrontLeft;
    ModelRenderer PawFrontRight;
    ModelRenderer PawBackRight;
    ModelRenderer Body;
    ModelRenderer BackFur;
    ModelRenderer TailMiddleFur;
    ModelRenderer TailBackFur;

    public ModelSilverDragon()
    {
    textureWidth = 64;
    textureHeight = 64;

    Snout = new ModelRenderer(this, 0, 0);
    Snout.addBox(0F, 0F, 0F, 3, 2, 3);
    Snout.setRotationPoint(-2F, 17F, -12F);

    LargeHornRight = new ModelRenderer(this, 49, 0);
    LargeHornRight.addBox(0F, 0F, 0F, 1, 5, 1);
    LargeHornRight.setRotationPoint(2F, 10F, -6F);
    setRotation(LargeHornRight, 0F, 0F, 0.2230717F);
    Head.addChild(LargeHornRight);

    TuftEdgeRight = new ModelRenderer(this, 9, 8);
    TuftEdgeRight.addBox(0F, 0F, 0F, 1, 2, 1);
    TuftEdgeRight.setRotationPoint(4F, 15F, -6F);

    BackLegLeft = new ModelRenderer(this, 9, 31);
    BackLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegLeft.setRotationPoint(0F, 19F, 5F);

    SmallHornRight = new ModelRenderer(this, 49, 7);
    SmallHornRight.addBox(0F, 0F, 0F, 1, 3, 1);
    SmallHornRight.setRotationPoint(1F, 12F, -7F);
    setRotation(SmallHornRight, 0F, 0F, 0.2230705F);
    Head.addChild(SmallHornRight);

    LargeHornLeft = new ModelRenderer(this, 44, 0);
    LargeHornLeft.addBox(0F, 0F, 0F, 1, 5, 1);
    LargeHornLeft.setRotationPoint(-4F, 10F, -6F);
    setRotation(LargeHornLeft, 0F, 0F, -0.2230705F);
    Head.addChild(LargeHornLeft);

    SmallHornLeft = new ModelRenderer(this, 44, 7);
    SmallHornLeft.addBox(0F, 0F, 0F, 1, 3, 1);
    SmallHornLeft.setRotationPoint(-3F, 12F, -7F);
    setRotation(SmallHornLeft, 0F, 0F, -0.2230705F);
    Head.addChild(SmallHornLeft);

    Head = new ModelRenderer(this, 36, 28);
    Head.addBox(0F, 0F, 0F, 5, 5, 5);
    Head.setRotationPoint(-3F, 14F, -10F);

    TuftRight = new ModelRenderer(this, 31, 0);
    TuftRight.addBox(0F, 0F, 0F, 2, 4, 2);
    TuftRight.setRotationPoint(2F, 14F, -7F);

    TuftLeft = new ModelRenderer(this, 22, 0);
    TuftLeft.addBox(0F, 0F, 0F, 2, 4, 2);
    TuftLeft.setRotationPoint(-5F, 14F, -7F);

    TuftEdgeLeft = new ModelRenderer(this, 0, 8);
    TuftEdgeLeft.addBox(0F, 0F, 0F, 1, 2, 1);
    TuftEdgeLeft.setRotationPoint(-6F, 15F, -6F);

    TailBack = new ModelRenderer(this, 35, 9);
    TailBack.addBox(0F, 0F, 0F, 1, 1, 4);
    TailBack.setRotationPoint(-1F, 18.5F, 10.6F);
    setRotation(TailBack, -0.6145831F, 0F, 0F);

    BackLegLeft = new ModelRenderer(this, 0, 31);
    BackLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegLeft.setRotationPoint(-3F, 19F, 5F);

    FrontLegRight = new ModelRenderer(this, 27, 31);
    FrontLegRight.addBox(0F, 0F, 0F, 2, 5, 2);
    FrontLegRight.setRotationPoint(0F, 19F, -4F);

    PawBackLeft = new ModelRenderer(this, 21, 39);
    PawBackLeft.addBox(0F, 0F, 0F, 2, 1, 1);
    PawBackLeft.setRotationPoint(-3F, 23F, 4F);

    TailFurEdge = new ModelRenderer(this, 9, 6);
    TailFurEdge.addBox(0F, 0F, 0F, 1, 3, 4);
    TailFurEdge.setRotationPoint(-1F, 18.63333F, 13F);
    setRotation(TailFurEdge, -0.6472177F, 0F, 0F);

    Neck = new ModelRenderer(this, 13, 0);
    Neck.addBox(0F, 0F, 0F, 3, 3, 1);
    Neck.setRotationPoint(-2F, 16F, -5F);

    TailMiddle = new ModelRenderer(this, 35, 14);
    TailMiddle.addBox(0F, 0F, 0F, 2, 2, 5);
    TailMiddle.setRotationPoint(-1.5F, 16.5F, 6F);
    setRotation(TailMiddle, -0.2974289F, 0F, 0F);

    FrontLegLeft = new ModelRenderer(this, 18, 31);
    FrontLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    FrontLegLeft.setRotationPoint(-3F, 19F, -4F);

    PawFrontLeft = new ModelRenderer(this, 0, 39);
    PawFrontLeft.addBox(0F, 0F, 0F, 2, 1, 1);
    PawFrontLeft.setRotationPoint(-3F, 23F, -5F);

    PawFrontRight = new ModelRenderer(this, 7, 39);
    PawFrontRight.addBox(0F, 0F, 0F, 2, 1, 1);
    PawFrontRight.setRotationPoint(0F, 23F, -5F);;

    PawBackRight = new ModelRenderer(this, 14, 39);
    PawBackRight.addBox(0F, 0F, 0F, 2, 1, 1);
    PawBackRight.setRotationPoint(0F, 23F, 4F);

    Body = new ModelRenderer(this, 0, 14);
    Body.addBox(0F, 0F, 0F, 5, 4, 11);
    Body.setRotationPoint(-3F, 15.5F, -4F);
    setRotation(Body, -0.0523599F, 0F, 0F);

    BackFur = new ModelRenderer(this, 0, 42);
    BackFur.addBox(0F, 0F, 0F, 1, 2, 11);
    BackFur.setRotationPoint(-1F, 14.5F, -4F);
    setRotation(BackFur, -0.0523599F, 0F, 0F);

    TailMiddleFur = new ModelRenderer(this, 25, 42);
    TailMiddleFur.addBox(0F, 0F, 0F, 1, 2, 4);
    TailMiddleFur.setRotationPoint(-1F, 15.5F, 7F);
    setRotation(TailMiddleFur, -0.3126102F, 0F, 0F);

    TailBackFur = new ModelRenderer(this, 25, 49);
    TailBackFur.addBox(0F, 0F, 0F, 1, 1, 3);
    TailBackFur.setRotationPoint(-1F, 17.45555F, 11F);
    setRotation(TailBackFur, -0.6485534F, 0F, 0F);
    }

    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5, entity);

    Snout.render(f5);
    LargeHornRight.render(f5);
    TuftEdgeRight.render(f5);
    BackLegLeft.render(f5);
    SmallHornRight.render(f5);
    LargeHornLeft.render(f5);
    SmallHornLeft.render(f5);
    Head.render(f5);
    TuftRight.render(f5);
    TuftLeft.render(f5);
    TuftEdgeLeft.render(f5);
    TailBack.render(f5);
    BackLegLeft.render(f5);
    FrontLegRight.render(f5);
    PawBackLeft.render(f5);
    TailFurEdge.render(f5);
    Neck.render(f5);
    TailMiddle.render(f5);
    FrontLegLeft.render(f5);
    PawFrontLeft.render(f5);
    PawFrontRight.render(f5);
    PawBackRight.render(f5);
    Body.render(f5);
    BackFur.render(f5);
    TailBackFur.render(f5);
    TailMiddleFur.render(f5);
    }


    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
    }

    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity e)

    {
    super.setRotationAngles(f, f1, f2, f3, f4, f5, e);
    Head.rotateAngleX = f4 / (180F / (float)Math.PI);
    Head.rotateAngleY = f3 / (180F / (float)Math.PI);
    Snout.rotateAngleX = Head.rotateAngleX;
    Snout.rotateAngleY = Head.rotateAngleY;
    Snout.rotateAngleX = Head.rotateAngleX;
    Snout.rotateAngleY = Head.rotateAngleY;

    // Credit to J-C for creating Silvvy & Ebby!

    TuftLeft.rotateAngleX = Head.rotateAngleX;
    TuftLeft.rotateAngleY = Head.rotateAngleY;
    TuftRight.rotateAngleX = Head.rotateAngleX;
    TuftRight.rotateAngleY = Head.rotateAngleY;
    TuftEdgeLeft.rotateAngleX = Head.rotateAngleX;
    TuftEdgeLeft.rotateAngleY = Head.rotateAngleY;
    TuftEdgeRight.rotateAngleX = Head.rotateAngleX;
    TuftEdgeRight.rotateAngleY = Head.rotateAngleY;

    FrontLegLeft.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    PawFrontLeft.rotateAngleX = FrontLegLeft.rotateAngleX;
    FrontLegRight.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    PawFrontRight.rotateAngleX = FrontLegRight.rotateAngleX;
    BackLegLeft.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    PawBackLeft.rotateAngleX = BackLegLeft.rotateAngleX;
    BackLegRight.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    PawBackRight.rotateAngleX = BackLegRight.rotateAngleX;
    }
    }

    }

    Posted in: Modification Development
  • 0

    posted a message on First thing you punched in minecraft? and why?
    I think I punched a pig? Either that or dirt, I can't remember. Why? Because I had no idea what to do!
    Posted in: Survival Mode
  • 0

    posted a message on Looking for new ideas for a mod
    Quote from ebennett365

    i want to bring classic back to the offline client :steve_joyous:


    There's the OpenClassic program if you want regular Minecraft Classic back with level saving and such, and it even works offline, and then there's also Exalm's NBXLite and Olddays mod which brings back many old Minecraft features into 1.4+, plus old terrain generation from Beta 1.7.3 and earlier!
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Could somebody fix my model please? I tried myself, but failed...
    I made a mob model in Techne a few days ago, and I tried to use it for creating a mod, but it didn't work. I did, however, use another mob model which a person named Koni had fixed up for me, and that one works just fine. I edited the code a little bit-no, a LOT, and it looks almost the exact same as the code in the other file that he fixed, with the exception of a few different digits here and there. Still nothing.

    The file that I edited.


    package net.minecraft.src;

    public class ModelSilverDragon extends ModelBase
    {
    ModelRenderer Snout;
    ModelRenderer LargeHornRight;
    ModelRenderer TuftEdgeRight;
    ModelRenderer BackLegLeft;
    ModelRenderer SmallHornRight;
    ModelRenderer LargeHornLeft;
    ModelRenderer SmallHornLeft;
    ModelRenderer Head;
    ModelRenderer TuftRight;
    ModelRenderer TuftLeft;
    ModelRenderer TuftEdgeLeft;
    ModelRenderer TailBack;
    ModelRenderer BackLegLeft;
    ModelRenderer FrontLegRight;
    ModelRenderer PawBackLeft;
    ModelRenderer TailFurEdge;
    ModelRenderer Neck;
    ModelRenderer TailMiddle;
    ModelRenderer FrontLegLeft;
    ModelRenderer PawFrontLeft;
    ModelRenderer PawFrontRight;
    ModelRenderer PawBackRight;
    ModelRenderer Body;
    ModelRenderer BackFur;
    ModelRenderer TailMiddleFur;
    ModelRenderer TailBackFur;

    public ModelSilverDragon()
    {
    textureWidth = 64;
    textureHeight = 64;

    Snout = new ModelRenderer(this, 0, 0);
    Snout.addBox(0F, 0F, 0F, 3, 2, 3);
    Snout.setRotationPoint(-2F, 17F, -12F);

    LargeHornRight = new ModelRenderer(this, 49, 0);
    LargeHornRight.addBox(0F, 0F, 0F, 1, 5, 1);
    LargeHornRight.setRotationPoint(2F, 10F, -6F);
    setRotation(LargeHornRight, 0F, 0F, 0.2230717F);
    Head.addChild(LargeHornRight);

    TuftEdgeRight = new ModelRenderer(this, 9, 8);
    TuftEdgeRight.addBox(0F, 0F, 0F, 1, 2, 1);
    TuftEdgeRight.setRotationPoint(4F, 15F, -6F);

    BackLegLeft = new ModelRenderer(this, 9, 31);
    BackLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegLeft.setRotationPoint(0F, 19F, 5F);

    SmallHornRight = new ModelRenderer(this, 49, 7);
    SmallHornRight.addBox(0F, 0F, 0F, 1, 3, 1);
    SmallHornRight.setRotationPoint(1F, 12F, -7F);
    setRotation(SmallHornRight, 0F, 0F, 0.2230705F);
    Head.addChild(SmallHornRight);

    LargeHornLeft = new ModelRenderer(this, 44, 0);
    LargeHornLeft.addBox(0F, 0F, 0F, 1, 5, 1);
    LargeHornLeft.setRotationPoint(-4F, 10F, -6F);
    setRotation(LargeHornLeft, 0F, 0F, -0.2230705F);
    Head.addChild(LargeHornLeft);

    SmallHornLeft = new ModelRenderer(this, 44, 7);
    SmallHornLeft.addBox(0F, 0F, 0F, 1, 3, 1);
    SmallHornLeft.setRotationPoint(-3F, 12F, -7F);
    setRotation(SmallHornLeft, 0F, 0F, -0.2230705F);
    Head.addChild(SmallHornLeft);

    Head = new ModelRenderer(this, 36, 28);
    Head.addBox(0F, 0F, 0F, 5, 5, 5);
    Head.setRotationPoint(-3F, 14F, -10F);

    TuftRight = new ModelRenderer(this, 31, 0);
    TuftRight.addBox(0F, 0F, 0F, 2, 4, 2);
    TuftRight.setRotationPoint(2F, 14F, -7F);

    TuftLeft = new ModelRenderer(this, 22, 0);
    TuftLeft.addBox(0F, 0F, 0F, 2, 4, 2);
    TuftLeft.setRotationPoint(-5F, 14F, -7F);

    TuftEdgeLeft = new ModelRenderer(this, 0, 8);
    TuftEdgeLeft.addBox(0F, 0F, 0F, 1, 2, 1);
    TuftEdgeLeft.setRotationPoint(-6F, 15F, -6F);

    TailBack = new ModelRenderer(this, 35, 9);
    TailBack.addBox(0F, 0F, 0F, 1, 1, 4);
    TailBack.setRotationPoint(-1F, 18.5F, 10.6F);
    setRotation(TailBack, -0.6145831F, 0F, 0F);

    BackLegLeft = new ModelRenderer(this, 0, 31);
    BackLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegLeft.setRotationPoint(-3F, 19F, 5F);

    FrontLegRight = new ModelRenderer(this, 27, 31);
    FrontLegRight.addBox(0F, 0F, 0F, 2, 5, 2);
    FrontLegRight.setRotationPoint(0F, 19F, -4F);

    PawBackLeft = new ModelRenderer(this, 21, 39);
    PawBackLeft.addBox(0F, 0F, 0F, 2, 1, 1);
    PawBackLeft.setRotationPoint(-3F, 23F, 4F);

    TailFurEdge = new ModelRenderer(this, 9, 6);
    TailFurEdge.addBox(0F, 0F, 0F, 1, 3, 4);
    TailFurEdge.setRotationPoint(-1F, 18.63333F, 13F);
    setRotation(TailFurEdge, -0.6472177F, 0F, 0F);

    Neck = new ModelRenderer(this, 13, 0);
    Neck.addBox(0F, 0F, 0F, 3, 3, 1);
    Neck.setRotationPoint(-2F, 16F, -5F);

    TailMiddle = new ModelRenderer(this, 35, 14);
    TailMiddle.addBox(0F, 0F, 0F, 2, 2, 5);
    TailMiddle.setRotationPoint(-1.5F, 16.5F, 6F);
    setRotation(TailMiddle, -0.2974289F, 0F, 0F);

    FrontLegLeft = new ModelRenderer(this, 18, 31);
    FrontLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    FrontLegLeft.setRotationPoint(-3F, 19F, -4F);

    PawFrontLeft = new ModelRenderer(this, 0, 39);
    PawFrontLeft.addBox(0F, 0F, 0F, 2, 1, 1);
    PawFrontLeft.setRotationPoint(-3F, 23F, -5F);

    PawFrontRight = new ModelRenderer(this, 7, 39);
    PawFrontRight.addBox(0F, 0F, 0F, 2, 1, 1);
    PawFrontRight.setRotationPoint(0F, 23F, -5F);;

    PawBackRight = new ModelRenderer(this, 14, 39);
    PawBackRight.addBox(0F, 0F, 0F, 2, 1, 1);
    PawBackRight.setRotationPoint(0F, 23F, 4F);

    Body = new ModelRenderer(this, 0, 14);
    Body.addBox(0F, 0F, 0F, 5, 4, 11);
    Body.setRotationPoint(-3F, 15.5F, -4F);
    setRotation(Body, -0.0523599F, 0F, 0F);

    BackFur = new ModelRenderer(this, 0, 42);
    BackFur.addBox(0F, 0F, 0F, 1, 2, 11);
    BackFur.setRotationPoint(-1F, 14.5F, -4F);
    setRotation(BackFur, -0.0523599F, 0F, 0F);

    TailMiddleFur = new ModelRenderer(this, 25, 42);
    TailMiddleFur.addBox(0F, 0F, 0F, 1, 2, 4);
    TailMiddleFur.setRotationPoint(-1F, 15.5F, 7F);
    setRotation(TailMiddleFur, -0.3126102F, 0F, 0F);

    TailBackFur = new ModelRenderer(this, 25, 49);
    TailBackFur.addBox(0F, 0F, 0F, 1, 1, 3);
    TailBackFur.setRotationPoint(-1F, 17.45555F, 11F);
    setRotation(TailBackFur, -0.6485534F, 0F, 0F);
    }

    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5);
    Snout.render(f5);
    LargeHornRight.render(f5);
    TuftEdgeRight.render(f5);
    BackLegLeft.render(f5);
    SmallHornRight.render(f5);
    LargeHornLeft.render(f5);
    SmallHornLeft.render(f5);
    Head.render(f5);
    TuftRight.render(f5);
    TuftLeft.render(f5);
    TuftEdgeLeft.render(f5);
    TailBack.render(f5);
    BackLegLeft.render(f5);
    FrontLegRight.render(f5);
    PawBackLeft.render(f5);
    TailFurEdge.render(f5);
    Neck.render(f5);
    TailMiddle.render(f5);
    FrontLegLeft.render(f5);
    PawFrontLeft.render(f5);
    PawFrontRight.render(f5);
    PawBackRight.render(f5);
    Body.render(f5);
    BackFur.render(f5);
    TailBackFur.render(f5);
    TailMiddleFur.render(f5);
    }


    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
    }

    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.setRotationAngles(f, f1, f2, f3, f4, f5);
    Head.rotateAngleX = f4 / (180F / (float)Math.PI);
    Head.rotateAngleY = f3 / (180F / (float)Math.PI);
    Snout.rotateAngleX = Head.rotateAngleX;
    Snout.rotateAngleY = Head.rotateAngleY;
    Snout.rotateAngleX = Head.rotateAngleX;
    Snout.rotateAngleY = Head.rotateAngleY;

    // Credit to J-C for creating Silvvy & Ebby!

    TuftLeft.rotateAngleX = Head.rotateAngleX;
    TuftLeft.rotateAngleY = Head.rotateAngleY;
    TuftRight.rotateAngleX = Head.rotateAngleX;
    TuftRight.rotateAngleY = Head.rotateAngleY;
    TuftEdgeLeft.rotateAngleX = Head.rotateAngleX;
    TuftEdgeLeft.rotateAngleY = Head.rotateAngleY;
    TuftEdgeRight.rotateAngleX = Head.rotateAngleX;
    TuftEdgeRight.rotateAngleY = Head.rotateAngleY;

    FrontLegLeft.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    PawFrontLeft.rotateAngleX = FrontLegLeft.rotateAngleX;
    FrontLegRight.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    PawFrontRight.rotateAngleX = FrontLegRight.rotateAngleX;
    BackLegLeft.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    PawBackLeft.rotateAngleX = BackLegLeft.rotateAngleX;
    BackLegRight.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    PawBackRight.rotateAngleX = BackLegRight.rotateAngleX;
    }
    }


    The file that Koni fixed, and works.


    package net.minecraft.src;

    public class ModelSilverDragon extends ModelBase
    {
    ModelRenderer Head;
    ModelRenderer MouthBottom;
    ModelRenderer MouthTop;
    ModelRenderer TuftPieceLeft;
    ModelRenderer HornLeft;
    ModelRenderer HornPieceLeft;
    ModelRenderer HornRight;
    ModelRenderer HornPieceRight;
    ModelRenderer Tail3;
    ModelRenderer LegFrontRight;
    ModelRenderer PawFrontRight;
    ModelRenderer LegFrontLeft;
    ModelRenderer LegBackLeft;
    ModelRenderer TuftLeft;
    ModelRenderer TuftRight;
    ModelRenderer TuftPieceRight;
    ModelRenderer LegBackRight;
    ModelRenderer PawBackRight;
    ModelRenderer PawBackLeft;
    ModelRenderer PawFrontLeft;
    ModelRenderer Body;
    ModelRenderer Tail1;
    ModelRenderer Tail2;
    ModelRenderer Fur5;
    ModelRenderer Fur1;
    ModelRenderer Fur2;
    ModelRenderer Fur3;
    ModelRenderer Fur4;

    public ModelSilverDragon()
    {
    textureWidth = 128;
    textureHeight = 64;

    Head = new ModelRenderer(this, 45, 0);
    Head.addBox(-3F, -2F, -6F, 6, 6, 6);
    Head.setRotationPoint(0F, 14F, -8F);

    MouthBottom = new ModelRenderer(this, 61, 13);
    MouthBottom.addBox(-2F, 3F, -9F, 4, 1, 3);
    MouthBottom.setRotationPoint(0F, 14F, -8F);

    MouthTop = new ModelRenderer(this, 45, 13);
    MouthTop.addBox(-2F, 1F, -9F, 4, 2, 3);
    MouthTop.setRotationPoint(0F, 14F, -8F);

    TuftPieceLeft = new ModelRenderer(this, 86, 13);
    // TuftPieceLeft.mirror = true;
    TuftPieceLeft.addBox(5F, 0F, -2F, 1, 2, 1);
    TuftPieceLeft.setRotationPoint(0F, 14F, -8F);

    /*
    HornLeft = new ModelRenderer(this, 74, 0);
    // HornLeft.mirror = true;
    HornLeft.addBox(0F, -8F, -2F, 2, 6, 2);
    HornLeft.setRotationPoint(0F, 14F, -8F);
    setRotation(HornLeft, 0F, 0F, 0.5585054F);

    HornPieceLeft = new ModelRenderer(this, 81, 9);
    // HornPieceLeft.mirror = true;
    HornPieceLeft.addBox(0F, -6F, -3F, 1, 4, 1);
    HornPieceLeft.setRotationPoint(0F, 14F, -8F);
    setRotation(HornPieceLeft, 0F, 0F, 0.5585054F);

    HornRight = new ModelRenderer(this, 83, 0);
    HornRight.addBox(-2F, -8F, -2F, 2, 6, 2);
    HornRight.setRotationPoint(0F, 14F, -8F);
    setRotation(HornRight, 0F, 0F, -0.5585054F);

    HornPieceRight = new ModelRenderer(this, 76, 9);
    HornPieceRight.addBox(-1F, -6F, -3F, 1, 4, 1);
    HornPieceRight.setRotationPoint(0F, 14F, -8F);
    setRotation(HornPieceRight, 0F, 0F, -0.5585054F);
    */

    HornLeft = new ModelRenderer(this, 74, 0);
    // HornLeft.mirror = true;
    HornLeft.addBox(0F, -8F, -2F, 2, 6, 2);
    HornLeft.setRotationPoint(0F, 0F, 0F);
    setRotation(HornLeft, 0F, 0F, 0.5585054F);
    Head.addChild(HornLeft);

    HornPieceLeft = new ModelRenderer(this, 81, 9);
    // HornPieceLeft.mirror = true;
    HornPieceLeft.addBox(0F, -6F, -3F, 1, 4, 1);
    HornPieceLeft.setRotationPoint(0F, 0F, 0F);
    setRotation(HornPieceLeft, 0F, 0F, 0.5585054F);
    Head.addChild(HornPieceLeft);

    HornRight = new ModelRenderer(this, 83, 0);
    HornRight.addBox(-2F, -8F, -2F, 2, 6, 2);
    HornRight.setRotationPoint(0F, 0F, 0F);
    setRotation(HornRight, 0F, 0F, -0.5585054F);
    Head.addChild(HornRight);

    HornPieceRight = new ModelRenderer(this, 76, 9);
    HornPieceRight.addBox(-1F, -6F, -3F, 1, 4, 1);
    HornPieceRight.setRotationPoint(0F, 0F, 0F);
    setRotation(HornPieceRight, 0F, 0F, -0.5585054F);
    Head.addChild(HornPieceRight);

    Tail3 = new ModelRenderer(this, 118, 17);
    Tail3.addBox(-1F, -1F, 0F, 2, 2, 3);
    Tail3.setRotationPoint(0F, 17.46667F, 13.93333F);
    setRotation(Tail3, -0.5205006F, 0F, 0F);

    LegFrontRight = new ModelRenderer(this, 119, 0);
    LegFrontRight.addBox(-1F, 0F, -1F, 2, 5, 2);
    LegFrontRight.setRotationPoint(-2F, 19F, -7F);

    PawFrontRight = new ModelRenderer(this, 76, 15);
    PawFrontRight.addBox(-1F, 4F, -2F, 2, 1, 1);
    PawFrontRight.setRotationPoint(-2F, 19F, -7F);

    LegFrontLeft = new ModelRenderer(this, 110, 0);
    // LegFrontLeft.mirror = true;
    LegFrontLeft.addBox(-1F, 0F, -1F, 2, 5, 2);
    LegFrontLeft.setRotationPoint(2F, 19F, -7F);

    LegBackLeft = new ModelRenderer(this, 92, 0);
    // LegBackLeft.mirror = true;
    LegBackLeft.addBox(-1F, 0F, -1F, 2, 5, 2);
    LegBackLeft.setRotationPoint(2F, 19F, 7F);

    TuftLeft = new ModelRenderer(this, 92, 8);
    // TuftLeft.mirror = true;
    TuftLeft.addBox(3F, -1F, -3F, 2, 4, 3);
    TuftLeft.setRotationPoint(0F, 14F, -8F);

    TuftRight = new ModelRenderer(this, 92, 17);
    TuftRight.addBox(-5F, -1F, -3F, 2, 4, 3);
    TuftRight.setRotationPoint(0F, 14F, -8F);

    TuftPieceRight = new ModelRenderer(this, 86, 9);
    TuftPieceRight.addBox(-6F, 0F, -2F, 1, 2, 1);
    TuftPieceRight.setRotationPoint(0F, 14F, -8F);

    LegBackRight = new ModelRenderer(this, 101, 0);
    LegBackRight.addBox(-1F, 0F, -1F, 2, 5, 2);
    LegBackRight.setRotationPoint(-2F, 19F, 7F);

    PawBackRight = new ModelRenderer(this, 76, 21);
    PawBackRight.addBox(-1F, 4F, -2F, 2, 1, 1);
    PawBackRight.setRotationPoint(-2F, 19F, 7F);

    PawBackLeft = new ModelRenderer(this, 76, 24);
    // PawBackLeft.mirror = true;
    PawBackLeft.addBox(-1F, 4F, -2F, 2, 1, 1);
    PawBackLeft.setRotationPoint(2F, 19F, 7F);

    PawFrontLeft = new ModelRenderer(this, 76, 18);
    // PawFrontLeft.mirror = true;
    PawFrontLeft.addBox(-1F, 4F, -2F, 2, 1, 1);
    PawFrontLeft.setRotationPoint(2F, 19F, -7F);

    Body = new ModelRenderer(this, 0, 0);
    Body.addBox(-4F, -2F, -8F, 6, 5, 16);
    Body.setRotationPoint(1F, 16F, 0F);

    Tail1 = new ModelRenderer(this, 103, 8);
    Tail1.addBox(-1F, -1F, 0F, 4, 3, 5);
    Tail1.setRotationPoint(-1F, 15F, 5.666667F);
    setRotation(Tail1, -0.1115358F, 0F, 0F);

    Tail2 = new ModelRenderer(this, 103, 17);
    Tail2.addBox(-1F, -1F, 0F, 2, 3, 5);
    Tail2.setRotationPoint(0F, 15.46667F, 9.933333F);
    setRotation(Tail2, -0.2974289F, 0F, 0F);

    Fur5 = new ModelRenderer(this, 48, 34);
    Fur5.addBox(-1F, -1F, -2F, 1, 2, 3);
    Fur5.setRotationPoint(0.4666667F, 20.33333F, 18.2F);
    setRotation(Fur5, -0.5576792F, 0F, 0F);

    Fur1 = new ModelRenderer(this, 0, 22);
    Fur1.addBox(-1F, -1F, -8F, 2, 1, 16);
    Fur1.setRotationPoint(0F, 14F, 0F);

    Fur2 = new ModelRenderer(this, 37, 22);
    Fur2.addBox(-1F, -1F, -2F, 2, 1, 3);
    Fur2.setRotationPoint(0F, 14.8F, 9.666667F);
    setRotation(Fur2, -0.1487144F, 0F, 0F);

    Fur3 = new ModelRenderer(this, 37, 27);
    Fur3.addBox(-1F, -1F, -2F, 2, 1, 5);
    Fur3.setRotationPoint(0F, 15.8F, 12.2F);
    setRotation(Fur3, -0.2974289F, 0F, 0F);

    Fur4 = new ModelRenderer(this, 37, 34);
    Fur4.addBox(-1F, -1F, -2F, 1, 4, 4);
    Fur4.setRotationPoint(0.4666667F, 17.8F, 16.2F);
    setRotation(Fur4, -0.4833219F, 0F, 0F);
    }

    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5);
    Head.render(f5);
    MouthBottom.render(f5);
    MouthTop.render(f5);
    TuftPieceLeft.render(f5);
    // HornLeft.render(f5);
    // HornPieceLeft.render(f5);
    // HornRight.render(f5);
    // HornPieceRight.render(f5);
    Tail3.render(f5);
    LegFrontRight.render(f5);
    PawFrontRight.render(f5);
    LegFrontLeft.render(f5);
    LegBackLeft.render(f5);
    TuftLeft.render(f5);
    TuftRight.render(f5);
    TuftPieceRight.render(f5);
    LegBackRight.render(f5);
    PawBackRight.render(f5);
    PawBackLeft.render(f5);
    PawFrontLeft.render(f5);
    Body.render(f5);
    Tail1.render(f5);
    Tail2.render(f5);
    Fur5.render(f5);
    Fur1.render(f5);
    Fur2.render(f5);
    Fur3.render(f5);
    Fur4.render(f5);
    }

    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
    }

    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.setRotationAngles(f, f1, f2, f3, f4, f5);
    Head.rotateAngleX = f4 / (180F / (float)Math.PI);
    Head.rotateAngleY = f3 / (180F / (float)Math.PI);
    MouthTop.rotateAngleX = Head.rotateAngleX;
    MouthTop.rotateAngleY = Head.rotateAngleY;
    MouthBottom.rotateAngleX = Head.rotateAngleX;
    MouthBottom.rotateAngleY = Head.rotateAngleY;

    // HornLeft.rotateAngleX = Head.rotateAngleX;
    // HornLeft.rotateAngleY = Head.rotateAngleY;
    // HornPieceLeft.rotateAngleX = Head.rotateAngleX;
    // HornPieceLeft.rotateAngleY = Head.rotateAngleY;
    // HornRight.rotateAngleX = Head.rotateAngleX;
    // HornRight.rotateAngleY = Head.rotateAngleY;
    // HornPieceRight.rotateAngleX = Head.rotateAngleX;
    // HornPieceRight.rotateAngleY = Head.rotateAngleY;
    // HornLeft.rotateAngleZ = 0.5585054F + Head.rotateAngleZ;
    // HornPieceLeft.rotateAngleZ = 0.5585054F + Head.rotateAngleZ;
    // HornRight.rotateAngleZ = -0.5585054F + Head.rotateAngleZ;
    // HornPieceRight.rotateAngleZ = -0.5585054F + Head.rotateAngleZ;

    TuftLeft.rotateAngleX = Head.rotateAngleX;
    TuftLeft.rotateAngleY = Head.rotateAngleY;
    TuftRight.rotateAngleX = Head.rotateAngleX;
    TuftRight.rotateAngleY = Head.rotateAngleY;
    TuftPieceLeft.rotateAngleX = Head.rotateAngleX;
    TuftPieceLeft.rotateAngleY = Head.rotateAngleY;
    TuftPieceRight.rotateAngleX = Head.rotateAngleX;
    TuftPieceRight.rotateAngleY = Head.rotateAngleY;

    LegFrontLeft.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    PawFrontLeft.rotateAngleX = LegFrontLeft.rotateAngleX;
    LegFrontRight.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    PawFrontRight.rotateAngleX = LegFrontRight.rotateAngleX;
    LegBackLeft.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    PawBackLeft.rotateAngleX = LegBackLeft.rotateAngleX;
    LegBackRight.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    PawBackRight.rotateAngleX = LegBackRight.rotateAngleX;
    }
    }

    I do have a thread where I asked what could be wrong with the model and why it isn't working, but I never got a response. Call me impatient, but I just really want this model in-game.
    If any of you know what's wrong and could fix it, i'll give you credit for fixing the model for this mod! :)
    Posted in: Requests / Ideas For Mods
  • 0

    posted a message on Mob model not showing up (ModLoader, Eclipse, MCP)
    Bump.

    Also, the error I get whenever I try to test the mob.


    == MCP 7.25 (data: 7.25, client: 1.4.6, server: 1.4.6) ==
    # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config
    == Recompiling client ==
    > Cleaning bin
    > Recompiling
    '"C:\Program Files\Java\jdk1.7.0_06\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1

    == ERRORS FOUND ==

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderDispenseHelper.java:8: warning: [deprecation] IDispenseHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenseHandler;
    ^

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderDispenseHelper.java:9: warning: [deprecation] IDispenserHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenserHandler;
    ^

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderDispenseHelper.java:11: warning: [deprecation] IDispenserHandler in cpw.mods.fml.common has been deprecated
    public class ModLoaderDispenseHelper implements IDispenserHandler
    ^

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderHelper.java:37: warning: [deprecation] IDispenseHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenseHandler;
    ^

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderHelper.java:38: warning: [deprecation] IDispenserHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenserHandler;
    ^

    src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:39: warning: [deprecation] IDispenseHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenseHandler;
    ^

    src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:40: warning: [deprecation] IDispenserHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenserHandler;
    ^

    src\minecraft\net\minecraft\src\mod_silverDragon.java:254: error: variable BackLegLeft is already defined in class ModelSilverDragon
    ModelRenderer BackLegLeft;
    ^

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderModContainer.java:528: warning: [deprecation] registerDispenserHandler(IDispenserHandler) in GameRegistry has been deprecated
    GameRegistry.registerDispenserHandler(ModLoaderHelper.buildDispenseHelper(mod));
    ^

    src\minecraft\net\minecraft\src\mod_silverDragon.java:458: error: cannot find symbol
    PawFrontLeft.rotateAngleX = LegFrontLeft.rotateAngleX;
    ^

    symbol: variable LegFrontLeft
    location: class ModelSilverDragon
    src\minecraft\net\minecraft\src\mod_silverDragon.java:460: error: cannot find symbol
    PawFrontRight.rotateAngleX = LegFrontRight.rotateAngleX;
    ^

    symbol: variable LegFrontRight
    location: class ModelSilverDragon
    src\minecraft\net\minecraft\src\mod_silverDragon.java:462: error: cannot find symbol
    PawBackLeft.rotateAngleX = LegBackLeft.rotateAngleX;
    ^

    symbol: variable LegBackLeft
    location: class ModelSilverDragon
    src\minecraft\net\minecraft\src\mod_silverDragon.java:463: error: cannot find symbol
    BackLegRight.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    ^

    symbol: variable BackLegRight
    location: class ModelSilverDragon
    src\minecraft\net\minecraft\src\mod_silverDragon.java:464: error: cannot find symbol
    PawBackRight.rotateAngleX = LegBackRight.rotateAngleX;
    ^

    symbol: variable LegBackRight
    location: class ModelSilverDragon
    src\minecraft\net\minecraft\src\ModLoader.java:638: warning: [deprecation] registerBlock(Block) in GameRegistry has been deprecated
    GameRegistry.registerBlock(block);
    ^

    src\minecraft\net\minecraft\src\ModLoader.java:649: warning: [deprecation] registerBlock(Block,Class<? extends ItemBlock>) in GameRegistry has been deprecated
    GameRegistry.registerBlock(block, itemclass);
    ^

    6 errors
    10 warnings
    ==================

    !! Can not find server sources, try decompiling !!
    Posted in: Modification Development
  • 0

    posted a message on Mob model not showing up (ModLoader, Eclipse, MCP)
    EDIT - I decided to use ModLoader for this instead, and i'm having a better time with it! :)
    I have made all the files needed for the mod, but whenever I try to spawn the mob, it's invisible. I have made the skin for it and I have the skin location set correctly, I also copied the files to the required folders. Anyone know what the problem is?

    mod_silvvy.java
    package net.minecraft.src;
    
    import java.awt.Color;
    import java.util.Map;
    
    public class mod_Silvvy extends BaseMod
    {
    public String getVersion()
    {
    return "1.4.7";
    }
    
    public void load()
    {
    ModLoader.registerEntityID(EntitySilvvy.class, "Silvvy", 23);//registers the mobs name and id
    ModLoader.addSpawn("Silvvy", 0, 0, 0, EnumCreatureType.creature);//makes the mob spawn in game
    ModLoader.addLocalization("entity.Silvvy.name", "Silvvy");//adds Mob name on the spawn egg
    EntityList.entityEggs.put(Integer.valueOf(23), new EntityEggInfo(23, 894731, (new Color(21, 15, 6)).getRGB()));//creates the spawn egg, and chnages color of egg
    }
    
    public void addRenderer(Map var1)
    {
    var1.put(EntitySilvvy.class, new RenderLiving(new ModelSilvvy(),.5f));
    }
    }


    EntitySilvvy.java

    package net.minecraft.src;
    
    public class EntitySilvvy extends EntityCreature//extend this to make mob hostile
    {
    public EntitySilvvy(World par1World)
    {
    super(par1World);
    this.texture = "/mob/Silvvy.png";//Set Mob texture
    this.moveSpeed = 0.4f;//sets how fast this mob moves
    isImmuneToFire = false;
    //below this is all the ai tasks that specify how the mob will behave mess around with it to see what happens
    this.tasks.addTask(0, new EntityAISwimming(this));
    this.tasks.addTask(1, new EntityAIAttackOnCollide(this, EntityPlayer.class, this.moveSpeed, false));
    this.tasks.addTask(2, new EntityAIMoveTwardsRestriction(this, this.moveSpeed));
    this.tasks.addTask(3, new EntityAIWander(this, this.moveSpeed));
    this.tasks.addTask(4, new EntityAILookIdle(this));
    this.targetTasks.addTask(0, new EntityAIHurtByTarget(this, false));
    this.targetTasks.addTask(1, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 25.0F, 0, true));
    
    }
    
    public int func_82193_c(Entity par1Entity) //the amount of damage
    {
    return 3;
    }
    
    protected void fall(float par1) {}
    public int getMaxHealth() // Mob health
    {
    return 8;
    }
    
    protected String getLivingSound()
    {
    return "mob.aerBunnyLift";
    }
    
    protected String getHurtSound()
    {
    return "mob.aerBunnyHurt1";
    }
    
    protected String getDeathSound()
    {
    return "mob.aerBunnyDeath";
    }
    
    protected int getDropItemId()
    {
    return Item.sugar.itemID;
    }
    protected boolean canDespawn()
    {
    return false;
    }
    
    protected boolean isAIEnabled()//Allow your AI task to work?
    {
    return true;
    }
    }


    ModelSilvvy.java

    // Date: 2/4/2013 10:54:21 PM
    // Template version 1.1
    // Java generated by Techne
    // Keep in mind that you still need to fill in some blanks
    // - ZeuX
    
    
    
    
    
    
    package net.minecraft.src;
    
    public class ModelSilvvy extends ModelBase
    {
    //fields
    ModelRenderer Snout;
    ModelRenderer LargeHornRight;
    ModelRenderer TuftEdgeRight;
    ModelRenderer BackLegRight;
    ModelRenderer SmallHornRight;
    ModelRenderer LargeHornLeft;
    ModelRenderer SmallHornLeft;
    ModelRenderer Head;
    ModelRenderer TuftRight;
    ModelRenderer TuftLeft;
    ModelRenderer TuftEdgeLeft;
    ModelRenderer TailBack;
    ModelRenderer BackLegLeft;
    ModelRenderer FrontLegRight;
    ModelRenderer PawBackLeft;
    ModelRenderer TailFurEdge;
    ModelRenderer Neck;
    ModelRenderer TailMiddle;
    ModelRenderer FrontLegLeft;
    ModelRenderer PawFrontLeft;
    ModelRenderer PawFrontRight;
    ModelRenderer PawBackRight;
    ModelRenderer Body;
    ModelRenderer BackFur;
    ModelRenderer TailMiddleFur;
    ModelRenderer TailBackFur;
    
    public ModelSilvvy()
    {
    textureWidth = 64;
    textureHeight = 64;
    
    Snout = new ModelRenderer(this, 0, 0);
    Snout.addBox(0F, 0F, 0F, 3, 2, 3);
    Snout.setRotationPoint(-2F, 17F, -12F);
    Snout.setTextureSize(64, 64);
    Snout.mirror = true;
    setRotation(Snout, 0F, 0F, 0F);
    LargeHornRight = new ModelRenderer(this, 49, 0);
    LargeHornRight.addBox(0F, 0F, 0F, 1, 5, 1);
    LargeHornRight.setRotationPoint(2F, 10F, -6F);
    LargeHornRight.setTextureSize(64, 64);
    LargeHornRight.mirror = true;
    setRotation(LargeHornRight, 0F, 0F, 0.2230717F);
    TuftEdgeRight = new ModelRenderer(this, 9, 8);
    TuftEdgeRight.addBox(0F, 0F, 0F, 1, 2, 1);
    TuftEdgeRight.setRotationPoint(4F, 15F, -6F);
    TuftEdgeRight.setTextureSize(64, 64);
    TuftEdgeRight.mirror = true;
    setRotation(TuftEdgeRight, 0F, 0F, 0F);
    BackLegRight = new ModelRenderer(this, 9, 31);
    BackLegRight.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegRight.setRotationPoint(0F, 19F, 5F);
    BackLegRight.setTextureSize(64, 64);
    BackLegRight.mirror = true;
    setRotation(BackLegRight, 0F, 0F, 0F);
    SmallHornRight = new ModelRenderer(this, 49, 7);
    SmallHornRight.addBox(0F, 0F, 0F, 1, 3, 1);
    SmallHornRight.setRotationPoint(1F, 12F, -7F);
    SmallHornRight.setTextureSize(64, 64);
    SmallHornRight.mirror = true;
    setRotation(SmallHornRight, 0F, 0F, 0.2230705F);
    LargeHornLeft = new ModelRenderer(this, 44, 0);
    LargeHornLeft.addBox(0F, 0F, 0F, 1, 5, 1);
    LargeHornLeft.setRotationPoint(-4F, 10F, -6F);
    LargeHornLeft.setTextureSize(64, 64);
    LargeHornLeft.mirror = true;
    setRotation(LargeHornLeft, 0F, 0F, -0.2230705F);
    SmallHornLeft = new ModelRenderer(this, 44, 7);
    SmallHornLeft.addBox(0F, 0F, 0F, 1, 3, 1);
    SmallHornLeft.setRotationPoint(-3F, 12F, -7F);
    SmallHornLeft.setTextureSize(64, 64);
    SmallHornLeft.mirror = true;
    setRotation(SmallHornLeft, 0F, 0F, -0.2230705F);
    Head = new ModelRenderer(this, 36, 28);
    Head.addBox(0F, 0F, 0F, 5, 5, 5);
    Head.setRotationPoint(-3F, 14F, -10F);
    Head.setTextureSize(64, 64);
    Head.mirror = true;
    setRotation(Head, 0F, 0F, 0F);
    TuftRight = new ModelRenderer(this, 31, 0);
    TuftRight.addBox(0F, 0F, 0F, 2, 4, 2);
    TuftRight.setRotationPoint(2F, 14F, -7F);
    TuftRight.setTextureSize(64, 64);
    TuftRight.mirror = true;
    setRotation(TuftRight, 0F, 0F, 0F);
    TuftLeft = new ModelRenderer(this, 22, 0);
    TuftLeft.addBox(0F, 0F, 0F, 2, 4, 2);
    TuftLeft.setRotationPoint(-5F, 14F, -7F);
    TuftLeft.setTextureSize(64, 64);
    TuftLeft.mirror = true;
    setRotation(TuftLeft, 0F, 0F, 0F);
    TuftEdgeLeft = new ModelRenderer(this, 0, 8);
    TuftEdgeLeft.addBox(0F, 0F, 0F, 1, 2, 1);
    TuftEdgeLeft.setRotationPoint(-6F, 15F, -6F);
    TuftEdgeLeft.setTextureSize(64, 64);
    TuftEdgeLeft.mirror = true;
    setRotation(TuftEdgeLeft, 0F, 0F, 0F);
    TailBack = new ModelRenderer(this, 35, 9);
    TailBack.addBox(0F, 0F, 0F, 1, 1, 4);
    TailBack.setRotationPoint(-1F, 18.5F, 10.6F);
    TailBack.setTextureSize(64, 64);
    TailBack.mirror = true;
    setRotation(TailBack, -0.6145831F, 0F, 0F);
    BackLegLeft = new ModelRenderer(this, 0, 31);
    BackLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegLeft.setRotationPoint(-3F, 19F, 5F);
    BackLegLeft.setTextureSize(64, 64);
    BackLegLeft.mirror = true;
    setRotation(BackLegLeft, 0F, 0F, 0F);
    FrontLegRight = new ModelRenderer(this, 27, 31);
    FrontLegRight.addBox(0F, 0F, 0F, 2, 5, 2);
    FrontLegRight.setRotationPoint(0F, 19F, -4F);
    FrontLegRight.setTextureSize(64, 64);
    FrontLegRight.mirror = true;
    setRotation(FrontLegRight, 0F, 0F, 0F);
    PawBackLeft = new ModelRenderer(this, 21, 39);
    PawBackLeft.addBox(0F, 0F, 0F, 2, 1, 1);
    PawBackLeft.setRotationPoint(-3F, 23F, 4F);
    PawBackLeft.setTextureSize(64, 64);
    PawBackLeft.mirror = true;
    setRotation(PawBackLeft, 0F, 0F, 0F);
    TailFurEdge = new ModelRenderer(this, 36, 42);
    TailFurEdge.addBox(0F, 0F, 0F, 1, 3, 4);
    TailFurEdge.setRotationPoint(-1F, 18.63333F, 13F);
    TailFurEdge.setTextureSize(64, 64);
    TailFurEdge.mirror = true;
    setRotation(TailFurEdge, -0.6472177F, 0F, 0F);
    Neck = new ModelRenderer(this, 13, 0);
    Neck.addBox(0F, 0F, 0F, 3, 3, 1);
    Neck.setRotationPoint(-2F, 16F, -5F);
    Neck.setTextureSize(64, 64);
    Neck.mirror = true;
    setRotation(Neck, 0F, 0F, 0F);
    TailMiddle = new ModelRenderer(this, 35, 14);
    TailMiddle.addBox(0F, 0F, 0F, 2, 2, 5);
    TailMiddle.setRotationPoint(-1.5F, 16.5F, 6F);
    TailMiddle.setTextureSize(64, 64);
    TailMiddle.mirror = true;
    setRotation(TailMiddle, -0.2974289F, 0F, 0F);
    FrontLegLeft = new ModelRenderer(this, 18, 31);
    FrontLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    FrontLegLeft.setRotationPoint(-3F, 19F, -4F);
    FrontLegLeft.setTextureSize(64, 64);
    FrontLegLeft.mirror = true;
    setRotation(FrontLegLeft, 0F, 0F, 0F);
    PawFrontLeft = new ModelRenderer(this, 0, 39);
    PawFrontLeft.addBox(0F, 0F, 0F, 2, 1, 1);
    PawFrontLeft.setRotationPoint(-3F, 23F, -5F);
    PawFrontLeft.setTextureSize(64, 64);
    PawFrontLeft.mirror = true;
    setRotation(PawFrontLeft, 0F, 0F, 0F);
    PawFrontRight = new ModelRenderer(this, 7, 39);
    PawFrontRight.addBox(0F, 0F, 0F, 2, 1, 1);
    PawFrontRight.setRotationPoint(0F, 23F, -5F);
    PawFrontRight.setTextureSize(64, 64);
    PawFrontRight.mirror = true;
    setRotation(PawFrontRight, 0F, 0F, 0F);
    PawBackRight = new ModelRenderer(this, 14, 39);
    PawBackRight.addBox(0F, 0F, 0F, 2, 1, 1);
    PawBackRight.setRotationPoint(0F, 23F, 4F);
    PawBackRight.setTextureSize(64, 64);
    PawBackRight.mirror = true;
    setRotation(PawBackRight, 0F, 0F, 0F);
    Body = new ModelRenderer(this, 0, 14);
    Body.addBox(0F, 0F, 0F, 5, 4, 11);
    Body.setRotationPoint(-3F, 15.5F, -4F);
    Body.setTextureSize(64, 64);
    Body.mirror = true;
    setRotation(Body, -0.0523599F, 0F, 0F);
    BackFur = new ModelRenderer(this, 0, 42);
    BackFur.addBox(0F, 0F, 0F, 1, 2, 11);
    BackFur.setRotationPoint(-1F, 14.5F, -4F);
    BackFur.setTextureSize(64, 64);
    BackFur.mirror = true;
    setRotation(BackFur, -0.0523599F, 0F, 0F);
    TailMiddleFur = new ModelRenderer(this, 25, 42);
    TailMiddleFur.addBox(0F, 0F, 0F, 1, 2, 4);
    TailMiddleFur.setRotationPoint(-1F, 15.5F, 7F);
    TailMiddleFur.setTextureSize(64, 64);
    TailMiddleFur.mirror = true;
    setRotation(TailMiddleFur, -0.3126102F, 0F, 0F);
    TailBackFur = new ModelRenderer(this, 25, 49);
    TailBackFur.addBox(0F, 0F, 0F, 1, 1, 3);
    TailBackFur.setRotationPoint(-1F, 17.45555F, 11F);
    TailBackFur.setTextureSize(64, 64);
    TailBackFur.mirror = true;
    setRotation(TailBackFur, -0.6485534F, 0F, 0F);
    }
    
    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5);
    Snout.render(f5);
    LargeHornRight.render(f5);
    TuftEdgeRight.render(f5);
    BackLegRight.render(f5);
    SmallHornRight.render(f5);
    LargeHornLeft.render(f5);
    SmallHornLeft.render(f5);
    Head.render(f5);
    TuftRight.render(f5);
    TuftLeft.render(f5);
    TuftEdgeLeft.render(f5);
    TailBack.render(f5);
    BackLegLeft.render(f5);
    FrontLegRight.render(f5);
    PawBackLeft.render(f5);
    TailFurEdge.render(f5);
    Neck.render(f5);
    TailMiddle.render(f5);
    FrontLegLeft.render(f5);
    PawFrontLeft.render(f5);
    PawFrontRight.render(f5);
    PawBackRight.render(f5);
    Body.render(f5);
    BackFur.render(f5);
    TailMiddleFur.render(f5);
    TailBackFur.render(f5);
    }
    
    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
    }
    
    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
    {
    //super.setRotationAngles(f, f1, f2, f3, f4, f5);
    }
    
    }
    Posted in: Modification Development
  • 0

    posted a message on MCreator Minecraft Mod Maker, Add-On Maker, and Data Pack Maker
    I'm not sure if this is just me, but when I try to use a texture for anything, it just comes out transparent (I am able to make x-ray blocks this way, but I don't want to do that!) Also, when I import a Techne model and I try to create a mob, it gives me this error.



    == MCP 7.25 (data: 7.25, client: 1.4.6, server: 1.4.6) ==
    # found ff, ff patches, srgs, name csvs, doc csvs, param csvs, renumber csv, astyle, astyle config
    == Recompiling client ==
    > Cleaning bin
    > Recompiling
    '"C:\Program Files\Java\jdk1.7.0_06\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1

    == ERRORS FOUND ==

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderDispenseHelper.java:8: warning: [deprecation] IDispenseHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenseHandler;
    ^

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderDispenseHelper.java:9: warning: [deprecation] IDispenserHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenserHandler;
    ^

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderDispenseHelper.java:11: warning: [deprecation] IDispenserHandler in cpw.mods.fml.common has been deprecated
    public class ModLoaderDispenseHelper implements IDispenserHandler
    ^

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderHelper.java:37: warning: [deprecation] IDispenseHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenseHandler;
    ^

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderHelper.java:38: warning: [deprecation] IDispenserHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenserHandler;
    ^

    src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:39: warning: [deprecation] IDispenseHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenseHandler;
    ^

    src\minecraft\cpw\mods\fml\common\registry\GameRegistry.java:40: warning: [deprecation] IDispenserHandler in cpw.mods.fml.common has been deprecated
    import cpw.mods.fml.common.IDispenserHandler;
    ^

    src\minecraft\net\minecraft\src\mod_silverDragon.java:251: error: cannot find symbol
    public static class ModelSilverDragon extends ModelSilvvy
    ^

    symbol: class ModelSilvvy
    location: class mod_silverDragon
    src\minecraft\net\minecraft\src\mod_silverDragon.java:266: error: variable BackLegLeft is already defined in class ModelSilverDragon
    ModelRenderer BackLegLeft;
    ^

    src\minecraft\cpw\mods\fml\common\modloader\ModLoaderModContainer.java:528: warning: [deprecation] registerDispenserHandler(IDispenserHandler) in GameRegistry has been deprecated
    GameRegistry.registerDispenserHandler(ModLoaderHelper.buildDispenseHelper(mod));
    ^

    src\minecraft\net\minecraft\src\mod_silverDragon.java:122: error: constructor RenderLiving in class RenderLiving cannot be applied to given types;
    var1.put(mod_silverDragon.EntitysilverDragon.class, new RenderLiving(new mod_silverDragon.ModelSilverDragon(), 0));
    ^

    required: ModelBase,float
    found: ModelSilverDragon,int
    reason: actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion
    src\minecraft\net\minecraft\src\mod_silverDragon.java:283: error: cannot find symbol
    textureWidth = 64;
    ^

    symbol: variable textureWidth
    location: class ModelSilverDragon
    src\minecraft\net\minecraft\src\mod_silverDragon.java:284: error: cannot find symbol
    textureHeight = 64;
    ^

    symbol: variable textureHeight
    location: class ModelSilverDragon
    src\minecraft\net\minecraft\src\mod_silverDragon.java:286: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    Snout = new ModelRenderer(this, 0, 0);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:292: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    LargeHornRight = new ModelRenderer(this, 49, 0);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:298: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    TuftEdgeRight = new ModelRenderer(this, 9, 8);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:304: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    BackLegLeft = new ModelRenderer(this, 9, 31);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:310: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    SmallHornRight = new ModelRenderer(this, 49, 7);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:316: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    LargeHornLeft = new ModelRenderer(this, 44, 0);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:322: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    SmallHornLeft = new ModelRenderer(this, 44, 7);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:328: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    Head = new ModelRenderer(this, 36, 28);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:334: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    TuftRight = new ModelRenderer(this, 31, 0);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:340: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    TuftLeft = new ModelRenderer(this, 22, 0);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:346: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    TuftEdgeLeft = new ModelRenderer(this, 0, 8);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:352: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    TailBack = new ModelRenderer(this, 35, 9);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:358: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    BackLegLeft = new ModelRenderer(this, 0, 31);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:364: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    FrontLegRight = new ModelRenderer(this, 27, 31);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:370: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    PawBackLeft = new ModelRenderer(this, 21, 39);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:376: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    TailFurEdge = new ModelRenderer(this, 9, 6);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:382: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    Neck = new ModelRenderer(this, 13, 0);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:388: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    TailMiddle = new ModelRenderer(this, 35, 14);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:394: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    FrontLegLeft = new ModelRenderer(this, 18, 31);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:400: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    PawFrontLeft = new ModelRenderer(this, 0, 39);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:406: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    PawFrontRight = new ModelRenderer(this, 7, 39);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:412: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    PawBackRight = new ModelRenderer(this, 14, 39);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:418: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    Body = new ModelRenderer(this, 0, 14);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:424: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    BackFur = new ModelRenderer(this, 0, 42);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:430: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    TailMiddleFur = new ModelRenderer(this, 25, 42);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:436: error: no suitable constructor found for ModelRenderer(ModelSilverDragon,int,int)
    TailBackFur = new ModelRenderer(this, 25, 49);
    ^

    constructor ModelRenderer.ModelRenderer(ModelBase,int,int) is not applicable
    (actual argument ModelSilverDragon cannot be converted to ModelBase by method invocation conversion)
    constructor ModelRenderer.ModelRenderer(ModelBase) is not applicable
    (actual and formal argument lists differ in length)
    constructor ModelRenderer.ModelRenderer(ModelBase,String) is not applicable
    (actual and formal argument lists differ in length)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:446: error: non-static variable super cannot be referenced from a static context
    super.render(entity, f, f1, f2, f3, f4, f5);
    ^

    src\minecraft\net\minecraft\src\mod_silverDragon.java:446: error: cannot find symbol
    super.render(entity, f, f1, f2, f3, f4, f5);
    ^

    symbol: method render(Entity,float,float,float,float,float,float)
    src\minecraft\net\minecraft\src\mod_silverDragon.java:487: error: non-static variable super cannot be referenced from a static context
    super.setRotationAngles(f, f1, f2, f3, f4, f5, e);
    ^

    src\minecraft\net\minecraft\src\mod_silverDragon.java:487: error: cannot find symbol
    super.setRotationAngles(f, f1, f2, f3, f4, f5, e);
    ^

    symbol: method setRotationAngles(float,float,float,float,float,float,Entity)
    src\minecraft\net\minecraft\src\ModLoader.java:638: warning: [deprecation] registerBlock(Block) in GameRegistry has been deprecated
    GameRegistry.registerBlock(block);
    ^

    src\minecraft\net\minecraft\src\ModLoader.java:649: warning: [deprecation] registerBlock(Block,Class<? extends ItemBlock>) in GameRegistry has been deprecated
    GameRegistry.registerBlock(block, itemclass);
    ^

    35 errors
    10 warnings
    ==================

    !! Can not find server sources, try decompiling !!

    Also, after I close it out and then try to play it, it tells me "could not find client bins." I have to re-install it and even then, it still doesn't want to work. Oh, and if you wonder what happens when I try decompiling it, the command box closes out really quickly, so I can't see what the text says... and it still does nothing. Is my computer broken??

    EDIT - Actually, I just tried a model somebody modded. Basically, I gave it to another person to fix, and it works when I create the mob!

    Here is the code for the original model I made.


    // Date: 1/26/2013 3:27:37 AM
    // Template version 1.1
    // Java generated by Techne
    // Keep in mind that you still need to fill in some blanks
    // - ZeuX






    package net.minecraft.src;

    public class ModelSilverDragon extends ModelSilvvy
    {
    //fields
    ModelRenderer Snout;
    ModelRenderer LargeHornRight;
    ModelRenderer TuftEdgeRight;
    ModelRenderer BackLegLeft;
    ModelRenderer SmallHornRight;
    ModelRenderer LargeHornLeft;
    ModelRenderer SmallHornLeft;
    ModelRenderer Head;
    ModelRenderer TuftRight;
    ModelRenderer TuftLeft;
    ModelRenderer TuftEdgeLeft;
    ModelRenderer TailBack;
    ModelRenderer BackLegLeft;
    ModelRenderer FrontLegRight;
    ModelRenderer PawBackLeft;
    ModelRenderer TailFurEdge;
    ModelRenderer Neck;
    ModelRenderer TailMiddle;
    ModelRenderer FrontLegLeft;
    ModelRenderer PawFrontLeft;
    ModelRenderer PawFrontRight;
    ModelRenderer PawBackRight;
    ModelRenderer Body;
    ModelRenderer BackFur;
    ModelRenderer TailMiddleFur;
    ModelRenderer TailBackFur;

    public ModelSilverDragon()
    {
    textureWidth = 64;
    textureHeight = 64;

    Snout = new ModelRenderer(this, 0, 0);
    Snout.addBox(0F, 0F, 0F, 3, 2, 3);
    Snout.setRotationPoint(-2F, 17F, -12F);
    Snout.setTextureSize(64, 64);
    Snout.mirror = true;
    setRotation(Snout, 0F, 0F, 0F);
    LargeHornRight = new ModelRenderer(this, 49, 0);
    LargeHornRight.addBox(0F, 0F, 0F, 1, 5, 1);
    LargeHornRight.setRotationPoint(2F, 10F, -6F);
    LargeHornRight.setTextureSize(64, 64);
    LargeHornRight.mirror = true;
    setRotation(LargeHornRight, 0F, 0F, 0.2230717F);
    TuftEdgeRight = new ModelRenderer(this, 9, 8);
    TuftEdgeRight.addBox(0F, 0F, 0F, 1, 2, 1);
    TuftEdgeRight.setRotationPoint(4F, 15F, -6F);
    TuftEdgeRight.setTextureSize(64, 64);
    TuftEdgeRight.mirror = true;
    setRotation(TuftEdgeRight, 0F, 0F, 0F);
    BackLegLeft = new ModelRenderer(this, 9, 31);
    BackLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegLeft.setRotationPoint(0F, 19F, 5F);
    BackLegLeft.setTextureSize(64, 64);
    BackLegLeft.mirror = true;
    setRotation(BackLegLeft, 0F, 0F, 0F);
    SmallHornRight = new ModelRenderer(this, 49, 7);
    SmallHornRight.addBox(0F, 0F, 0F, 1, 3, 1);
    SmallHornRight.setRotationPoint(1F, 12F, -7F);
    SmallHornRight.setTextureSize(64, 64);
    SmallHornRight.mirror = true;
    setRotation(SmallHornRight, 0F, 0F, 0.2230705F);
    LargeHornLeft = new ModelRenderer(this, 44, 0);
    LargeHornLeft.addBox(0F, 0F, 0F, 1, 5, 1);
    LargeHornLeft.setRotationPoint(-4F, 10F, -6F);
    LargeHornLeft.setTextureSize(64, 64);
    LargeHornLeft.mirror = true;
    setRotation(LargeHornLeft, 0F, 0F, -0.2230705F);
    SmallHornLeft = new ModelRenderer(this, 44, 7);
    SmallHornLeft.addBox(0F, 0F, 0F, 1, 3, 1);
    SmallHornLeft.setRotationPoint(-3F, 12F, -7F);
    SmallHornLeft.setTextureSize(64, 64);
    SmallHornLeft.mirror = true;
    setRotation(SmallHornLeft, 0F, 0F, -0.2230705F);
    Head = new ModelRenderer(this, 36, 28);
    Head.addBox(0F, 0F, 0F, 5, 5, 5);
    Head.setRotationPoint(-3F, 14F, -10F);
    Head.setTextureSize(64, 64);
    Head.mirror = true;
    setRotation(Head, 0F, 0F, 0F);
    TuftRight = new ModelRenderer(this, 31, 0);
    TuftRight.addBox(0F, 0F, 0F, 2, 4, 2);
    TuftRight.setRotationPoint(2F, 14F, -7F);
    TuftRight.setTextureSize(64, 64);
    TuftRight.mirror = true;
    setRotation(TuftRight, 0F, 0F, 0F);
    TuftLeft = new ModelRenderer(this, 22, 0);
    TuftLeft.addBox(0F, 0F, 0F, 2, 4, 2);
    TuftLeft.setRotationPoint(-5F, 14F, -7F);
    TuftLeft.setTextureSize(64, 64);
    TuftLeft.mirror = true;
    setRotation(TuftLeft, 0F, 0F, 0F);
    TuftEdgeLeft = new ModelRenderer(this, 0, 8);
    TuftEdgeLeft.addBox(0F, 0F, 0F, 1, 2, 1);
    TuftEdgeLeft.setRotationPoint(-6F, 15F, -6F);
    TuftEdgeLeft.setTextureSize(64, 64);
    TuftEdgeLeft.mirror = true;
    setRotation(TuftEdgeLeft, 0F, 0F, 0F);
    TailBack = new ModelRenderer(this, 35, 9);
    TailBack.addBox(0F, 0F, 0F, 1, 1, 4);
    TailBack.setRotationPoint(-1F, 18.5F, 10.6F);
    TailBack.setTextureSize(64, 64);
    TailBack.mirror = true;
    setRotation(TailBack, -0.6145831F, 0F, 0F);
    BackLegLeft = new ModelRenderer(this, 0, 31);
    BackLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    BackLegLeft.setRotationPoint(-3F, 19F, 5F);
    BackLegLeft.setTextureSize(64, 64);
    BackLegLeft.mirror = true;
    setRotation(BackLegLeft, 0F, 0F, 0F);
    FrontLegRight = new ModelRenderer(this, 27, 31);
    FrontLegRight.addBox(0F, 0F, 0F, 2, 5, 2);
    FrontLegRight.setRotationPoint(0F, 19F, -4F);
    FrontLegRight.setTextureSize(64, 64);
    FrontLegRight.mirror = true;
    setRotation(FrontLegRight, 0F, 0F, 0F);
    PawBackLeft = new ModelRenderer(this, 21, 39);
    PawBackLeft.addBox(0F, 0F, 0F, 2, 1, 1);
    PawBackLeft.setRotationPoint(-3F, 23F, 4F);
    PawBackLeft.setTextureSize(64, 64);
    PawBackLeft.mirror = true;
    setRotation(PawBackLeft, 0F, 0F, 0F);
    TailFurEdge = new ModelRenderer(this, 9, 6);
    TailFurEdge.addBox(0F, 0F, 0F, 1, 3, 4);
    TailFurEdge.setRotationPoint(-1F, 18.63333F, 13F);
    TailFurEdge.setTextureSize(64, 64);
    TailFurEdge.mirror = true;
    setRotation(TailFurEdge, -0.6472177F, 0F, 0F);
    Neck = new ModelRenderer(this, 13, 0);
    Neck.addBox(0F, 0F, 0F, 3, 3, 1);
    Neck.setRotationPoint(-2F, 16F, -5F);
    Neck.setTextureSize(64, 64);
    Neck.mirror = true;
    setRotation(Neck, 0F, 0F, 0F);
    TailMiddle = new ModelRenderer(this, 35, 14);
    TailMiddle.addBox(0F, 0F, 0F, 2, 2, 5);
    TailMiddle.setRotationPoint(-1.5F, 16.5F, 6F);
    TailMiddle.setTextureSize(64, 64);
    TailMiddle.mirror = true;
    setRotation(TailMiddle, -0.2974289F, 0F, 0F);
    FrontLegLeft = new ModelRenderer(this, 18, 31);
    FrontLegLeft.addBox(0F, 0F, 0F, 2, 5, 2);
    FrontLegLeft.setRotationPoint(-3F, 19F, -4F);
    FrontLegLeft.setTextureSize(64, 64);
    FrontLegLeft.mirror = true;
    setRotation(FrontLegLeft, 0F, 0F, 0F);
    PawFrontLeft = new ModelRenderer(this, 0, 39);
    PawFrontLeft.addBox(0F, 0F, 0F, 2, 1, 1);
    PawFrontLeft.setRotationPoint(-3F, 23F, -5F);
    PawFrontLeft.setTextureSize(64, 64);
    PawFrontLeft.mirror = true;
    setRotation(PawFrontLeft, 0F, 0F, 0F);
    PawFrontRight = new ModelRenderer(this, 7, 39);
    PawFrontRight.addBox(0F, 0F, 0F, 2, 1, 1);
    PawFrontRight.setRotationPoint(0F, 23F, -5F);
    PawFrontRight.setTextureSize(64, 64);
    PawFrontRight.mirror = true;
    setRotation(PawFrontRight, 0F, 0F, 0F);
    PawBackRight = new ModelRenderer(this, 14, 39);
    PawBackRight.addBox(0F, 0F, 0F, 2, 1, 1);
    PawBackRight.setRotationPoint(0F, 23F, 4F);
    PawBackRight.setTextureSize(64, 64);
    PawBackRight.mirror = true;
    setRotation(PawBackRight, 0F, 0F, 0F);
    Body = new ModelRenderer(this, 0, 14);
    Body.addBox(0F, 0F, 0F, 5, 4, 11);
    Body.setRotationPoint(-3F, 15.5F, -4F);
    Body.setTextureSize(64, 64);
    Body.mirror = true;
    setRotation(Body, -0.0523599F, 0F, 0F);
    BackFur = new ModelRenderer(this, 0, 42);
    BackFur.addBox(0F, 0F, 0F, 1, 2, 11);
    BackFur.setRotationPoint(-1F, 14.5F, -4F);
    BackFur.setTextureSize(64, 64);
    BackFur.mirror = true;
    setRotation(BackFur, -0.0523599F, 0F, 0F);
    TailMiddleFur = new ModelRenderer(this, 25, 42);
    TailMiddleFur.addBox(0F, 0F, 0F, 1, 2, 4);
    TailMiddleFur.setRotationPoint(-1F, 15.5F, 7F);
    TailMiddleFur.setTextureSize(64, 64);
    TailMiddleFur.mirror = true;
    setRotation(TailMiddleFur, -0.3126102F, 0F, 0F);
    TailBackFur = new ModelRenderer(this, 25, 49);
    TailBackFur.addBox(0F, 0F, 0F, 1, 1, 3);
    TailBackFur.setRotationPoint(-1F, 17.45555F, 11F);
    TailBackFur.setTextureSize(64, 64);
    TailBackFur.mirror = true;
    setRotation(TailBackFur, -0.6485534F, 0F, 0F);
    }

    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5);
    Snout.render(f5);
    LargeHornRight.render(f5);
    TuftEdgeRight.render(f5);
    BackLegLeft.render(f5);
    SmallHornRight.render(f5);
    LargeHornLeft.render(f5);
    SmallHornLeft.render(f5);
    Head.render(f5);
    TuftRight.render(f5);
    TuftLeft.render(f5);
    TuftEdgeLeft.render(f5);
    TailBack.render(f5);
    BackLegLeft.render(f5);
    FrontLegRight.render(f5);
    PawBackLeft.render(f5);
    TailFurEdge.render(f5);
    Neck.render(f5);
    TailMiddle.render(f5);
    FrontLegLeft.render(f5);
    PawFrontLeft.render(f5);
    PawFrontRight.render(f5);
    PawBackRight.render(f5);
    Body.render(f5);
    BackFur.render(f5);
    TailMiddleFur.render(f5);
    TailBackFur.render(f5);
    }

    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
    }

    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.setRotationAngles(f, f1, f2, f3, f4, f5);
    }

    }


    Here is the code for the modded version (it may be a bit different since this was supposed to be an older dragon.)



    package net.minecraft.src;

    public class ModelSilverDragon extends ModelBase
    {
    ModelRenderer Head;
    ModelRenderer MouthBottom;
    ModelRenderer MouthTop;
    ModelRenderer TuftPieceLeft;
    ModelRenderer HornLeft;
    ModelRenderer HornPieceLeft;
    ModelRenderer HornRight;
    ModelRenderer HornPieceRight;
    ModelRenderer Tail3;
    ModelRenderer LegFrontRight;
    ModelRenderer PawFrontRight;
    ModelRenderer LegFrontLeft;
    ModelRenderer LegBackLeft;
    ModelRenderer TuftLeft;
    ModelRenderer TuftRight;
    ModelRenderer TuftPieceRight;
    ModelRenderer LegBackRight;
    ModelRenderer PawBackRight;
    ModelRenderer PawBackLeft;
    ModelRenderer PawFrontLeft;
    ModelRenderer Body;
    ModelRenderer Tail1;
    ModelRenderer Tail2;
    ModelRenderer Fur5;
    ModelRenderer Fur1;
    ModelRenderer Fur2;
    ModelRenderer Fur3;
    ModelRenderer Fur4;

    public ModelSilverDragon()
    {
    textureWidth = 128;
    textureHeight = 64;

    Head = new ModelRenderer(this, 45, 0);
    Head.addBox(-3F, -2F, -6F, 6, 6, 6);
    Head.setRotationPoint(0F, 14F, -8F);

    MouthBottom = new ModelRenderer(this, 61, 13);
    MouthBottom.addBox(-2F, 3F, -9F, 4, 1, 3);
    MouthBottom.setRotationPoint(0F, 14F, -8F);

    MouthTop = new ModelRenderer(this, 45, 13);
    MouthTop.addBox(-2F, 1F, -9F, 4, 2, 3);
    MouthTop.setRotationPoint(0F, 14F, -8F);

    TuftPieceLeft = new ModelRenderer(this, 86, 13);
    // TuftPieceLeft.mirror = true;
    TuftPieceLeft.addBox(5F, 0F, -2F, 1, 2, 1);
    TuftPieceLeft.setRotationPoint(0F, 14F, -8F);

    /*
    HornLeft = new ModelRenderer(this, 74, 0);
    // HornLeft.mirror = true;
    HornLeft.addBox(0F, -8F, -2F, 2, 6, 2);
    HornLeft.setRotationPoint(0F, 14F, -8F);
    setRotation(HornLeft, 0F, 0F, 0.5585054F);

    HornPieceLeft = new ModelRenderer(this, 81, 9);
    // HornPieceLeft.mirror = true;
    HornPieceLeft.addBox(0F, -6F, -3F, 1, 4, 1);
    HornPieceLeft.setRotationPoint(0F, 14F, -8F);
    setRotation(HornPieceLeft, 0F, 0F, 0.5585054F);

    HornRight = new ModelRenderer(this, 83, 0);
    HornRight.addBox(-2F, -8F, -2F, 2, 6, 2);
    HornRight.setRotationPoint(0F, 14F, -8F);
    setRotation(HornRight, 0F, 0F, -0.5585054F);

    HornPieceRight = new ModelRenderer(this, 76, 9);
    HornPieceRight.addBox(-1F, -6F, -3F, 1, 4, 1);
    HornPieceRight.setRotationPoint(0F, 14F, -8F);
    setRotation(HornPieceRight, 0F, 0F, -0.5585054F);
    */

    HornLeft = new ModelRenderer(this, 74, 0);
    // HornLeft.mirror = true;
    HornLeft.addBox(0F, -8F, -2F, 2, 6, 2);
    HornLeft.setRotationPoint(0F, 0F, 0F);
    setRotation(HornLeft, 0F, 0F, 0.5585054F);
    Head.addChild(HornLeft);

    HornPieceLeft = new ModelRenderer(this, 81, 9);
    // HornPieceLeft.mirror = true;
    HornPieceLeft.addBox(0F, -6F, -3F, 1, 4, 1);
    HornPieceLeft.setRotationPoint(0F, 0F, 0F);
    setRotation(HornPieceLeft, 0F, 0F, 0.5585054F);
    Head.addChild(HornPieceLeft);

    HornRight = new ModelRenderer(this, 83, 0);
    HornRight.addBox(-2F, -8F, -2F, 2, 6, 2);
    HornRight.setRotationPoint(0F, 0F, 0F);
    setRotation(HornRight, 0F, 0F, -0.5585054F);
    Head.addChild(HornRight);

    HornPieceRight = new ModelRenderer(this, 76, 9);
    HornPieceRight.addBox(-1F, -6F, -3F, 1, 4, 1);
    HornPieceRight.setRotationPoint(0F, 0F, 0F);
    setRotation(HornPieceRight, 0F, 0F, -0.5585054F);
    Head.addChild(HornPieceRight);

    Tail3 = new ModelRenderer(this, 118, 17);
    Tail3.addBox(-1F, -1F, 0F, 2, 2, 3);
    Tail3.setRotationPoint(0F, 17.46667F, 13.93333F);
    setRotation(Tail3, -0.5205006F, 0F, 0F);

    LegFrontRight = new ModelRenderer(this, 119, 0);
    LegFrontRight.addBox(-1F, 0F, -1F, 2, 5, 2);
    LegFrontRight.setRotationPoint(-2F, 19F, -7F);

    PawFrontRight = new ModelRenderer(this, 76, 15);
    PawFrontRight.addBox(-1F, 4F, -2F, 2, 1, 1);
    PawFrontRight.setRotationPoint(-2F, 19F, -7F);

    LegFrontLeft = new ModelRenderer(this, 110, 0);
    // LegFrontLeft.mirror = true;
    LegFrontLeft.addBox(-1F, 0F, -1F, 2, 5, 2);
    LegFrontLeft.setRotationPoint(2F, 19F, -7F);

    LegBackLeft = new ModelRenderer(this, 92, 0);
    // LegBackLeft.mirror = true;
    LegBackLeft.addBox(-1F, 0F, -1F, 2, 5, 2);
    LegBackLeft.setRotationPoint(2F, 19F, 7F);

    TuftLeft = new ModelRenderer(this, 92, 8);
    // TuftLeft.mirror = true;
    TuftLeft.addBox(3F, -1F, -3F, 2, 4, 3);
    TuftLeft.setRotationPoint(0F, 14F, -8F);

    TuftRight = new ModelRenderer(this, 92, 17);
    TuftRight.addBox(-5F, -1F, -3F, 2, 4, 3);
    TuftRight.setRotationPoint(0F, 14F, -8F);

    TuftPieceRight = new ModelRenderer(this, 86, 9);
    TuftPieceRight.addBox(-6F, 0F, -2F, 1, 2, 1);
    TuftPieceRight.setRotationPoint(0F, 14F, -8F);

    LegBackRight = new ModelRenderer(this, 101, 0);
    LegBackRight.addBox(-1F, 0F, -1F, 2, 5, 2);
    LegBackRight.setRotationPoint(-2F, 19F, 7F);

    PawBackRight = new ModelRenderer(this, 76, 21);
    PawBackRight.addBox(-1F, 4F, -2F, 2, 1, 1);
    PawBackRight.setRotationPoint(-2F, 19F, 7F);

    PawBackLeft = new ModelRenderer(this, 76, 24);
    // PawBackLeft.mirror = true;
    PawBackLeft.addBox(-1F, 4F, -2F, 2, 1, 1);
    PawBackLeft.setRotationPoint(2F, 19F, 7F);

    PawFrontLeft = new ModelRenderer(this, 76, 18);
    // PawFrontLeft.mirror = true;
    PawFrontLeft.addBox(-1F, 4F, -2F, 2, 1, 1);
    PawFrontLeft.setRotationPoint(2F, 19F, -7F);

    Body = new ModelRenderer(this, 0, 0);
    Body.addBox(-4F, -2F, -8F, 6, 5, 16);
    Body.setRotationPoint(1F, 16F, 0F);

    Tail1 = new ModelRenderer(this, 103, 8);
    Tail1.addBox(-1F, -1F, 0F, 4, 3, 5);
    Tail1.setRotationPoint(-1F, 15F, 5.666667F);
    setRotation(Tail1, -0.1115358F, 0F, 0F);

    Tail2 = new ModelRenderer(this, 103, 17);
    Tail2.addBox(-1F, -1F, 0F, 2, 3, 5);
    Tail2.setRotationPoint(0F, 15.46667F, 9.933333F);
    setRotation(Tail2, -0.2974289F, 0F, 0F);

    Fur5 = new ModelRenderer(this, 48, 34);
    Fur5.addBox(-1F, -1F, -2F, 1, 2, 3);
    Fur5.setRotationPoint(0.4666667F, 20.33333F, 18.2F);
    setRotation(Fur5, -0.5576792F, 0F, 0F);

    Fur1 = new ModelRenderer(this, 0, 22);
    Fur1.addBox(-1F, -1F, -8F, 2, 1, 16);
    Fur1.setRotationPoint(0F, 14F, 0F);

    Fur2 = new ModelRenderer(this, 37, 22);
    Fur2.addBox(-1F, -1F, -2F, 2, 1, 3);
    Fur2.setRotationPoint(0F, 14.8F, 9.666667F);
    setRotation(Fur2, -0.1487144F, 0F, 0F);

    Fur3 = new ModelRenderer(this, 37, 27);
    Fur3.addBox(-1F, -1F, -2F, 2, 1, 5);
    Fur3.setRotationPoint(0F, 15.8F, 12.2F);
    setRotation(Fur3, -0.2974289F, 0F, 0F);

    Fur4 = new ModelRenderer(this, 37, 34);
    Fur4.addBox(-1F, -1F, -2F, 1, 4, 4);
    Fur4.setRotationPoint(0.4666667F, 17.8F, 16.2F);
    setRotation(Fur4, -0.4833219F, 0F, 0F);
    }

    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5);
    Head.render(f5);
    MouthBottom.render(f5);
    MouthTop.render(f5);
    TuftPieceLeft.render(f5);
    // HornLeft.render(f5);
    // HornPieceLeft.render(f5);
    // HornRight.render(f5);
    // HornPieceRight.render(f5);
    Tail3.render(f5);
    LegFrontRight.render(f5);
    PawFrontRight.render(f5);
    LegFrontLeft.render(f5);
    LegBackLeft.render(f5);
    TuftLeft.render(f5);
    TuftRight.render(f5);
    TuftPieceRight.render(f5);
    LegBackRight.render(f5);
    PawBackRight.render(f5);
    PawBackLeft.render(f5);
    PawFrontLeft.render(f5);
    Body.render(f5);
    Tail1.render(f5);
    Tail2.render(f5);
    Fur5.render(f5);
    Fur1.render(f5);
    Fur2.render(f5);
    Fur3.render(f5);
    Fur4.render(f5);
    }

    private void setRotation(ModelRenderer model, float x, float y, float z)
    {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
    }

    public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.setRotationAngles(f, f1, f2, f3, f4, f5);
    Head.rotateAngleX = f4 / (180F / (float)Math.PI);
    Head.rotateAngleY = f3 / (180F / (float)Math.PI);
    MouthTop.rotateAngleX = Head.rotateAngleX;
    MouthTop.rotateAngleY = Head.rotateAngleY;
    MouthBottom.rotateAngleX = Head.rotateAngleX;
    MouthBottom.rotateAngleY = Head.rotateAngleY;

    // HornLeft.rotateAngleX = Head.rotateAngleX;
    // HornLeft.rotateAngleY = Head.rotateAngleY;
    // HornPieceLeft.rotateAngleX = Head.rotateAngleX;
    // HornPieceLeft.rotateAngleY = Head.rotateAngleY;
    // HornRight.rotateAngleX = Head.rotateAngleX;
    // HornRight.rotateAngleY = Head.rotateAngleY;
    // HornPieceRight.rotateAngleX = Head.rotateAngleX;
    // HornPieceRight.rotateAngleY = Head.rotateAngleY;
    // HornLeft.rotateAngleZ = 0.5585054F + Head.rotateAngleZ;
    // HornPieceLeft.rotateAngleZ = 0.5585054F + Head.rotateAngleZ;
    // HornRight.rotateAngleZ = -0.5585054F + Head.rotateAngleZ;
    // HornPieceRight.rotateAngleZ = -0.5585054F + Head.rotateAngleZ;

    TuftLeft.rotateAngleX = Head.rotateAngleX;
    TuftLeft.rotateAngleY = Head.rotateAngleY;
    TuftRight.rotateAngleX = Head.rotateAngleX;
    TuftRight.rotateAngleY = Head.rotateAngleY;
    TuftPieceLeft.rotateAngleX = Head.rotateAngleX;
    TuftPieceLeft.rotateAngleY = Head.rotateAngleY;
    TuftPieceRight.rotateAngleX = Head.rotateAngleX;
    TuftPieceRight.rotateAngleY = Head.rotateAngleY;

    LegFrontLeft.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    PawFrontLeft.rotateAngleX = LegFrontLeft.rotateAngleX;
    LegFrontRight.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    PawFrontRight.rotateAngleX = LegFrontRight.rotateAngleX;
    LegBackLeft.rotateAngleX = MathHelper.cos(f * 0.6662F + (float)Math.PI) * 1.4F * f1;
    PawBackLeft.rotateAngleX = LegBackLeft.rotateAngleX;
    LegBackRight.rotateAngleX = MathHelper.cos(f * 0.6662F) * 1.4F * f1;
    PawBackRight.rotateAngleX = LegBackRight.rotateAngleX;
    }
    }

    Is there a simple thing that i'm missing, or it could be that the entire coding has to be re-done?
    Posted in: Minecraft Tools
  • 0

    posted a message on How did you get your avatar?
    Got my avatar from Dragonbros.net! I did have another avatar which was the same character (Silvvy), but it was drawn by a user on deviantArt named RainbowLitwickplz.
    Posted in: General Off Topic
  • 0

    posted a message on MCreator Minecraft Mod Maker, Add-On Maker, and Data Pack Maker
    When I make a mob, the mob moves at a very fast speed, even though I got the speed set at 4.0 (I even tried lower numbers, such as 2.0 and 1.0.) Although when I make the mob follow me when i'm holding an item, it moves at normal speed. Can somebody please help me with this? Is it something I am doing wrong, or is it a bug?
    Posted in: Minecraft Tools
  • 0

    posted a message on What update did you find minecraft in?
    My friend MTX introduced it to me sometime after the Halloween update... it wasn't until Beta 1.7.3 I actually started playing it! :P
    Posted in: Discussion
  • 0

    posted a message on take out the internal single player server
    Well, there is Exalm's mod which brings back the old SSP. :)
    Posted in: Suggestions
  • 0

    posted a message on Adding the missing potions. 1000 supporters and counting!
    Again, why don't ideas like this get added to vanilla Minecraft??
    Also, support!

    EDIT - instead of using a rabbit foot for jump potions, why not use feathers?
    Posted in: Suggestions
  • 0

    posted a message on Rate how cute the above avatar is
    1/10
    Posted in: Forum Games
  • To post a comment, please .