New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ShulkerBullet not implemented in Projectile. #1901
Comments
Seems not hard to do. |
I'm not 100% sure that a shulker bullet is a projectile in the classic sense. But it should fit I think, and it should be doable. If it isn't it should at least be possible to expose some API for what you need. |
It's not a projectile in the Minecraft source code, it's just an Entity with a Living owner and an Entity target (with a bonus direction). Edit: Forgot to mention I am trying to implement it. |
I was able to get the required entity via the IndirectEntityDamageSource. But this method is not very convenient, it would be better to get through Projectile. |
We could make it a Sponge |
I think this will require more thoughts. The ShulkerBullet needs a target otherwise it would be useless (its vertical motion would just decrease), and with the actual |
I'm curious if we're allowed to modify the shulker bullet to simply tell it to move in a certain direction. I reviewed the This would be an added modification that we would have to maintain of course, something that I can see being done similarly to how mine carts are currently modified, or how the vanish api functions. |
I haven't seen that |
When writing a plugin, I ran into a problem. I need to get the entity that fired the shulker bullet.
The text was updated successfully, but these errors were encountered: