Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.