setExperience

public void setExperience(int exp)

This method sets the amount of experience to be created.

The number indicates getClassById total amount to be divided into orbs.

Parameters

exp

the total amount of experience to be created