Package wbs.utils.util.particles
Class SphereParticleEffect
java.lang.Object
wbs.utils.util.particles.WbsParticleEffect
wbs.utils.util.particles.VelocityParticleEffect
wbs.utils.util.particles.CircleParticleEffect
wbs.utils.util.particles.SphereParticleEffect
A particle effect that creates a Fibonacci sphere
-
Nested Class Summary
Nested classes/interfaces inherited from class wbs.utils.util.particles.WbsParticleEffect
WbsParticleEffect.WbsParticleType -
Field Summary
Fields inherited from class wbs.utils.util.particles.CircleParticleEffect
about, radius, rotationFields inherited from class wbs.utils.util.particles.VelocityParticleEffect
direction, relative, speed, variation -
Constructor Summary
ConstructorsConstructorDescriptionSphereParticleEffect(org.bukkit.configuration.ConfigurationSection section, WbsSettings settings, String directory) Create this effect from a ConfigurationSection, logging errors in the given settings -
Method Summary
Methods inherited from class wbs.utils.util.particles.CircleParticleEffect
cloneInto, getAbout, getAboutProvider, getRadius, getRadiusProvider, getRotation, getRotationProvider, refreshProviders, setAbout, setAbout, setRadius, setRadius, setRotation, setRotation, writeToConfigMethods inherited from class wbs.utils.util.particles.VelocityParticleEffect
cloneInto, getDirection, getDirectionProvider, getRelative, getSpeed, getSpeedProvider, getVariation, getVariationProvider, play, play, setDirection, setDirection, setRelative, setSpeed, setSpeed, setVariation, setVariationMethods inherited from class wbs.utils.util.particles.WbsParticleEffect
buildAndPlay, buildParticleEffect, cloneInto, filterChances, getAmount, getAmountProvider, getForce, getLocations, rand, scaleVector, setAmount, setAmount, setChance, setForce, setOptions, setPlugin
-
Constructor Details
-
SphereParticleEffect
public SphereParticleEffect() -
SphereParticleEffect
public SphereParticleEffect(org.bukkit.configuration.ConfigurationSection section, WbsSettings settings, String directory) Create this effect from a ConfigurationSection, logging errors in the given settings- Parameters:
section- The section where this effect is definedsettings- The settings to log errors againstdirectory- The path taken through the config to get to this point, for logging purposes
-
-
Method Details
-
build
Description copied from class:WbsParticleEffectGenerate the particle set based on current settings. Call this before the first time it is run, or call buildAndRun each time to run based on current settings.- Specified by:
buildin classWbsParticleEffect- Returns:
- The same object.
-
clone
- Specified by:
clonein classWbsParticleEffect
-