ScriptProjectiles

public final class ScriptProjectiles implements AutoCloseable

Lua callbacks on the canonical physical projectile engine, owned by the ordinary script instance.

Constructors

Link copied to clipboard
public void ScriptProjectiles(Plugin plugin)

Functions

Link copied to clipboard
public void close()
Link copied to clipboard
public boolean launch(ScriptInstance instance, Player owner, BooleanSupplier active, Location at, Vector direction, double speed, double range, int ticks, LuaFunction impact, LuaFunction visual, boolean protectedPath)