Class ReviveBeaconEffectManager
java.lang.Object
org.strassburger.lifestealz.util.customblocks.ReviveBeaconEffectManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears all particle effects and removes all pillars.void
clearAllEffects
(org.bukkit.Location location) Clears all particle effects and removes the pillar at the specified location.void
removeDecoy
(org.bukkit.Location location) Removes the decoy at the specified location.void
removeLaser
(org.bukkit.Location location) Removes the laser at the specified location This method is typically called when a Revive Beacon is broken or removed.void
startIdleEffects
(org.bukkit.Location location, boolean showEnchantParticles, org.bukkit.Material decoyMaterial) Starts the idle particle effects for a Revive Beacon at the specified location.void
startRevivingEffects
(org.bukkit.Location location, boolean showLaser, boolean showParticleRing, ParticleColor particleColor, org.bukkit.Material innerLaserMaterial, org.bukkit.Material outerLaserMaterial) Starts the reviving particle effects for a Revive Beacon at the specified location.void
stopIdlePArticles
(org.bukkit.Location location) Stops the idle particle effects for a Revive Beacon at the specified location.void
stopRevivingParticles
(org.bukkit.Location location) Stops the reviving particle effects for a Revive Beacon at the specified location.
-
Constructor Details
-
ReviveBeaconEffectManager
-
-
Method Details
-
startIdleEffects
public void startIdleEffects(org.bukkit.Location location, boolean showEnchantParticles, org.bukkit.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(org.bukkit.Location location, boolean showLaser, boolean showParticleRing, ParticleColor particleColor, org.bukkit.Material innerLaserMaterial, org.bukkit.Material outerLaserMaterial) 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.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.
-
stopIdlePArticles
public void stopIdlePArticles(org.bukkit.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(org.bukkit.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(org.bukkit.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(org.bukkit.Location location) Removes the decoy at the specified location.- Parameters:
location
- The location of the decoy to be removed.
-
clearAllEffects
public void clearAllEffects(org.bukkit.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.
-