Jump to content

Recommended Posts

Posted (edited)

I am fairly unfamiliar with the way things go in 1.12, I have no errors in my logs and currently have the block properly registered it even renders in hand....Invisible... I have tried to search over the forum for this error and have had great success but in most cases they aren't for 1.12 so the help they offer is limited.

 

 I have all my code in git Here

 

and this is how the block appears in-game

Spoiler

zs0mGte.png

 

Out of the minor things I have tried include, Override of getBlockLayer using SOLID, getRenderType using MODEL playing with my registry method my Json file that is just a copy paste of thin_block, I even tried to remove the texture from it but it didn't even turn to the purple and black texture... anyhelp?

Edited by gameristic34
Posted

thin_block doesn't specify any elements (it only specifies some display transformations) and neither does your model, so nothing is rendered.

 

If you look at the models that extend thin_block (e.g. carpet, daylight_detector), you'll see that they specify an element themselves.

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.

Posted

 

59 minutes ago, Choonster said:

thin_block doesn't specify any elements (it only specifies some display transformations) and neither does your model, so nothing is rendered.

 

If you look at the models that extend thin_block (e.g. carpet, daylight_detector), you'll see that they specify an element themselves.

Thanks for the help all is good now, Looking back on it that is something simple but those are always the things that seem to be the hardest to fix

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.