java.lang.Object
studio.magemonkey.fabled.api.particle.target.FixedTarget
All Implemented Interfaces:
EffectTarget

public class FixedTarget extends Object implements EffectTarget
A fixed location to play an effect
  • Constructor Details

    • FixedTarget

      public FixedTarget(org.bukkit.Location loc)
      Parameters:
      loc - location to play effect around
  • Method Details

    • getLocation

      public org.bukkit.Location getLocation()
      Gets the location to center the effect around
      Specified by:
      getLocation in interface EffectTarget
      Returns:
      effect location
    • isValid

      public boolean isValid()
      Specified by:
      isValid in interface EffectTarget
      Returns:
      tue if target is still valid, false otherwise
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object