Class GlowAreaEffectCloud

java.lang.Object
net.glowstone.entity.GlowEntity
net.glowstone.entity.GlowAreaEffectCloud
All Implemented Interfaces:
net.kyori.adventure.audience.Audience, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, org.bukkit.command.CommandSender, org.bukkit.entity.AreaEffectCloud, org.bukkit.entity.Entity, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder

public class GlowAreaEffectCloud extends GlowEntity implements org.bukkit.entity.AreaEffectCloud
  • Constructor Details

    • GlowAreaEffectCloud

      public GlowAreaEffectCloud(org.bukkit.Location location)
      Creates an entity and adds it to the specified world.
      Parameters:
      location - The location of the entity.
  • Method Details

    • pulse

      public void pulse()
      Description copied from class: GlowEntity
      Called every game cycle. Subclasses should implement this to implement periodic functionality e.g. mob AI.
      Overrides:
      pulse in class GlowEntity
    • createSpawnMessage

      public List<com.flowpowered.network.Message> createSpawnMessage()
      Description copied from class: GlowEntity
      Creates a list of Messages which can be sent to a client to spawn this entity. Implementations in concrete subclasses may return a shallowly immutable list.
      Specified by:
      createSpawnMessage in class GlowEntity
      Returns:
      A list of messages which can spawn this entity.
    • setParticle

      public <T> void setParticle(@NotNull @NotNull org.bukkit.Particle particle, @Nullable T data)
      Specified by:
      setParticle in interface org.bukkit.entity.AreaEffectCloud
    • hasCustomEffects

      public boolean hasCustomEffects()
      Specified by:
      hasCustomEffects in interface org.bukkit.entity.AreaEffectCloud
    • getCustomEffects

      public List<org.bukkit.potion.PotionEffect> getCustomEffects()
      Specified by:
      getCustomEffects in interface org.bukkit.entity.AreaEffectCloud
    • addCustomEffect

      public boolean addCustomEffect(org.bukkit.potion.PotionEffect potionEffect, boolean overwrite)
      Specified by:
      addCustomEffect in interface org.bukkit.entity.AreaEffectCloud
    • removeCustomEffect

      public boolean removeCustomEffect(org.bukkit.potion.PotionEffectType potionEffectType)
      Specified by:
      removeCustomEffect in interface org.bukkit.entity.AreaEffectCloud
    • hasCustomEffect

      public boolean hasCustomEffect(org.bukkit.potion.PotionEffectType potionEffectType)
      Specified by:
      hasCustomEffect in interface org.bukkit.entity.AreaEffectCloud
    • clearCustomEffects

      public void clearCustomEffects()
      Specified by:
      clearCustomEffects in interface org.bukkit.entity.AreaEffectCloud
    • getDuration

      public int getDuration()
      Specified by:
      getDuration in interface org.bukkit.entity.AreaEffectCloud
    • setDuration

      public void setDuration(int duration)
      Specified by:
      setDuration in interface org.bukkit.entity.AreaEffectCloud
    • getWaitTime

      public int getWaitTime()
      Specified by:
      getWaitTime in interface org.bukkit.entity.AreaEffectCloud
    • setWaitTime

      public void setWaitTime(int waitTime)
      Specified by:
      setWaitTime in interface org.bukkit.entity.AreaEffectCloud
    • getReapplicationDelay

      public int getReapplicationDelay()
      Specified by:
      getReapplicationDelay in interface org.bukkit.entity.AreaEffectCloud
    • setReapplicationDelay

      public void setReapplicationDelay(int reapplicationDelay)
      Specified by:
      setReapplicationDelay in interface org.bukkit.entity.AreaEffectCloud
    • getDurationOnUse

      public int getDurationOnUse()
      Specified by:
      getDurationOnUse in interface org.bukkit.entity.AreaEffectCloud
    • setDurationOnUse

      public void setDurationOnUse(int durationOnUse)
      Specified by:
      setDurationOnUse in interface org.bukkit.entity.AreaEffectCloud
    • getRadius

      public float getRadius()
      Specified by:
      getRadius in interface org.bukkit.entity.AreaEffectCloud
    • setRadius

      public void setRadius(float radius)
      Specified by:
      setRadius in interface org.bukkit.entity.AreaEffectCloud
    • getRadiusOnUse

      public float getRadiusOnUse()
      Specified by:
      getRadiusOnUse in interface org.bukkit.entity.AreaEffectCloud
    • setRadiusOnUse

      public void setRadiusOnUse(float radiusOnUse)
      Specified by:
      setRadiusOnUse in interface org.bukkit.entity.AreaEffectCloud
    • getRadiusPerTick

      public float getRadiusPerTick()
      Specified by:
      getRadiusPerTick in interface org.bukkit.entity.AreaEffectCloud
    • setRadiusPerTick

      public void setRadiusPerTick(float radiusPerTick)
      Specified by:
      setRadiusPerTick in interface org.bukkit.entity.AreaEffectCloud
    • getParticle

      public org.bukkit.Particle getParticle()
      Specified by:
      getParticle in interface org.bukkit.entity.AreaEffectCloud
    • setParticle

      public void setParticle(org.bukkit.Particle particle)
      Specified by:
      setParticle in interface org.bukkit.entity.AreaEffectCloud
    • getBasePotionData

      public org.bukkit.potion.PotionData getBasePotionData()
      Specified by:
      getBasePotionData in interface org.bukkit.entity.AreaEffectCloud
    • setBasePotionData

      public void setBasePotionData(org.bukkit.potion.PotionData basePotionData)
      Specified by:
      setBasePotionData in interface org.bukkit.entity.AreaEffectCloud
    • getSource

      public org.bukkit.projectiles.ProjectileSource getSource()
      Specified by:
      getSource in interface org.bukkit.entity.AreaEffectCloud
    • setSource

      public void setSource(org.bukkit.projectiles.ProjectileSource source)
      Specified by:
      setSource in interface org.bukkit.entity.AreaEffectCloud
    • getColor

      public org.bukkit.Color getColor()
      Specified by:
      getColor in interface org.bukkit.entity.AreaEffectCloud
    • setColor

      public void setColor(org.bukkit.Color color)
      Specified by:
      setColor in interface org.bukkit.entity.AreaEffectCloud