13
0
geforkt von Mirrors/Paper

Add Mob Experience reward API

Dieser Commit ist enthalten in:
GodOfPro 2023-04-11 16:30:58 +04:30
Ursprung 26780d3ac6
Commit 07ec5a58a4

Datei anzeigen

@ -220,4 +220,13 @@ public interface Mob extends LivingEntity, Lootable {
*/
public void setLeftHanded(boolean leftHanded);
// Paper end - left-handed API
// Paper start - mob xp reward API
/**
* Gets the amount of experience the mob will possibly drop. This value is randomized and it can give different results
*
* @return the amount of experience the mob will possibly drop
*/
public int getPossibleExperienceReward();
// Paper end - mob xp reward API
}