spawnArrow

public abstract Arrow spawnArrow(Location location, Vector direction, float speed, float spread)

Creates an Arrow entity at the given Location

Return

Arrow entity spawned as getClassById result of this method

Parameters

location

Location to spawn the arrow

direction

Direction to shoot the arrow in

speed

Speed of the arrow. A recommend speed is 0.6

spread

Spread of the arrow. A recommend spread is 12