✳️Cosmetics Manager

This class manages cosmetics.

How to register comsetic?

getCosmeticsManager().addCosmetic(new MyCosmetic());

How to register more than one cosmetics?

getCosmeticsManager().addCosmetics(new MyCosmetic(), new MyParticleCosmetic());

How to unregister cosmetic?

getCosmeticsManager().removeCosmetic(new MyCosmetic());

Other methods:

Optional<Cosmetic> getCosmeticByName(String name); //Gets cosmetics by name
List<Cosmetic> getCosmetics(); //Gets list of cosmetics

Last updated