Class ReviveBeaconEffectManager

java.lang.Object
com.zetaplugins.lifestealz.util.customblocks.ReviveBeaconEffectManager

public final class ReviveBeaconEffectManager extends Object
  • Constructor Details

    • ReviveBeaconEffectManager

      public ReviveBeaconEffectManager(LifeStealZ plugin)
  • Method Details

    • startIdleEffects

      public void startIdleEffects(Location location, boolean showEnchantParticles, Material decoyMaterial)
      Starts the idle particle effects for a Revive Beacon at the specified location.
      Parameters:
      location - The location of the Revive Beacon where the particles will be spawned.
      showEnchantParticles - Whether to show enchantment particles around the beacon.
      decoyMaterial - The material to use for the decoy block display.
    • startRevivingEffects

      public void startRevivingEffects(Location location, String target, boolean showLaser, boolean showParticleRing, ParticleColor particleColor, Material innerLaserMaterial, Material outerLaserMaterial, int reviveTime)
      Starts the reviving particle effects for a Revive Beacon at the specified location.
      Parameters:
      location - The location of the Revive Beacon where the particles will be spawned.
      target - The name of the Player who is being revived.
      showLaser - Whether to show the laser effect.
      showParticleRing - Whether to show the particle ring effect.
      particleColor - The color of the particles in the ring.
      innerLaserMaterial - The material for the inner laser beam.
      outerLaserMaterial - The material for the outer laser beam.
    • stopBossbarTask

      public void stopBossbarTask(Location location)
      Stops the bossbar task for a Revive Beacon at the specified location.
      Parameters:
      location - The location of the Revive Beacon where the bossbar task will be stopped.
    • removeBossbar

      public void removeBossbar(Location location)
      Removes the bossbar at the specified location.
      Parameters:
      location - The location of the Revive Beacon where the bossbar will be removed.
    • stopIdlePArticles

      public void stopIdlePArticles(Location location)
      Stops the idle particle effects for a Revive Beacon at the specified location.
      Parameters:
      location - The location of the Revive Beacon where the particles will be stopped.
    • stopRevivingParticles

      public void stopRevivingParticles(Location location)
      Stops the reviving particle effects for a Revive Beacon at the specified location.
      Parameters:
      location - The location of the Revive Beacon where the particles will be stopped.
    • removeLaser

      public void removeLaser(Location location)
      Removes the laser at the specified location This method is typically called when a Revive Beacon is broken or removed.
      Parameters:
      location - The location of the Revive Beacon where the laser will be removed.
    • removeDecoy

      public void removeDecoy(Location location)
      Removes the decoy at the specified location.
      Parameters:
      location - The location of the decoy to be removed.
    • clearAllEffects

      public void clearAllEffects(Location location)
      Clears all particle effects and removes the pillar at the specified location. This method is typically called when a Revive Beacon is broken or removed.
      Parameters:
      location - The location of the Revive Beacon where all effects will be cleared.
    • clearAllEffects

      public void clearAllEffects()
      Clears all particle effects and removes all pillars. This method is typically called when the plugin is disabled or when all Revive Beacons are removed.