Jump to content

[1.6.2] Mob Textures fail to load, any help?


Recommended Posts

I know this has been asked before, and I've gone over as many other posts as I could find, but nothing has worked thus far. Could someone help me?


The console Error I get is:


[embed=425,349]2013-07-09 21:14:26 [WARNING] [Minecraft-Client] Failed to load texture: minecraft:assets/tutorial/textures/entity/tutmob.png

java.io.FileNotFoundException: minecraft:assets/tutorial/textures/entity/tutmob.png

at net.minecraft.client.resources.FallbackResourceManager.func_110536_a(FallbackResourceManager.java:64)

at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110536_a(SimpleReloadableResourceManager.java:63)

at net.minecraft.client.renderer.texture.SimpleTexture.func_110551_a(SimpleTexture.java:31)

at net.minecraft.client.renderer.texture.TextureManager.func_110579_a(TextureManager.java:84)

at net.minecraft.client.renderer.texture.TextureManager.func_110577_a(TextureManager.java:41)

at net.minecraft.client.renderer.entity.Render.func_110776_a(Render.java:50)

at net.minecraft.client.renderer.entity.Render.func_110777_b(Render.java:45)

at net.minecraft.client.renderer.entity.RendererLivingEntity.renderModel(RendererLivingEntity.java:293)

at net.minecraft.client.renderer.entity.RendererLivingEntity.func_130000_a(RendererLivingEntity.java:154)

at net.minecraft.client.renderer.entity.RenderLiving.doRenderLiving(RenderLiving.java:28)

at modding.tutorial.RenderTutorial.renderTutMob(RenderTutorial.java:24)

at modding.tutorial.RenderTutorial.doRender(RenderTutorial.java:34)

at net.minecraft.client.renderer.entity.RenderManager.renderEntityWithPosYaw(RenderManager.java:312)

at net.minecraft.client.renderer.entity.RenderManager.renderEntity(RenderManager.java:281)

at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:524)

at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1160)

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1006)

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:934)

at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826)

at net.minecraft.client.main.Main.main(Main.java:93)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)

at net.minecraft.launchwrapper.Launch.main(Launch.java:18)[/embed]


And here is the relevant render script:


[embed=425,349]private static final ResourceLocation Texture = new ResourceLocation("minecraft:assets/tutorial/textures/entity/tutmob.png");


protected ModelTutorial model;


public RenderTutorial(ModelTutorial par1ModelBase, float par2)


super(par1ModelBase, par2);

model = ((ModelTutorial)mainModel);




public void renderTutMob(EntityTutMob par1Entity, double par2, double par4, double par6, float par8, float par9)


        super.doRenderLiving(par1Entity, par2, par4, par6, par8, par9);



    public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9)


        this.renderTutMob((EntityTutMob)par1EntityLiving, par2, par4, par6, par8, par9);



    public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)


        this.renderTutMob((EntityTutMob)par1Entity, par2, par4, par6, par8, par9);




protected ResourceLocation func_110775_a(Entity entity) {


return Texture;




Currently my tutmob.png file resides in: /forge/mcp/src/minecraft/assets/tutorial/textures/entity/tutmob.png


Where tutorial is the modid...



EDIT: Oops, just figured it out. For anyone else with a similar problem, go to this thread: http://www.minecraftforge.net/forum/index.php/topic,9986.msg50764.html#msg50764

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • REM Forge requires a configured set of both JVM and program arguments. REM Add custom JVM arguments to the user_jvm_args.txt REM Add custom program arguments {such as nogui} to this file in the next line before the %* or REM  pass them to this script directly "C:\Program Files\Java\jdk-17\bin\Java.exe" @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.18.2-40.1.80/win_args.txt -Xmx8G -Xms8G %* pause     so I used it.
    • I created an SOUL_JAR Item that has been registered for each mob like - mod:soul_jar_minecraft_cow etc.. but it all has different registry names, i have a model file name soul_jar.json and i want to know how to bind each of those items to this class (When mod iterates through all of vanilla mobs and registering items for them).   I didn't found any info about it because all of info is outdated, and forge docs is complicated asf (i wish there would be more examples) i also used AI but it showing me only outdated info, but theres some code where i registering my item and trying to bind it to model ->   public static void register(IEventBus eventBus){ ITEMS.register(eventBus); Set<ResourceLocation> entityKeyList = ForgeRegistries.ENTITY_TYPES.getKeys(); for (ResourceLocation k : entityKeyList) { EntityType<?> entityType = ForgeRegistries.ENTITY_TYPES.getValue(k); if (!entityType.getCategory().equals(MobCategory.MISC)) { RegistryObject<Item> SOUL_JAR = ITEMS.register("soul_jar" + '_' + k.toString().replace(':', '_').replace('.', '_'), () -> new JarItem(new Item.Properties().rarity(Rarity.RARE).tab(ModTabs.MAGICAL_OBSESSION_JARS), entityType)); if (Thread.currentThread().getThreadGroup() == SidedThreadGroups.CLIENT) { ItemModelShaper itemModelShaper = Minecraft.getInstance().getItemRenderer().getItemModelShaper(); itemModelShaper.register(SOUL_JAR.get().asItem(), new ModelResourceLocation("item.soul_jar", "inventory")); } } } } I also have more questions like how to iterate through all other mods mobs also, or render mob inside of a jar in inventory, but i will try to figure it out.
    • I looked into OctoEconomyAPI and saw that it was a JAR api for fabric. This means you have a fabric mod in your mods folder. I downloaded your mod folder and wasted 2 solid hours creating a Python script to try to find the faulty mod, and eventually just gave up. I suggest you create two installations with half or the mods in each, find which one doesn't launch, cut that one in half, and repeat until you find the fabric mod. Investigué OctoEconomyAPI y vi que era una API JAR para fabric. Esto significa que tienes un mod de Fabric en tu carpeta de mods. Descargué su carpeta de mods y desperdicié 2 horas completas creando un script de Python para tratar de encontrar el mod defectuoso, y finalmente me di por vencido. Le sugiero que cree dos instalaciones con la mitad o las modificaciones en cada una, encuentre cuál no se inicia, córtela por la mitad y repita hasta que encuentre la modificación Fabric.   (The Python script I made is here): (El script de Python que hice está aquí):  
    • I've got it to work now. Instead of using the texture manager I used the Render System:   RenderSystem.setShaderTexture(0, new ResourceLocation("mcaquests", "textures/item/questbook.png"));  
  • Topics

  • Create New...

Important Information

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