Skip to content

Mervey7/ParticleEffects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ParticleEffects

ParticleEffects is a library for particle effects.

Dependencies

  • ProtocolLib

Usage

  • ParticleProtocol102.play(ParticleType type, Location location, boolean longDistance, float speed, int amount, float offsetX, float offsetY, float offsetZ, double range)
  • ParticleProtocol102.play(ParticleType type, Location location, boolean longDistance, float speed, int amount, float offsetX, float offsetY, float offsetZ, Player... players)
  • ParticleProtocol102.play(ParticleType type, Location location, boolean longDistance, float speed, int amount, float offsetX, float offsetY, float offsetZ, List<Player> players)

Example

@EventHandler
public void onPlayerJoin(PlayerJoinEvent event) {
    Player player = event.getPlayer();
  
    ParticleProtocol102.play(ParticleType.SMOKE, player.getLocation(), true, 0.3f, 5, 0.0f, 0.0f, 0.0f, 100);
}

About

ParticleEffects is a library for particle effects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages