Jump to content

Disable culling from custom block


Felahliir

Recommended Posts

So my custom model won't load the faces of other blocks. I have seen a couple threads of people saying to use "culling": false but they don't specify where to put the code. I don't know if to put it in the model, in the like where the block is scripted or the other .json files and similar.  Then again i've seen threads where people recommend using "    isOpaqueCube  " and i don't have the remote idea of how to use that. The only video tutorial i have found didn't even explain how to use the code, it was pretty confusing, he used @Override but it didnt even work with my mod. 

 

 

 

This is the video i'm refering to.

problemahagahaha.png

Link to comment
Share on other sites

7 hours ago, Felahliir said:

"culling": false

That looks like JSON, so I would probably put it in one of the two JSON files.

 

7 hours ago, Felahliir said:

isOpaqueCube

This is Java and would go in the block class. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/ores/block/BlockSifter.java#L40-L54

Things have changed a bit in 1.14 (one of those methods is gone)

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

  • 2 years later...

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.