Jump to content

[1.16.5] Render Block Fog/Overlay


Luis_ST

Recommended Posts

I want to create a block that works in a similar way to the powder snow in 1.17 (fog and overlay).

I have already created the overlay. I use the RenderGameOverlayEvent for this.

1. is the RenderGameOverlayEvent the best way to render an overlay when a player is in the block?

 

my block currently looks like this (if the player is in the block):

https://drive.google.com/file/d/1k6ioqsE6mnFQt7h8h8HvfaaTMKTDfeDv/view?usp=sharing

 

but i want the texture of the block to be visible from inside and that the block has a fog inside like this:

https://drive.google.com/file/d/1fnQBrQ6bfap5C9ufkgPDU2jWdWamQ--_/view?usp=sharing

 

2. what I have to add to the block so that the texture is visible from inside (Edit: fixed)

3. how do i create a fog in the block

 

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



×
×
  • Create New...

Important Information

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