Posted July 22, 201312 yr 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
July 22, 201312 yr Assuming you are on 1.6, the render class should ask you for a RessourceLocation in a new method. You can return RessourceLocation("modid","texturepath.png") to set your texture.
July 23, 201312 yr Author 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
July 23, 201312 yr With RessourceLocation("modid","texturepath.png"), it leads to assets/"modid"/"path...".png. So in dev, put corresponding texture in mcp/src/minecraft/assets/modid/...
July 23, 201312 yr Author ty for that but i got it to work another way 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
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.