mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-07-04 04:51:26 +00:00
Added 1.16 particles, added getVersion() to API
This commit is contained in:
parent
135bdb1065
commit
79abe31fd2
4 changed files with 23 additions and 3 deletions
|
@ -1,11 +1,9 @@
|
|||
package dev.esophose.playerparticles.api;
|
||||
|
||||
import dev.esophose.playerparticles.PlayerParticles;
|
||||
import dev.esophose.playerparticles.event.ParticleStyleRegistrationEvent;
|
||||
import dev.esophose.playerparticles.manager.DataManager;
|
||||
import dev.esophose.playerparticles.manager.GuiManager;
|
||||
import dev.esophose.playerparticles.manager.ParticleManager;
|
||||
import dev.esophose.playerparticles.manager.ParticleStyleManager;
|
||||
import dev.esophose.playerparticles.particles.ConsolePPlayer;
|
||||
import dev.esophose.playerparticles.particles.FixedParticleEffect;
|
||||
import dev.esophose.playerparticles.particles.PPlayer;
|
||||
|
@ -54,12 +52,21 @@ public final class PlayerParticlesAPI {
|
|||
/**
|
||||
* @return the instance of the PlayerParticlesAPI
|
||||
*/
|
||||
@NotNull
|
||||
public static PlayerParticlesAPI getInstance() {
|
||||
if (INSTANCE == null)
|
||||
INSTANCE = new PlayerParticlesAPI();
|
||||
return INSTANCE;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the currently installed version of the plugin
|
||||
*/
|
||||
@NotNull
|
||||
public String getVersion() {
|
||||
return this.playerParticles.getDescription().getVersion();
|
||||
}
|
||||
|
||||
//region Get PPlayer
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue