Jump to content

[1.12.2] Translucent Block Not Rendering Properly in Hand


RileyTheFox

Recommended Posts

I've tried looking around through Google and various threads on here but it always seems to be the opposite to the problem I'm having. I made my own glass-like block and everything works correctly besides the rendering when it's in a player's hand. The block itself works fine and I like how it looks but in the hand it's acting like the texture is completely opaque. I tried looking at similar blocks like stained glass but I can't seem to figure out what the issue is. I'm probably missing something totally obvious but that's why I wanted to ask here to see where I'm being dumb.

 

So this is how it looks in game:

bNqovcr.thumb.png.39d02fb20bb5715ba24f10a582c70b41.png

 

And I'm getting this weird effect when in third person with the block like it's trying to render it translucent but it's not quite there:

SjYwOyV.png.5b0aa5001638a780452f66b5c301cad5.png

 

Lastly here's my .json files for the block and item models. If I need to post the code, let me know. I just didn't know if I did.

 

Here's the block model .json:

{
  "parent": "block/cube_all",
  "textures": {
    "all": "fallenstars:blocks/shimmer_glass_red"
  }
}

 

And here's the item model .json:

{
  "parent": "block/cube_all",
  "textures": {
    "all": "fallenstars:blocks/shimmer_glass_red"
  }
}

 

Sorry ahead of time if I'm just being dumb with something obvious. It's been awhile since I've coded and I'm trying to reacquaint myself to it but I've run into this dilemma along the way.

 

Thanks so much in advance for any help.

Edited by RileyTheFox
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.