Jump to content

Recommended Posts

Posted

//the logs are at the bottom

 

IMPORTANT :

*The game doesn't crash, it doesn't load the models though

*I read somhere, somthing about the client sending to many request, but i didnt understand the case here

 

I'm trying to make connected textures for one of my blocks, (its a glass like block ), but im getting the following error, for all the variants i think:

{Unable to load definition "variant"}

{Encountered an exception when loading model definition of ' "variant" ' from: ' "blockstates.json" ' in resourcepack: ' FMLFileResourcePack:"Mod name" '}

("variant" , "blockstates" and "Mod name" are placeholders to make it generic).

All the other block and item textures are working, only these are broken textures.

I don't know much about this kind of modeling, that is my main problem :(

 

The block name is XrayBlock

This is XrayBlock.json for the blockstates

 

 

{

    "variants": {

        "down=false,east=false,north=false,south=false,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=false,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=false,west=false,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=false,west=false,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=false,north=false,south=false,west=true,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=false,west=true,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=false,west=true,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=false,west=true,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=false,north=false,south=true,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=true,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=true,west=false,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=true,west=false,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=false,north=false,south=true,west=true,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=true,west=true,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=true,west=true,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=false,south=true,west=true,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=false,north=true,south=false,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=false,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=false,west=false,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=false,west=false,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=false,north=true,south=false,west=true,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=false,west=true,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=false,west=true,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=false,west=true,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=false,north=true,south=true,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=true,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=true,west=false,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=true,west=false,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=false,north=true,south=true,west=true,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=true,west=true,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=true,west=true,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=false,north=true,south=true,west=true,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=true,north=false,south=false,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=false,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=false,west=false,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=false,west=false,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=true,north=false,south=false,west=true,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=false,west=true,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=false,west=true,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=false,west=true,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=true,north=false,south=true,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=true,west=false,up=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=true,west=false,up=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=true,west=false,up=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=true,north=false,south=true,up=false,west=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=true,up=false,west=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=true,up=true,west=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=false,south=true,up=true,west=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=true,north=true,south=false,up=false,west=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=false,up=false,west=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=false,up=true,west=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=false,up=true,west=false": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=true,north=true,south=false,up=false,west=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=false,up=false,west=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=false,up=true,west=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=false,up=true,west=true": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=true,north=true,south=true,up=false,west=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=true,up=false,west=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=true,up=true,west=false": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=true,up=true,west=false": { "model": "ndmm:XrayBlock" },

       

        "down=false,east=true,north=true,south=true,up=false,west=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=true,up=false,west=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=true,up=true,west=true": { "model": "ndmm:XrayBlock" },

        "down=false,east=true,north=true,south=true,up=true,west=true": { "model": "ndmm:XrayBlock" },

               

    }

}

 

 

 

 

This is XrayBlock.json for the block models //(I'm using the same png for all the models just for the sake of testing)

 

 

{

    "parent": "builtin/generated,

    "textures": {

        "all": "ndmm:blocks/XrayBlock"

    }

}

 

This is the block class

http://pastebin.com/hHRMgmD0

 

 

 

This is the lattest log//(slpit in 2 due to pastebin limit)

http://pastebin.com/aWepEgi8

http://pastebin.com/kGrXUyNJ

 

This is the fml log

http://pastebin.com/6NpS4400

 

XOdHhB7.png

 

 

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.