Class ParticleStyleHalo
java.lang.Object
dev.esophose.playerparticles.styles.DefaultParticleStyle
dev.esophose.playerparticles.styles.ParticleStyleHalo
- All Implemented Interfaces:
ParticleStyle
public class ParticleStyleHalo extends DefaultParticleStyle
-
Field Summary
Fields inherited from class dev.esophose.playerparticles.styles.DefaultParticleStyle
playerParticles -
Constructor Summary
Constructors Modifier Constructor Description protectedParticleStyleHalo() -
Method Summary
Modifier and Type Method Description protected java.util.List<java.lang.String>getGuiIconMaterialNames()java.util.List<PParticle>getParticles(ParticlePair particle, org.bukkit.Location location)Gets all the particles to display based on the style's logicprotected voidloadSettings(CommentedFileConfiguration config)Loads the settings for this styleprotected voidsetDefaultSettings(CommentedFileConfiguration config)Sets the default settings for this stylevoidupdateTimers()Used to update timers for animations, called once per particle tickMethods inherited from class dev.esophose.playerparticles.styles.DefaultParticleStyle
canBeFixed, canToggleWithCombat, canToggleWithMovement, getFixedEffectOffset, getGuiIconMaterial, getInternalName, getName, isEnabled, loadSettings, setIfNotExistsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.esophose.playerparticles.styles.ParticleStyle
getParticles, hasLongRangeVisibility
-
Constructor Details
-
ParticleStyleHalo
protected ParticleStyleHalo()
-
-
Method Details
-
getParticles
Description copied from interface:ParticleStyleGets all the particles to display based on the style's logic- Parameters:
particle- The ParticlePair that contains the particle's datalocation- The central location of the particles- Returns:
- A List of PParticles to spawn
-
updateTimers
public void updateTimers()Description copied from interface:ParticleStyleUsed to update timers for animations, called once per particle tick -
getGuiIconMaterialNames
protected java.util.List<java.lang.String> getGuiIconMaterialNames()- Specified by:
getGuiIconMaterialNamesin classDefaultParticleStyle- Returns:
- A list of Strings to try to turn into Materials
-
setDefaultSettings
Description copied from class:DefaultParticleStyleSets the default settings for this style- Specified by:
setDefaultSettingsin classDefaultParticleStyle- Parameters:
config- The config to save to
-
loadSettings
Description copied from class:DefaultParticleStyleLoads the settings for this style- Specified by:
loadSettingsin classDefaultParticleStyle- Parameters:
config- The config to load from
-