I made a custom mob but i can't make it have a texture
package proxy;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import javax.annotation.Nullable;
import forge.TKOR.mod.TKORMod;
import mobs.EntityGrant;
@SideOnly(Side.CLIENT)
public class RenderGrant extends RenderLiving<EntityGrant> {
public static final ResourceLocation asd = new ResourceLocation(TKORMod.MODID + ":textures/entity/horse.png");
public RenderGrant(RenderManager rendermanagerIn) {
super(rendermanagerIn, new ModelGrant(), 0.75F);
}
@Nullable
@Override
protected ResourceLocation getEntityTexture(EntityGrant entity) {
//String texturePath = entity.getUnicornTexturePath();
return asd;
//new ResourceLocation(TKORMod.MODID+":"+texturePath);
}
}
thats the render class and you can see that the horse.png file is in assets.tkormod.textures.entity