Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by Irantwomiles, Apr 20, 2017.
How can I go about hiding potion splash particles from people?
Did you try reading the post? He's asking about hiding splash potion particles... not regular potions.
For the OP, you'll need to use ProtocolLib.
You don't actually need protocollib there's already a method to do this.
Take a look at that.
After the amplifier you can add two Booleans the first one being some ambient thing I just set that to false coz idk what it does and the second one is for particles, so you would set that one to false.
So like this
p.addPotionEffect(new PotionEffect(PotionEffectType.Effect, 20,0, false, false), true);
That wouldn't really work. I think the particle on this represents the ones that comes off of the entity, like if you're invisible etc.
That doesnt even make sense.
Do you know how to do it with protocolib?
Sorry! I was in a hurry and read your question incorrectly.
OH you meant when an entity is splashed with a potion ohh. Sorry read it wrong
The reason why people ask for this so often is, is that they don't search the forum first and then just create the same type of help at a new thread.
Next time use the Spigot Search function first ok?
Here you go.
I found that last night. I'll be looking at that later today.