Posted August 2, 201510 yr //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
August 2, 201510 yr Hi There is a syntax error in your JSON. > Expected name at line 83 column 6 Try this site to discover syntax error http://jsonlint.com/ This troubleshooting guide might help http://greyminecraftcoder.blogspot.com.au/2015/03/troubleshooting-block-and-item-rendering.html -TGG
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.