Jump to content

Recommended Posts

Posted

The blockstates file for my block "RedstoneEngine" doesnt work, even though it uses the same model file as a block that does work. The only difference between these two blocks is that "RedstoneEngine" has a propertyDirection and the other block has no properties.

 

Here's the broken blockstates for "RedstoneEngine"

{
    "variants": {
        "facing=down": { "model": "flyingfortress:shitblock", "x": 90 },
        "facing=up": { "model": "flyingfortress:shitblock", "x": 270 },
        "facing=north": { "model": "flyingfortress:shitblock" },
        "facing=south": { "model": "flyingfortress:shitblock", "y": 180 },
        "facing=west": { "model": "flyingfortress:shitblock", "y": 270 },
        "facing=east": { "model": "flyingfortress:shitblock", "y": 90 },
    }
}

 

And here's the working blockstates for "shitBlock"

 

{
    "variants": {
        "normal": { "model": "flyingfortress:shitblock" }
    }
}

 

Am I missing something obvious?

"you seem to be THE best modder I've seen imo."

~spynathan

 

ლ(́◉◞౪◟◉‵ლ

Posted

You have a trailing comma after the east variant, which is a syntax error. Did you not get a message in the log telling you this?

 

I suggest running your JSON files through JSONLint when you're having model issues.

 

If it still doesn't work after fixing that, follow The Grey Ghost's guide to troubleshooting block and item rendering.

 

If you follow the guide and still can't find the error, upload your FML log to Gist and link it here.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.