Jump to content

[1.16] See mobs through walls


FlashHUN

Recommended Posts

6 hours ago, FlashHUN said:

I want to give the player a buff that allows them to see mobs through walls. Instead of using the glowing effect, I actually want to make the mobs render through the walls. How could I achieve that?

this sounds like cheating, what do you want to achieve?

Link to comment
Share on other sites

4 hours ago, Luis_ST said:

this sounds like cheating, what do you want to achieve?

Players can unlock and go into a form that allows them to see other players and mobs through walls in a radius depending on how skilled they are at using said form, and see roughly how much mana those players have left. That's the basic idea.

Link to comment
Share on other sites

1 hour ago, FlashHUN said:

Players can unlock and go into a form that allows them to see other players and mobs through walls in a radius depending on how skilled they are at using said form, and see roughly how much mana those players have left. That's the basic idea.

In 1.16 it becomes a bit more difficult but you have to deactivate depth test and enable alpha test and blend,
use LivingRenderEvent

Link to comment
Share on other sites

15 hours ago, Luis_ST said:

In 1.16 it becomes a bit more difficult but you have to deactivate depth test and enable alpha test and blend,
use LivingRenderEvent

No matter what order I put these in or which class I enable and disable them from (RenderSystem, GlStateManager, GL11), I can't achieve the result I'm looking for...

Link to comment
Share on other sites

4 hours ago, FlashHUN said:

No matter what order I put these in or which class I enable and disable them from (RenderSystem, GlStateManager, GL11), I can't achieve the result I'm looking for...

Take a look how the glowing effect works and copy the logic

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

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