mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-05 15:11:28 +01:00
Add Mob Experience reward API
This commit is contained in:
parent
26780d3ac6
commit
07ec5a58a4
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user