public class GlowAreaEffectCloud extends GlowEntity implements org.bukkit.entity.AreaEffectCloud
active, airDrag, applyDragBeforeAccel, boundingBox, ENTITY_ID_NOBODY, entityId, gravityAccel, liquidDrag, location, metadata, passengerChanged, previousLocation, removed, server, slipMultiplier, teleported, ticksLived, vehicle, velocity, velocityChanged, world, worldLock
Constructor and Description |
---|
GlowAreaEffectCloud(org.bukkit.Location location)
Creates an entity and adds it to the specified world.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addCustomEffect(org.bukkit.potion.PotionEffect potionEffect,
boolean overwrite) |
void |
clearCustomEffects() |
void |
clearCustomEffects0() |
List<com.flowpowered.network.Message> |
createSpawnMessage()
Creates a list of
Message s which can be sent to a client to spawn this entity. |
org.bukkit.potion.PotionData |
getBasePotionData() |
org.bukkit.Color |
getColor() |
List<org.bukkit.potion.PotionEffect> |
getCustomEffects() |
int |
getDuration() |
int |
getDurationOnUse() |
org.bukkit.Particle |
getParticle() |
float |
getRadius() |
float |
getRadiusOnUse() |
float |
getRadiusPerTick() |
int |
getReapplicationDelay() |
org.bukkit.projectiles.ProjectileSource |
getSource() |
int |
getWaitTime() |
boolean |
hasCustomEffect(org.bukkit.potion.PotionEffectType potionEffectType) |
boolean |
hasCustomEffects() |
void |
pulse()
Called every game cycle.
|
boolean |
removeCustomEffect(org.bukkit.potion.PotionEffectType potionEffectType) |
void |
setBasePotionData(org.bukkit.potion.PotionData basePotionData) |
void |
setColor(org.bukkit.Color color) |
void |
setDuration(int duration) |
void |
setDurationOnUse(int durationOnUse) |
void |
setParticle(org.bukkit.Particle particle) |
void |
setRadius(float radius) |
void |
setRadiusOnUse(float radiusOnUse) |
void |
setRadiusPerTick(float radiusPerTick) |
void |
setReapplicationDelay(int reapplicationDelay) |
void |
setSource(org.bukkit.projectiles.ProjectileSource source) |
void |
setWaitTime(int waitTime) |
addAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, collide, createAfterSpawnMessage, createUpdateMessage, damage, damage, damage, damage, eject, entityInteract, equals, fromMobSpawner, getCardinalFacing, getChunk, getCustomName, getCustomTags, getDismountLocation, getEffectivePermissions, getEntityId, getFacing, getFallDistance, getFireTicks, getGravityAccel, getHeight, getLastDamageCause, getLeashedEntities, getLeashHolder, getLocation, getLocation, getMaxFireTicks, getMetadata, getMetadata, getMountLocation, getName, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasDefaultLandingBehavior, hasFriction, hasGravity, hashCode, hasMetadata, hasMoved, hasPermission, hasPermission, hasRotated, intersects, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isLeashed, isOnGround, isOp, isPermissionSet, isPermissionSet, isRemoved, isSilent, isTeleported, isTouchingMaterial, isValid, isWithinDistance, isWithinDistance, leaveVehicle, playEffect, playEffectKnownAndSelf, pulsePhysics, recalculatePermissions, remove, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, reset, sendMessage, sendMessage, setAirDrag, setApplyDragBeforeAccel, setBoundingBox, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setFriction, setGlowing, setGravity, setGravityAccel, setInvulnerable, setLastDamageCause, setLeashHolder, setLeashHolderUniqueId, setLiquidDrag, setMetadata, setOnGround, setOp, setPassenger, setPortalCooldown, setRawLocation, setRawLocation, setSilent, setSize, setTicksLived, setUniqueId, setVelocity, shouldSave, spigot, teleport, teleport, teleport, teleport, teleportToEnd, teleportToSpawn, toString, updateBoundingBox
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addPassenger, addScoreboardTag, eject, fromMobSpawner, getChunk, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage, sendMessage, sendMessage
public GlowAreaEffectCloud(org.bukkit.Location location)
location
- The location of the entity.public void pulse()
GlowEntity
pulse
in class GlowEntity
public List<com.flowpowered.network.Message> createSpawnMessage()
GlowEntity
Message
s which can be sent to a client to spawn this entity.
Implementations in concrete subclasses may return a shallowly immutable list.createSpawnMessage
in class GlowEntity
public boolean hasCustomEffects()
hasCustomEffects
in interface org.bukkit.entity.AreaEffectCloud
hasCustomEffects
in interface org.bukkit.potion.PotionDataHolder
public List<org.bukkit.potion.PotionEffect> getCustomEffects()
getCustomEffects
in interface org.bukkit.entity.AreaEffectCloud
getCustomEffects
in interface org.bukkit.potion.PotionDataHolder
public boolean addCustomEffect(org.bukkit.potion.PotionEffect potionEffect, boolean overwrite)
addCustomEffect
in interface org.bukkit.entity.AreaEffectCloud
addCustomEffect
in interface org.bukkit.potion.PotionDataHolder
public boolean removeCustomEffect(org.bukkit.potion.PotionEffectType potionEffectType)
removeCustomEffect
in interface org.bukkit.entity.AreaEffectCloud
removeCustomEffect
in interface org.bukkit.potion.PotionDataHolder
public boolean hasCustomEffect(org.bukkit.potion.PotionEffectType potionEffectType)
hasCustomEffect
in interface org.bukkit.entity.AreaEffectCloud
hasCustomEffect
in interface org.bukkit.potion.PotionDataHolder
public void clearCustomEffects0()
clearCustomEffects0
in interface org.bukkit.entity.AreaEffectCloud
clearCustomEffects0
in interface org.bukkit.potion.PotionDataHolder
public void clearCustomEffects()
clearCustomEffects
in interface org.bukkit.entity.AreaEffectCloud
public int getDuration()
getDuration
in interface org.bukkit.entity.AreaEffectCloud
public void setDuration(int duration)
setDuration
in interface org.bukkit.entity.AreaEffectCloud
public int getWaitTime()
getWaitTime
in interface org.bukkit.entity.AreaEffectCloud
public void setWaitTime(int waitTime)
setWaitTime
in interface org.bukkit.entity.AreaEffectCloud
public int getReapplicationDelay()
getReapplicationDelay
in interface org.bukkit.entity.AreaEffectCloud
public void setReapplicationDelay(int reapplicationDelay)
setReapplicationDelay
in interface org.bukkit.entity.AreaEffectCloud
public int getDurationOnUse()
getDurationOnUse
in interface org.bukkit.entity.AreaEffectCloud
public void setDurationOnUse(int durationOnUse)
setDurationOnUse
in interface org.bukkit.entity.AreaEffectCloud
public float getRadius()
getRadius
in interface org.bukkit.entity.AreaEffectCloud
public void setRadius(float radius)
setRadius
in interface org.bukkit.entity.AreaEffectCloud
public float getRadiusOnUse()
getRadiusOnUse
in interface org.bukkit.entity.AreaEffectCloud
public void setRadiusOnUse(float radiusOnUse)
setRadiusOnUse
in interface org.bukkit.entity.AreaEffectCloud
public float getRadiusPerTick()
getRadiusPerTick
in interface org.bukkit.entity.AreaEffectCloud
public void setRadiusPerTick(float radiusPerTick)
setRadiusPerTick
in interface org.bukkit.entity.AreaEffectCloud
public org.bukkit.Particle getParticle()
getParticle
in interface org.bukkit.entity.AreaEffectCloud
public void setParticle(org.bukkit.Particle particle)
setParticle
in interface org.bukkit.entity.AreaEffectCloud
public org.bukkit.potion.PotionData getBasePotionData()
getBasePotionData
in interface org.bukkit.entity.AreaEffectCloud
getBasePotionData
in interface org.bukkit.potion.PotionDataHolder
public void setBasePotionData(org.bukkit.potion.PotionData basePotionData)
setBasePotionData
in interface org.bukkit.entity.AreaEffectCloud
setBasePotionData
in interface org.bukkit.potion.PotionDataHolder
public org.bukkit.projectiles.ProjectileSource getSource()
getSource
in interface org.bukkit.entity.AreaEffectCloud
public void setSource(org.bukkit.projectiles.ProjectileSource source)
setSource
in interface org.bukkit.entity.AreaEffectCloud
public org.bukkit.Color getColor()
getColor
in interface org.bukkit.entity.AreaEffectCloud
getColor
in interface org.bukkit.potion.PotionDataHolder
public void setColor(org.bukkit.Color color)
setColor
in interface org.bukkit.entity.AreaEffectCloud
setColor
in interface org.bukkit.potion.PotionDataHolder
Copyright © 2021. All rights reserved.