EchoPet icon indicating copy to clipboard operation
EchoPet copied to clipboard

Can't add potion effects to pet entity

Open SheerAwesomeness opened this issue 9 years ago • 6 comments

I'm trying to make pets invisible (but still actually there) through giving them an invisibility potion effect that doesn't show particles. Upon checking the bukkit entity's potion effects, the added effect is listed, but all players can still see the pet. Is there something blocking potion effects on pet entities?

Thanks

P.S: .setInvisible(true) appears to do nothing whatsoever (IEntityPet)

SheerAwesomeness avatar Nov 25 '15 15:11 SheerAwesomeness

I am wondering why this is a bug, i mean you dont want noobs to have there pet be invisable right?!

Also you could do '/pet hide' for this. Also when you go in gmsp it goes as well so no need. Op 25 nov. 2015 16:43 schreef "SheerAwesomeness" [email protected]:

I'm trying to make pets invisible (but still actually there) through giving them an invisibility potion effect that doesn't show particles. Upon checking the bukkit entity's potion effects, the added effect is listed, but all players can still see the pet. Is there something blocking potion effects on pet entities?

Thanks

— Reply to this email directly or view it on GitHub https://github.com/DSH105/EchoPet/issues/584.

xknat avatar Nov 25 '15 16:11 xknat

For my purposes, I need the pet to be invisible, and .setInvisible() doesn't work. So yes. This is a bug.

SheerAwesomeness avatar Nov 25 '15 16:11 SheerAwesomeness

I gues you can even disable them for a region / world! Op 25 nov. 2015 17:57 schreef "Kevin Natte" [email protected]:

I am wondering why this is a bug, i mean you dont want noobs to have there pet be invisable right?!

Also you could do '/pet hide' for this. Also when you go in gmsp it goes as well so no need. Op 25 nov. 2015 16:43 schreef "SheerAwesomeness" <[email protected]

:

I'm trying to make pets invisible (but still actually there) through giving them an invisibility potion effect that doesn't show particles. Upon checking the bukkit entity's potion effects, the added effect is listed, but all players can still see the pet. Is there something blocking potion effects on pet entities?

Thanks

— Reply to this email directly or view it on GitHub https://github.com/DSH105/EchoPet/issues/584.

xknat avatar Nov 25 '15 16:11 xknat

I don't want to hide or disable pets. I want them to be invisible.

I've looked into datawatcher values, but something must be overriding it.

SheerAwesomeness avatar Nov 25 '15 17:11 SheerAwesomeness

its not a bug cuz you should not edit some one code without permission :P

2015-11-25 18:01 GMT+01:00 SheerAwesomeness [email protected]:

I've looked into datawatcher values, but something must be overriding it.

— Reply to this email directly or view it on GitHub https://github.com/DSH105/EchoPet/issues/584#issuecomment-159672665.

xknat avatar Nov 25 '15 17:11 xknat

How am I editing code? Do explain. Regardless, this is licensed under GPL-3, meaning if I wish I can modify and distribute this project.

After you're done explaining, please stop posting useless comments. Thanks.

SheerAwesomeness avatar Nov 25 '15 17:11 SheerAwesomeness