Skip to content

afoxxvi/AsteorEffects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4d5b8ac · Dec 13, 2024

History

5 Commits
Dec 13, 2024
May 23, 2024
Dec 13, 2024
May 23, 2024
May 23, 2024
May 23, 2024
Dec 13, 2024
May 23, 2024
May 23, 2024
May 23, 2024
May 23, 2024

Repository files navigation

AsteorEffects

A particle lib for Paper servers.

Usage

All features are contained in AsteorEffect.kt, copy it into your project.

//Obtain an effect object
val effect = AsteorEffect.create(Particle.REDSTONE, location)

//Set properties
effect.count(10).offset(1.0).dustPotions(Color.AQUA)

//Show
effect.drawCircle(3.0, 24)

//Inline
AsteorEffect.create(Particle.REDSTONE, location).count(10).offset(1.0).dustOptions(Color.AQUA).drawCircle(3.0, 24)

Current effect patterns(static)

  • single
  • circle
  • line
  • polygon
  • star
  • sphere
  • vortex
  • triangle
  • parallelogram

Use in java plugins

  1. Convert AsteorEffect.kt to .java file
  2. Replace some math functions with Java Math functions.
  3. Put the result file in Java project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages