Jump to content

[Help] 1.8 JSON - 'Missing Textures' Error when files are present..


Recommended Posts

Posted

I am having trouble loading in images to a JSON model, the files are there, but they are not loading. I get the following error:

 

error

 

 

[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN lazraus
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:   domain lazraus is missing 7 textures
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:     domain lazraus is missing a resource manager - it is probably a side-effect of automatic texture processing
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain lazraus are:
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/un.png
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/us.png
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/bd.png
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/uu.png
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/ue.png
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/ud.png
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/uw.png
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain lazraus
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[16:33:40] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

 

 


Here is the JSON file:

 

 

{
    "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
    "textures": {
        
        "texture0": "lazarus:blocks/infusatron/bn",
        "texture1": "lazarus:blocks/infusatron/be",
        "texture2": "lazarus:blocks/infusatron/bs",
        "texture3": "lazarus:blocks/infusatron/bw",                  
        "texture4": "lazarus:blocks/infusatron/bu",
        "texture5": "lazraus:blocks/infusatron/bd",     
        "texture6": "lazraus:blocks/infusatron/un",
        "texture7": "lazraus:blocks/infusatron/ue",
        "texture8": "lazraus:blocks/infusatron/us",
        "texture9": "lazraus:blocks/infusatron/uw",
        "texture10": "lazraus:blocks/infusatron/uu",
        "texture11": "lazraus:blocks/infusatron/ud"
    },
    "elements": [
        {
            "name": "Bottom",
            "from": [ 1.0, 0.0, 4.0 ], 
            "to": [ 14.0, 12.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#texture0", "uv": [ 0.0, 0.0, 14.0, 12.0 ]},
                "east": { "texture": "#texture1", "uv": [ 0.0, 0.0, 8.0, 12.0 ] },
                "south": { "texture": "#texture2", "uv": [ 0.0, 0.0, 14.0, 12.0 ] },
                "west": { "texture": "#texture3", "uv": [ 0.0, 0.0, 8.0, 12.0 ] },
                "up": { "texture": "#texture4", "uv": [ 0.0, 0.0, 14.0, 8.0 ] },
                "down": { "texture": "#texture5", "uv": [ 0.0, 0.0, 14.0, 8.0 ] }
            }
        },
        
        {
            "name": "Screen",
            "from": [ 0.0, 12.0, 3.0 ], 
            "to": [ 10.0, 26.0, 13.0 ], 
            "faces": {
                "north": { "texture": "#texture6", "uv": [ 0.0, 0.0, 10.0, 14.0 ] },
                "east": { "texture": "#texture7", "uv": [ 0.0, 0.0, 10.0, 14.0 ] },
                "south": { "texture": "#texture8", "uv": [ 0.0, 0.0, 10.0, 14.0 ] },
                "west": { "texture": "#texture9", "uv": [ 0.0, 0.0, 10.0, 14.0 ] },
                "up": { "texture": "#texture10", "uv": [ 0.0, 0.0, 10.0, 10.0 ] },
                "down": { "texture": "#texture11", "uv": [ 0.0, 0.0, 10.0, 10.0 ] }
            }
        }
    ]
}

 

 


Here is a screenshot of the current situation

 

 

nJW0QDn.png

 

 

(I know it is called 'bd1.png' when it should be 'bd' this is not the problem, I have since switched it back - it was from a debug attempt.)


 

  • As you can see in the screenshot in exhibit (A) - 'un.png' does not load BUT 'bn.png' does.
  • As you can see in exhibit (B) - both the code for 'un' and 'bn' are exactly the same (except for the file name) - the path to the image area is the same
  • As you can see in the screenshot in exhibit © - All the files are there, so they should not be 'missing'
  • If you replace all of the rendering images with 'bn' the shapes do load - so it is not like the elements are incorrect, just the loading of the textures

 

I have no idea what to do, any help would be greatly appreciated!

 

Thanks,

 

Sam

 


EDIT #1:

 

When I delete all the images from the directory I get the following error:

 

 

[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN lazraus
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:   domain lazraus is missing 7 textures
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:     domain lazraus is missing a resource manager - it is probably a side-effect of automatic texture processing
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain lazraus are:
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/bd.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/un.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/us.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/uu.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/ue.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/ud.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/uw.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain lazraus
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN lazarus
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:   domain lazarus is missing 5 textures
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:     domain lazarus has 1 location:
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       mod lazarus resources at C:\Users\Sam Humby\Desktop\Minecraft Mod\Git\Lazarus\bin
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain lazarus are:
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/bw.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/bn.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/bs.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/be.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/infusatron/bu.png
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain lazarus
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[16:54:46] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

 

 

 

Is there a reason why the images would be split into two blocks like that? they correspond with the textures that fail to load..

Posted

Somehow it is now working:

 

J4FO2Qf.png

 

current code:

 

 

{
    "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
    "textures": {
        
        "texture0": "lazarus:blocks/infusatron/bn",
        "texture1": "lazarus:blocks/infusatron/be",
        "texture2": "lazarus:blocks/infusatron/bs",
        "texture3": "lazarus:blocks/infusatron/bw",                  
        "texture4": "lazarus:blocks/infusatron/bu",
        "texture5": "lazarus:blocks/infusatron/bd",     
        "texture6": "lazarus:blocks/infusatron/un",
        "texture7": "lazarus:blocks/infusatron/ue",
        "texture8": "lazarus:blocks/infusatron/us",
        "texture9": "lazarus:blocks/infusatron/uw",
        "texture10": "lazarus:blocks/infusatron/uu",
        "texture11": "lazarus:blocks/infusatron/ud"
    },
    "elements": [
        {
            "name": "Bottom",
            "from": [ 1.0, 0.0, 4.0 ], 
            "to": [ 14.0, 12.0, 12.0 ], 
            "faces": {
                "north": { "texture": "#texture0", "uv": [ 0.0, 0.0, 14.0, 12.0 ]},
                "east": { "texture": "#texture1", "uv": [ 0.0, 0.0, 8.0, 12.0 ] },
                "south": { "texture": "#texture2", "uv": [ 0.0, 0.0, 14.0, 12.0 ] },
                "west": { "texture": "#texture3", "uv": [ 0.0, 0.0, 8.0, 12.0 ] },
                "up": { "texture": "#texture4", "uv": [ 0.0, 0.0, 14.0, 8.0 ] },
                "down": { "texture": "#texture5", "uv": [ 0.0, 0.0, 14.0, 8.0 ] }
            }
        },
        
        {
            "name": "Screen",
            "from": [ 0.0, 12.0, 3.0 ], 
            "to": [ 10.0, 26.0, 13.0 ], 
            "faces": {
                "north": { "texture": "#texture6", "uv": [ 0.0, 0.0, 10.0, 14.0 ] },
                "east": { "texture": "#texture7", "uv": [ 0.0, 0.0, 10.0, 14.0 ] },
                "south": { "texture": "#texture8", "uv": [ 0.0, 0.0, 10.0, 14.0 ] },
                "west": { "texture": "#texture9", "uv": [ 0.0, 0.0, 10.0, 14.0 ] },
                "up": { "texture": "#texture10", "uv": [ 0.0, 0.0, 10.0, 10.0 ] },
                "down": { "texture": "#texture11", "uv": [ 0.0, 0.0, 10.0, 10.0 ] }
            }
        }
    ]
}

 

 

I can see Zero difference between that and what I had before

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.