Class ParticleUtils

java.lang.Object
org.leralix.lib.utils.ParticleUtils

public class ParticleUtils extends Object
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 to
      point1 - The first point of the box
      point2 - The second point of the box
      seconds - The amount of time to show the box for
    • drawBox

      public static void drawBox(org.bukkit.entity.Player player, Vector3D point1, Vector3D point2)
      Draw a box between 2 points.
      Parameters:
      player - The player to show the box to
      point1 - The first point of the box
      point2 - The second point of the box