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
Messages 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, updateBoundingBoxclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPassenger, 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, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessage, sendMessage, sendMessagepublic GlowAreaEffectCloud(org.bukkit.Location location)
location - The location of the entity.public void pulse()
GlowEntitypulse in class GlowEntitypublic List<com.flowpowered.network.Message> createSpawnMessage()
GlowEntityMessages which can be sent to a client to spawn this entity.
Implementations in concrete subclasses may return a shallowly immutable list.createSpawnMessage in class GlowEntitypublic boolean hasCustomEffects()
hasCustomEffects in interface org.bukkit.entity.AreaEffectCloudhasCustomEffects in interface org.bukkit.potion.PotionDataHolderpublic List<org.bukkit.potion.PotionEffect> getCustomEffects()
getCustomEffects in interface org.bukkit.entity.AreaEffectCloudgetCustomEffects in interface org.bukkit.potion.PotionDataHolderpublic boolean addCustomEffect(org.bukkit.potion.PotionEffect potionEffect,
boolean overwrite)
addCustomEffect in interface org.bukkit.entity.AreaEffectCloudaddCustomEffect in interface org.bukkit.potion.PotionDataHolderpublic boolean removeCustomEffect(org.bukkit.potion.PotionEffectType potionEffectType)
removeCustomEffect in interface org.bukkit.entity.AreaEffectCloudremoveCustomEffect in interface org.bukkit.potion.PotionDataHolderpublic boolean hasCustomEffect(org.bukkit.potion.PotionEffectType potionEffectType)
hasCustomEffect in interface org.bukkit.entity.AreaEffectCloudhasCustomEffect in interface org.bukkit.potion.PotionDataHolderpublic void clearCustomEffects0()
clearCustomEffects0 in interface org.bukkit.entity.AreaEffectCloudclearCustomEffects0 in interface org.bukkit.potion.PotionDataHolderpublic void clearCustomEffects()
clearCustomEffects in interface org.bukkit.entity.AreaEffectCloudpublic int getDuration()
getDuration in interface org.bukkit.entity.AreaEffectCloudpublic void setDuration(int duration)
setDuration in interface org.bukkit.entity.AreaEffectCloudpublic int getWaitTime()
getWaitTime in interface org.bukkit.entity.AreaEffectCloudpublic void setWaitTime(int waitTime)
setWaitTime in interface org.bukkit.entity.AreaEffectCloudpublic int getReapplicationDelay()
getReapplicationDelay in interface org.bukkit.entity.AreaEffectCloudpublic void setReapplicationDelay(int reapplicationDelay)
setReapplicationDelay in interface org.bukkit.entity.AreaEffectCloudpublic int getDurationOnUse()
getDurationOnUse in interface org.bukkit.entity.AreaEffectCloudpublic void setDurationOnUse(int durationOnUse)
setDurationOnUse in interface org.bukkit.entity.AreaEffectCloudpublic float getRadius()
getRadius in interface org.bukkit.entity.AreaEffectCloudpublic void setRadius(float radius)
setRadius in interface org.bukkit.entity.AreaEffectCloudpublic float getRadiusOnUse()
getRadiusOnUse in interface org.bukkit.entity.AreaEffectCloudpublic void setRadiusOnUse(float radiusOnUse)
setRadiusOnUse in interface org.bukkit.entity.AreaEffectCloudpublic float getRadiusPerTick()
getRadiusPerTick in interface org.bukkit.entity.AreaEffectCloudpublic void setRadiusPerTick(float radiusPerTick)
setRadiusPerTick in interface org.bukkit.entity.AreaEffectCloudpublic org.bukkit.Particle getParticle()
getParticle in interface org.bukkit.entity.AreaEffectCloudpublic void setParticle(org.bukkit.Particle particle)
setParticle in interface org.bukkit.entity.AreaEffectCloudpublic org.bukkit.potion.PotionData getBasePotionData()
getBasePotionData in interface org.bukkit.entity.AreaEffectCloudgetBasePotionData in interface org.bukkit.potion.PotionDataHolderpublic void setBasePotionData(org.bukkit.potion.PotionData basePotionData)
setBasePotionData in interface org.bukkit.entity.AreaEffectCloudsetBasePotionData in interface org.bukkit.potion.PotionDataHolderpublic org.bukkit.projectiles.ProjectileSource getSource()
getSource in interface org.bukkit.entity.AreaEffectCloudpublic void setSource(org.bukkit.projectiles.ProjectileSource source)
setSource in interface org.bukkit.entity.AreaEffectCloudpublic org.bukkit.Color getColor()
getColor in interface org.bukkit.entity.AreaEffectCloudgetColor in interface org.bukkit.potion.PotionDataHolderpublic void setColor(org.bukkit.Color color)
setColor in interface org.bukkit.entity.AreaEffectCloudsetColor in interface org.bukkit.potion.PotionDataHolderCopyright © 2021. All rights reserved.