So I know that people hardly come into the resource forum, but I'd like to share a block of code that I recently came up with last night in order to produce some interesting spell effects. Maybe you guys will find it useful, maybe you won't: http://pastie.org/2821142 For those who are curious as to what it does, it essentially uses the Parametric Equation for a line in 3D space in order to shoot effects from one location to another. When t = 0, the location = that of the player When t = 1, the location = that of the target With this particular (and somewhat messy) block of code, I managed to accomplish a stream of smoke from the player followed by an explosion when it reached the destination point (AKA: When t > .95) Demonstration Below (Skip to 30 for actual stuff): Just thought some people might enjoy it if they're going for some cool spell effects in any RPG-esque plugin. This sample code can be manipulated (and has been by me) to do anything from falling meteor showers, to AoE spells that project smoke projectiles to anyone that gets near the player. I do apologize for messy and questionable code (Such as looping through i for both explosions and smokes, when it only affects smokes), but the important thing here is an example of a 3D line in space for anyone looking for Grade-A effects (Grade-A for Minecraft, at least) EDIT: Advanced Version Here's a much cleaner, easier to use version that can have variable projectile speeds: SmokeStreamEffect: http://pastie.org/2823201 SmokeData: http://pastie.org/2822906 Important things to note: turningPoint is the value of t (0 start - 1 end) at which you want to have your stream do something different, as is defined in run() You must set the id of the task back into your class instance, or else it will not be able to cancel itself after completion Keep smokeThickness below 9. Preferrably below even that. There are two classes: SmokeStreamEffect and SmokeData -- You need them both Here's a link to a more configurable method, as opposed to a chunk of code ripped out of my experiment's source: http://pastie.org/2821142 EDIT: Moved to replace the mess that was in OP EDIT by Moderator: merged posts, please use the edit button instead of double posting.