📀Cosmetic

Cosmetic must be registered in the main class.

The cosmetic has two methods: getName and show.

It is recommended name: (CATEGORY_NAME_COSMETIC_NAME) e.g. HIT_HEART

How to create your cosmetics?

public class MyCosmetic implements Cosmetic {

 @Override
 public String getName() {
    return "MY_COSEMTIC_NAME"
 }
 
 @Override
 public void show(Player player) {
    //your logic 
 }

}

Last updated