• 0

    posted a message on Why is my mob moving so fast?
    how is it going fast? what is the mob doing to cause it or is it the normal walking around thats fast?
    Posted in: Modification Development
  • 0

    posted a message on Flying entity land on ground
    hi I was wondering if there was a way to make a flying entity land on the ground. I also want it that if it lands on the ground it changes into a different entity. I looked at the bat code but it isn't really what I want and it affected how my flying mob flew.
    Posted in: Modification Development
  • 0

    posted a message on Flying mob attack
    i was wondering if u could help show me what to write? I mean where to get the code. I understand what you wrote in the code just not how to write it properly.
    Posted in: Modification Development
  • 0

    posted a message on PaleoCraft -- Realistic Dinosaurs in Minecraft!
    well here is the vid:





    yes the tail is fast. this is just proof of concept and isn't finished yet. I'll make the tail stop being sonic the hedgehog in the full release.
    Posted in: Minecraft Mods
  • 0

    posted a message on Model Errors
    thankyou very much :D
    Posted in: Modification Development
  • 0

    posted a message on Model Errors
    doesn't change anything. I don't get any errors.



    texture file:

    http://i.imgur.com/FdLyZlt.png
    Posted in: Modification Development
  • 0

    posted a message on Model Errors
    adding modelrender for child piece parts doesnt work
    Posted in: Modification Development
  • 0

    posted a message on Model Errors
    but leftlegpiece has multiple parts in it.
    should i add modelrenderer for the pieces inside the child piece?
    Posted in: Modification Development
  • 0

    posted a message on Model Errors
    pieces that aren't child pieces like upperbody,lowerbody and tail have the texture placed correctly. LeftLefPiece = new ModelRenderer(this, "LeftLefPiece"); this doesn't have the x and y coordinates because its a piece so how could I fixed the texture locations for the pieces in the child pieces?
    Posted in: Modification Development
  • 0

    posted a message on Model Errors
    Yea the textures aren't placed at the right locations. How can I fix it?
    Posted in: Modification Development
  • 0

    posted a message on PaleoCraft -- Realistic Dinosaurs in Minecraft!
    vid coming out tomorrow actually :D lol had to go somewhere so couldn't record. it will be ready at 10-12 am (Australia VIC)
    Posted in: Minecraft Mods
  • 0

    posted a message on Model Errors
    thx now this is the last problem but the texture on the model ingame doesnt seem to load properly. u can see the texture though its isnt being loaded properly on the model.

    render:


    import net.minecraft.client.renderer.entity.RenderLiving;
    import net.minecraft.entity.Entity;
    import net.minecraft.entity.EntityLiving;
    import net.minecraft.util.ResourceLocation;

    public class RenderQuetzalcoatlus extends RenderLiving
    {
    protected ModelQuetzalcoatlus model;
    private static final ResourceLocation skin = new ResourceLocation("paleocraft", "textures/entity/Quetz.png");
    public RenderQuetzalcoatlus (ModelQuetzalcoatlus modelquetzalcoatlus, float f)
    {
    super(modelquetzalcoatlus, f);
    model = ((ModelQuetzalcoatlus)mainModel);
    }

    public void renderQuetzalcoatlus(EntityQuetzalcoatlus entity, double par2, double par4, double par6, float par8, float par9)
    {
    super.doRender(entity, par2, par4, par6, par8, par9);
    }

    public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)
    {
    renderQuetzalcoatlus((EntityQuetzalcoatlus)par1EntityLiving, par2, par4, par6, par8, par9);
    }

    public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)
    {
    renderQuetzalcoatlus((EntityQuetzalcoatlus)par1Entity, par2, par4, par6, par8, par9);
    }
    @Override
    protected ResourceLocation getEntityTexture(Entity entity) {
    return skin;
    }


    }

    Posted in: Modification Development
  • 0

    posted a message on Model Errors
    thx for helping me but I was wondering if u could explain how u fixed it?
    Posted in: Modification Development
  • 0

    posted a message on PaleoCraft -- Realistic Dinosaurs in Minecraft!
    vid coming out today to show progress :D
    Posted in: Minecraft Mods
  • 0

    posted a message on Model Errors

    package fisherman77.paleocraft.common.mobs;

    import net.minecraft.client.model.ModelBase;
    import net.minecraft.client.model.ModelRenderer;
    import net.minecraft.entity.Entity;

    public class ModelQuetzalcoatlus extends ModelBase
    {
    //fields
    ModelRenderer Tail;
    ModelRenderer LowerBody;
    ModelRenderer UpperBody;
    ModelRenderer Neck1;
    ModelRenderer Neck2;
    ModelRenderer TailTip;
    ModelRenderer LeftLefPiece;
    ModelRenderer RightLegPiece;
    ModelRenderer HeadPiece;
    ModelRenderer RightWingPiece;
    ModelRenderer LeftWingPiece;

    public ModelQuetzalcoatlus()
    {
    textureWidth = 500;
    textureHeight = 150;

    Tail = new ModelRenderer(this, 3, 93);
    Tail.addBox(0F, -2F, 0F, 3, 2, 5);
    Tail.setRotationPoint(-1.5F, 18.5F, 11F);
    Tail.setTextureSize(500, 150);
    Tail.mirror = true;
    setRotation(Tail, 0F, 0F, 0F);
    LowerBody = new ModelRenderer(this, 108, 104);
    LowerBody.addBox(-4.5F, -2F, 11F, 9, 7, 7);
    LowerBody.setRotationPoint(0F, 18F, -7F);
    LowerBody.setTextureSize(500, 150);
    LowerBody.mirror = true;
    setRotation(LowerBody, 0F, 0F, 0F);
    UpperBody = new ModelRenderer(this, 95, 81);
    UpperBody.addBox(-5F, -2F, 0F, 10, 8, 11);
    UpperBody.setRotationPoint(0F, 18F, -7F);
    UpperBody.setTextureSize(500, 150);
    UpperBody.mirror = true;
    setRotation(UpperBody, 0F, 0F, 0F);
    Neck1 = new ModelRenderer(this, 1, 73);
    Neck1.addBox(-2.5F, -5F, -11F, 5, 7, 10);
    Neck1.setRotationPoint(0F, 21F, -6F);
    Neck1.setTextureSize(500, 150);
    Neck1.mirror = true;
    setRotation(Neck1, 0F, 0F, 0F);
    Neck2 = new ModelRenderer(this, 28, 73);
    Neck2.addBox(-1F, -4F, -33F, 4, 6, 23);
    Neck2.setRotationPoint(-1F, 20F, -7F);
    Neck2.setTextureSize(500, 150);
    Neck2.mirror = true;
    setRotation(Neck2, 0F, 0F, 0F);
    TailTip = new ModelRenderer(this, 3, 104);
    TailTip.addBox(0F, -3F, 4F, 2, 2, 3);
    TailTip.setRotationPoint(-1F, 19.5F, 12F);
    TailTip.setTextureSize(500, 150);
    TailTip.mirror = true;
    setRotation(TailTip, 0F, 0F, 0F);
    LeftLefPiece = new ModelRenderer(this, "LeftLefPiece");
    LeftLefPiece.setRotationPoint(3F, 19F, 10F);
    setRotation(LeftLefPiece, 0F, 0F, 0F);
    LeftLefPiece.mirror = true;
    LeftLeg2.mirror = true;
    LeftLefPiece.addBox("LeftLeg2", 0F, -2F, 8F, 2, 2, 14);
    LeftLeg2.mirror = false;
    LeftLefPiece.addBox("LeftLeg1", 0F, -2F, -2F, 2, 4, 10);
    LeftLefPiece.addBox("LeftFoot", -0.5F, -2F, 22F, 3, 1, 4);
    // modelQuetz.addChildModelRenderer(LeftLefPiece);
    RightLegPiece = new ModelRenderer(this, "RightLegPiece");
    RightLegPiece.setRotationPoint(-3F, 19F, 10F);
    setRotation(RightLegPiece, 0F, 0F, 0F);
    RightLegPiece.mirror = true;
    RightLeg1.mirror = true;
    RightLegPiece.addBox("RightLeg1", -2F, -2F, -2F, 2, 4, 10);
    RightLeg1.mirror = false;
    RightLegPiece.addBox("RightLeg2", -2F, -2F, 8F, 2, 2, 14);
    RightLegPiece.addBox("RightFoot", -2.5F, -2F, 22F, 3, 1, 4);
    // modelQuetz.addChildModelRenderer(RightLegPiece);
    HeadPiece = new ModelRenderer(this, "HeadPiece");
    HeadPiece.setRotationPoint(0F, 19F, -40F);
    setRotation(HeadPiece, 0F, 0F, 0F);
    HeadPiece.mirror = true;
    HeadPiece.addBox("Head", -2.5F, -3.5F, -11F, 5, 7, 11);
    HeadPiece.addBox("Crest", 0F, -9F, -13F, 0, 7, 16);
    HeadPiece.addBox("Beak", -2F, -2.5F, -21F, 4, 6, 10);
    HeadPiece.addBox("BeakTip", -1.5F, -1.5F, -30F, 3, 5, 9);
    modelQuetz.addChildModelRenderer(HeadPiece);
    RightWingPiece = new ModelRenderer(this, "RightWingPiece");
    RightWingPiece.setRotationPoint(-5F, 18F, -5F);
    setRotation(RightWingPiece, 0F, 0F, 0F);
    RightWingPiece.mirror = true;
    RightWingPiece.addBox("RightWing1", -8F, 0F, 3F, 9, 1, 29);
    RightWingPiece.addBox("RightArm1", -8F, -1.5F, -2F, 8, 4, 5);
    RightWingPiece2 = new ModelRenderer(this, "RightWingPiece2");
    RightWingPiece2.setRotationPoint(-8F, 0F, 0F);
    setRotation(RightWingPiece2, 0F, 0F, 0F);
    RightWingPiece2.mirror = true;
    RightWingPiece2.addBox("RightArm2", -15F, -1F, -2F, 15, 3, 4);
    RightWingPiece2.addBox("RightWing2", -15F, 0F, 2F, 15, 1, 30);
    RightWingPiece3 = new ModelRenderer(this, "RightWingPiece3");
    RightWingPiece3.setRotationPoint(-12F, 0F, -1F);
    setRotation(RightWingPiece3, 0F, 0F, 0F);
    RightWingPiece3.mirror = true;
    RightWingPiece3.addBox("RightArm3", -21F, -1F, -1F, 18, 3, 3);
    RightWingPiece3.addBox("RightWing3", -21F, 0F, 2F, 18, 1, 31);
    RightWingPiece3.addBox("RightArm4", -57F, -0.5F, -1F, 36, 2, 2);
    RightWingPiece3.addBox("RightWing4", -57F, 0F, 1F, 36, 1, 32);
    RightWingPiece3.addBox("RightHand", -21F, 0F, -4F, 6, 1, 3);
    RightWingPiece2.addChildModelRenderer(RightWingPiece3);
    RightWingPiece.addChildModelRenderer(RightWingPiece2);
    modelQuetz.addChildModelRenderer(RightWingPiece);
    LeftWingPiece = new ModelRenderer(this, "LeftWingPiece");
    LeftWingPiece.setRotationPoint(5F, 18F, -5F);
    setRotation(LeftWingPiece, 0F, 0F, 0F);
    LeftWingPiece.mirror = true;
    LeftWingPiece.addBox("LeftArm1", 0F, -1.5F, -2F, 8, 4, 5);
    LeftWingPiece.addBox("LeftWing1", -1F, 0F, 3F, 9, 1, 29);
    LeftWingPiece2 = new ModelRenderer(this, "LeftWingPiece2");
    LeftWingPiece2.setRotationPoint(8F, 0F, 0F);
    setRotation(LeftWingPiece2, 0F, 0F, 0F);
    LeftWingPiece2.mirror = true;
    LeftWingPiece2.addBox("LeftWing2", 0F, 0F, 2F, 15, 1, 30);
    LeftWingPiece2.addBox("LeftArm2", 0F, -1F, -2F, 15, 3, 4);
    LeftWingPiece3 = new ModelRenderer(this, "LeftWingPiece3");
    LeftWingPiece3.setRotationPoint(15F, 0F, -1F);
    setRotation(LeftWingPiece3, 0F, 0F, 0F);
    LeftWingPiece3.mirror = true;
    LeftWingPiece3.addBox("LeftArm3", 0F, -1F, -1F, 18, 3, 3);
    LeftWingPiece3.addBox("LeftWing3", 0F, 0F, 2F, 18, 1, 31);
    LeftWingPiece3.addBox("LeftWing4", 18F, 0F, 1F, 36, 1, 32);
    LeftWingPiece3.addBox("LeftArm4", 18F, -0.5F, -0.5F, 36, 2, 2);
    LeftWingPiece3.addBox("LeftHand", 12F, 0F, -4F, 6, 1, 3);
    LeftWingPiece2.addChildModelRenderer(LeftWingPiece3);
    LeftWingPiece.addChildModelRenderer(LeftWingPiece2);
    modelQuetz.addChildModelRenderer(LeftWingPiece);
    }

    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);
    Tail.render(f5);
    LowerBody.render(f5);
    UpperBody.render(f5);
    Neck1.render(f5);
    Neck2.render(f5);
    TailTip.render(f5);
    LeftLefPiece.render(f5);
    RightLegPiece.render(f5);
    HeadPiece.render(f5);
    RightWingPiece.render(f5);
    LeftWingPiece.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);
    }

    }



    still getting errors on the child pieces.
    Posted in: Modification Development
  • To post a comment, please or register a new account.