geforkt von Mirrors/Paper
Add Mob Experience reward API
Dieser Commit ist enthalten in:
Ursprung
26780d3ac6
Commit
07ec5a58a4
@ -220,4 +220,13 @@ public interface Mob extends LivingEntity, Lootable {
|
|||||||
*/
|
*/
|
||||||
public void setLeftHanded(boolean leftHanded);
|
public void setLeftHanded(boolean leftHanded);
|
||||||
// Paper end - left-handed API
|
// 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
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren