Jump to content

Recommended Posts

Posted

So I have this block model, and it's giving me trouble:

 

  Reveal hidden contents

 

I am using 1.8 and my issue is that the block is showing the black and purple checkered pattern when it's in the world. The Block renders correctly in my inventory, though.

I get the error:

java.lang.IllegalStateException: Not a JSON Object: "blocks/wool_colored_light_blue"

Posted

Block registration code:

 

  Reveal hidden contents

 

 

Then the block constructor is here:

 

  Reveal hidden contents

 

 

My item json is here:

 

  Reveal hidden contents

 

 

My block model is this:

 

  Reveal hidden contents

 

 

And the block state is this:

 

  Reveal hidden contents

 

 

Also I looked through your link, and got no helpful information. This because My block renders correctly in the my hotbar, but not in the world.

Posted

In your blockstates file you have "particle": "blocks/wool_colored_light_blue", this is wrong because Minecraft expects each value in the "variants" object to be an array or an object but you've used a string.

 

Particles are only defined in models anyway, so you should delete the line entirely.

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.