Jump to content

(SOLVED) [1.11.2] Variant Block Textures In-World


saxon564

Recommended Posts

I have found a flame that has gotten me back into modding and am now updating my mod from 1.7.10 to 1.11.2. I have gotten all the IDE found bugs taken care of and now I am onto the bugs that are only found while testing in-game. I have many problems currently but the one I want to focus on it getting blocks to render with the texture for that variant. I have been looking at posts for about a week now trying to figure this out and have not been able to get anywhere with it. I have gotten items to work like this though, just not my blocks. All my code can be found at https://github.com/saxon564/MoChickens but the related classes are:
 

https://github.com/saxon564/MoChickens/blob/master/src/main/java/com/saxon564/mochickens/registers/RegisterBlocks.java

https://github.com/saxon564/MoChickens/blob/master/src/main/java/com/saxon564/mochickens/client/ClientProxyMoChickens.java

https://github.com/saxon564/MoChickens/blob/master/src/main/java/com/saxon564/mochickens/registers/RegisterHelper.java

https://github.com/saxon564/MoChickens/blob/master/src/main/java/com/saxon564/mochickens/blocks/BlockFeatherBlock.java

https://github.com/saxon564/MoChickens/blob/master/src/main/java/com/saxon564/mochickens/items/ItemFeatherBlock.java

https://github.com/saxon564/MoChickens/blob/master/src/main/java/com/saxon564/mochickens/enums/EnumHandler.java

and

https://github.com/saxon564/MoChickens/blob/master/src/main/resources/assets/mochickens/blockstates/feather_block.json

 

Does anyone have any thoughts as to what I would need to do to fix this? Of course, I am not asking for a copy/paste answer but at least something to help push me in the right direction.

Edited by saxon564
Marking as solved.
Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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