Jump to content

[1.7.10] How to stop potion effect particles from being rendered?


Recommended Posts

Posted

Hello everyone,

 

I make the player "invisible" by canceling the RenderPlayerEvent.Pre event whenever they are mounted to my custom entity. That works great, but I want to give the player a night vision potion effect so they can see in the dark, and the potion effect particles are still visible around the now-invisible player. Is there any way to stop that?

 

Thanks for reading!

~Geforce

Potato's have skin. I have skin. Therefore, i am a potato.

 

Follow me on Twitter!

http://www.twitter.com/I_Mod_Minecraft

Posted

I'm seeing a little information that "for some potions (like invisibility) giving a negative amplifier negates the particles."

There's also a command to hide them.

Hmm, found someone who figured out that if you set the player's datawater's 8th object to 0, that removes particles as well:

http://www.curse.com/bukkit-plugins/minecraft/removepotionparticles

(Source is linked in the description)

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

I'd first try setting the applifier negative.  For invisibility and night vision, there is no mechanical effect, but if that stops the particles, that would be the best solution.

 

Failing that, the data watcher, as if you're invisible you should be.....invisible.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted
  On 4/21/2015 at 7:35 PM, Draco18s said:

I'd first try setting the applifier negative.  For invisibility and night vision, there is no mechanical effect, but if that stops the particles, that would be the best solution.

 

Failing that, the data watcher, as if you're invisible you should be.....invisible.

Awesome, setting the amplifier to -1 works like a charm!

 

Thanks everyone!

Potato's have skin. I have skin. Therefore, i am a potato.

 

Follow me on Twitter!

http://www.twitter.com/I_Mod_Minecraft

  • 5 years later...
Posted

Please don't necro ancient threads for unsupported versions.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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