Jump to content

[1.17.1]Problem with rendering semi-transparent items


Recommended Posts

Posted (edited)

Hi,

I have an item that uses semi-transparent texture. In older version, I can use RenderTypeLookUp to set render type in order to make the item's texture renders properly.

But in 1.17,  RenderTypeLookUp was removed, and I have no idea how to set render type now.

Any solutions?

Edited by Piinut
Posted (edited)
17 hours ago, Piinut said:

Any solutions?

I think the class was just renamed to ItemBlockRenderTypes when the switch to official mappings for class names was made.

Edited by vemerion
Posted
2 hours ago, vemerion said:

I think the class was just renamed to ItemBlockRenderTypes when the switch to official mappings for class names was made.

I think this class is designed to handle block rendering, but I might be wrong. 

I'm just trying to render a normal item. Does that still work?

Posted
On 9/8/2021 at 2:28 PM, Piinut said:

I'm just trying to render a normal item. Does that still work?

I just tested and good news! You don't need to do anything special to have a semi-transparent item. Just make the texture transparent and you should be good to go!

  • 2 weeks 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.