-
Notifications
You must be signed in to change notification settings - Fork 36
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
TNT projectile- id not found? #30
Comments
In the config.yml you have the option to change the projectile type. You can replace SNOWBALL with PRIMED_TNT and see what happens, but I don't know what will happen.
|
I tried using primed tnt a few weeks ago. And well it kinda spits out of the cannon but doesn't shoot with the defined velocity like a snowball does. Not sure if there's a fix for it but yh. |
It is because I set the velocity of the projectile and somehow TNTPrimed is an entity and no a projectile. You could use other projectiles: I might be possible to replace the projectile.setVelocity with entity.setVelocity, but I am not sure if it is worth it. Since the plugin relies on the projectile impact it might get tricky, but possible. |
Hi Pavlov. I'm guessing its not as easy as replacing projectile.setVelocity with entity.setVelocity. If its not too difficult, if a forked version could be made so i could test to see if it works that would be great! |
This is open to anyone who may know the answer. How do I make cannons shoot out primed tnt? The ids primed_tnt and tnt did not work/could not be found. The only other entity id I’ve gotten to work outside of snowball is fireball.
Thanks
The text was updated successfully, but these errors were encountered: