Jump to content

[1.17.1] How can i skip render of one face of a Block


samjviana

Recommended Posts

I have an custom slime block that works exactly the same as the vanilla one, but it is visually different. The thing is, the vanilla block, don't render the face that is in contact with another block os same instance, i assume that the function HalfTransparentBlock$skipRendering is responsable for that. To make my block i just extended the SlimeBlock class but the render of the face keep getting rendered, i even override the skipRendering, but it is never called.
Here's an screenshot: (left: modded slime block, right: vanilla's)
Vir9cqZ.png

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.

Announcements



×
×
  • Create New...

Important Information

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