Jump to content

Recommended Posts

Posted

I'm not really sure why, but for some reason my block is having its texture culled when it really shouldn't.

 

I'm using forge blockstates for a block that uses minecraft:farmland as a model under a certain condition, replacing the #top and #dirt textures. Noteably, the model is being culled on all non-top faces despite a block not being present next to them. While normal farmland is not affected by this, my block is.

d48f4f1f2fc0d6bb170f6e24571b3b81.png

 

I confirmed it was a culling issue after copying the model and removing the `cullface` key, wherein the model rendered fine.

 

What's going on here?

Posted

Most likely you have your directions mixed up in your model, or in your block's shouldFaceBeCulled method {or some similiar name}

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.