Package org.leralix.lib.utils
Class ParticleUtils
java.lang.Object
org.leralix.lib.utils.ParticleUtils
This class is used to manage particles in the plugin.
-
Method Details
-
showBox
public static void showBox(org.bukkit.plugin.Plugin plugin, org.bukkit.entity.Player player, Vector3D point1, Vector3D point2, int seconds) Draw a rectangular box between 2 points for a certain amount of time.- Parameters:
player
- The player to show the box topoint1
- The first point of the boxpoint2
- The second point of the boxseconds
- The amount of time to show the box for
-
drawBox
Draw a box between 2 points.- Parameters:
player
- The player to show the box topoint1
- The first point of the boxpoint2
- The second point of the box
-