So i made a gun that shoots shuker bullets but after some time of adding features to the plugin it stopped working. I haven't been keeping track of this, so idk when it stopped working. I wonder if there is an EntityRemove event or smth like that. Thx for awnser
No, there is no "EntityRemoveEvent". There's possibly another event that might be useful to you though, so what exactly are you trying to do? (By the way, although this is relevant to programming, there's a subforum specifically for Spigot plugin development)
Alright. What are you trying to do with that information? You mentioned shulker bullets, so if you're looking out for when/why a projectile despawns, you can listen in to the ProjectileHitEvent
Already tried, nothing there I just whanna know why my shulker bullet gets delited but other projectiles dont
Are they being deleted before hitting their target in that case? That'd be quite odd, but possibly interference from another plugin. If they just don't call the event, then it might be a bug in Spigot.
Did you try removing it anyway? ProtocolSupport's objective is to add support for clients on older versions. Pre-1.9 doesn't have shulkers or shulker bullets, so perhaps it's trying to remove them to force compatibility for those versions?
Not sure what to tell you then D: make sure you're using the latest version of BuildTools and a freshly compiled Spigot jar. Good luck though