-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
This server is running CraftBukkit version 3149-Spigot-101ebb6-9122f5a (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT)
-
Yes
When I shoot a dragon fireball and set its direction, its movement is far from smooth. It does go towards the correct direction, but it strays off its path a lot, making a kind of strange half circle and then suddenly teleports back onto its path.
Expected behavior: In 1.16.5 and earlier the same code made the dragon fireball go straight towards its target.
Code:
Entity ent = ....; Vector forwardDir = ent.getLocation().getDirection(); Location loc = ent.getLocation(); loc.add(forwardDir.clone().multiply(10).setY(-1)); DragonFireball fireball = loc.getWorld().spawn(loc, DragonFireball.class); fireball.setDirection(forwardDir);
I attached a video of the strange movement (the fireball is shot from the head of the EnderDragon).