Jump to content

[SOLVED]Mob texture location


ralphyrafa

Recommended Posts

my mob is on the game because i can hear him and i can even hit him but its invisible  :( i just need to know where the texture goes and if im missing a code can i know here is the entity of my mob i think you dont need more

 

[embed=425,349]package medieval.medievalentities;

 

import net.minecraft.entity.EnumCreatureAttribute;

import net.minecraft.entity.monster.EntityMob;

import net.minecraft.world.World;

 

 

public class Pixie_Entity extends EntityMob

{

private float moveSpeed;

private String texture;

public Pixie_Entity(World par1World)

{

super(par1World);

this.moveSpeed = 0.5F;

this.texture = "medieval:pixietexture";

}

public int getMaxHealth()

{

return 10;

}

public EnumCreatureAttribute getCreatureAttribute()

{

return EnumCreatureAttribute.UNDEFINED;

}

/**

    * Returns the sound this mob makes while it's alive.

    */

    protected String getLivingSound()

    {

        return "mob.zombiepig.zpig";

    }

 

    /**

    * Returns the sound this mob makes when it is hurt.

    */

    protected String getHurtSound()

    {

        return "mob.zombie.hurt";

    }

 

    /**

    * Returns the sound this mob makes on death.

    */

    protected String getDeathSound()

    {

        return "mob.zombie.death";

    }

 

}

 

[/embed]

 

PS: yes i made the model and render dont ask if i made them cause they are

 

I like helping people because i was also in a same problem and i do not like unfinished work, so a thank you will be enough for the people im helping and a thank you to the people that helped me :)

Link to comment
Share on other sites

about the path i finally got it to atleast tell me that the texture localization is wrong where should i put them and yes the pixie does appear and since there is no texture it appears pink

I like helping people because i was also in a same problem and i do not like unfinished work, so a thank you will be enough for the people im helping and a thank you to the people that helped me :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.